Skip to content
This repository has been archived by the owner. It is now read-only.

[dev.icinga.com #5107] Login doesn't work #1245

Closed
icinga-migration opened this issue Nov 20, 2013 · 4 comments
Closed

[dev.icinga.com #5107] Login doesn't work #1245

icinga-migration opened this issue Nov 20, 2013 · 4 comments
Labels
bug
Milestone

Comments

@icinga-migration
Copy link
Member

@icinga-migration icinga-migration commented Nov 20, 2013

This issue has been migrated from Redmine: https://dev.icinga.com/issues/5107

Created by gbeutner on 2013-11-20 08:00:43 +00:00

Assignee: mhein
Status: Resolved (closed on 2013-11-20 09:31:10 +00:00)
Target Version: 1.11
Last Update: 2013-12-09 15:33:26 +00:00 (in Redmine)

Icinga Version: 0.0.4
Icinga Web Version: 1.11.0~dev
IDO Version: 1.10.0
OS Version: SLES 11 SP3
DB Type: MySQL
DB Version: 1.10.1
Browser Version: Chrome

Steps to reproduce:

  1. Log out or delete cookies.
  1. Try to log in.

Attachments

Changesets

2013-11-20 09:28:47 +00:00 by mhein 7d1a486

Fix that you can not login

Change spec file for apache rights on tmp directory and test
that a user is logged in before start refresh task on a
secured url action.

fixes #5107

Relations:

@icinga-migration
Copy link
Member Author

@icinga-migration icinga-migration commented Nov 20, 2013

Updated by gbeutner on 2013-11-20 08:22:12 +00:00

Also, after reverting the JavaScript change I'm getting:

Uncaught AppKitPHPError thrown:
PHP Error file_put_contents(/usr/share/icinga-web/app/data/tmp/cache_statussummary_root_fea43fd4c27f7890aa4bc94310b37e1c890cae1e.json): failed to open stream: Permission denied (/usr/share/icinga-web/app/modules/Cronks/lib/model/CronksUserCacheDataModel.class.php:87)
Stacktrace:

#0 [internal function]: AppKitExceptionHandler::exceptionOnError(2, 'file_put_conten...', '/usr/share/icin...', 87, Array)
#1 /usr/share/icinga-web/app/modules/Cronks/lib/model/CronksUserCacheDataModel.class.php(87): file_put_contents('/usr/share/icin...', '[[{"state":0,"s...')
#2 /usr/share/icinga-web/app/modules/Cronks/models/Provider/StatusSummaryModel.class.php(252): CronksUserCacheDataModel->writeData(Array)
#3 /usr/share/icinga-web/app/modules/Cronks/views/System/StatusOverallSuccessView.class.php(33): Cronks_Provider_StatusSummaryModel->getJson()
#4 /var/cache/icinga-web/config/compile.xml_production__d41bc4e7416d79a2859fb497054ab4f5308e2df1.php(1672): Cronks_System_StatusOverallSuccessView->executeJson(Object(AgaviWebRequestDataHolder))
#5 /var/cache/icinga-web/config/compile.xml_production__d41bc4e7416d79a2859fb497054ab4f5308e2df1.php(1533): AgaviExecutionFilter->executeView(Object(AgaviExecutionContainer))
#6 /var/cache/icinga-web/config/compile.xml_production__d41bc4e7416d79a2859fb497054ab4f5308e2df1.php(1255): AgaviExecutionFilter->execute(Object(AgaviFilterChain), Object(AgaviExecutionContainer))
#7 /var/cache/icinga-web/config/compile.xml_production__d41bc4e7416d79a2859fb497054ab4f5308e2df1.php(1700): AgaviFilter->executeOnce(Object(AgaviFilterChain), Object(AgaviExecutionContainer))
#8 /usr/share/icinga-web/lib/agavi/src/filter/AgaviSecurityFilter.class.php(73): AgaviFilterChain->execute(Object(AgaviExecutionContainer))
#9 /var/cache/icinga-web/config/compile.xml_production__d41bc4e7416d79a2859fb497054ab4f5308e2df1.php(1255): AgaviSecurityFilter->execute(Object(AgaviFilterChain), Object(AgaviExecutionContainer))
#10 /var/cache/icinga-web/config/compile.xml_production__d41bc4e7416d79a2859fb497054ab4f5308e2df1.php(1700): AgaviFilter->executeOnce(Object(AgaviFilterChain), Object(AgaviExecutionContainer))
#11 /var/cache/icinga-web/config/compile.xml_production__d41bc4e7416d79a2859fb497054ab4f5308e2df1.php(870): AgaviFilterChain->execute(Object(AgaviExecutionContainer))
#12 /var/cache/icinga-web/config/compile.xml_production__d41bc4e7416d79a2859fb497054ab4f5308e2df1.php(1266): AgaviExecutionContainer->execute()
#13 /var/cache/icinga-web/config/compile.xml_production__d41bc4e7416d79a2859fb497054ab4f5308e2df1.php(1255): AgaviDispatchFilter->execute(Object(AgaviFilterChain), Object(AgaviExecutionContainer))
#14 /var/cache/icinga-web/config/compile.xml_production__d41bc4e7416d79a2859fb497054ab4f5308e2df1.php(1700): AgaviFilter->executeOnce(Object(AgaviFilterChain), Object(AgaviExecutionContainer))
#15 /usr/share/icinga-web/lib/agavi/src/filter/AgaviFormPopulationFilter.class.php(78): AgaviFilterChain->execute(Object(AgaviExecutionContainer))
#16 /var/cache/icinga-web/config/compile.xml_production__d41bc4e7416d79a2859fb497054ab4f5308e2df1.php(1700): AgaviFormPopulationFilter->executeOnce(Object(AgaviFilterChain), Object(AgaviExecutionContainer))
#17 /var/cache/icinga-web/config/compile.xml_production__d41bc4e7416d79a2859fb497054ab4f5308e2df1.php(579): AgaviFilterChain->execute(Object(AgaviExecutionContainer))
#18 /usr/share/icinga-web/pub/index.php(49): AgaviController->dispatch()
#19 {main}
The RPM packages apparently don't set the proper owner/group for the tmp directory.
@icinga-migration
Copy link
Member Author

@icinga-migration icinga-migration commented Nov 20, 2013

Updated by mhein on 2013-11-20 09:17:42 +00:00

  • Status changed from New to Assigned
@icinga-migration
Copy link
Member Author

@icinga-migration icinga-migration commented Nov 20, 2013

Updated by mhein on 2013-11-20 09:31:10 +00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 0 to 100

Applied in changeset 7d1a486.

@icinga-migration
Copy link
Member Author

@icinga-migration icinga-migration commented Dec 9, 2013

Updated by mfrosch on 2013-12-09 15:33:26 +00:00

  • Target Version set to 1.11
  • Icinga Web Version changed from 1 to 1

Clarification: related to cache changes in #5098

@icinga-migration icinga-migration added this to the 1.11 milestone Jan 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.