View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
11756 | Feature requests | ComfortUpdate | public | 2016-10-07 10:21 | 2017-09-22 11:10 |
Reporter | tammo | Assigned To | |||
Priority | none | Severity | feature | ||
Status | closed | Resolution | fixed | ||
Summary | 11756: Comfortupdate: cannot update, but files to resolve window is blank | ||||
Description | My update halts because there are files that need to have other access rights, but the files to change window is empty. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 8 | ||||
Story point estimate | |||||
Users affected % | |||||
SELinux ? |
|
Is that a feature request? I cannot see any OS info. Which OS is used? |
|
Bug report, but changing that is impossible for me. Centos 6.8 Problem still there, even after changing everything to 777 (for testing) Cannot investigate further now, have to leave. Will pick up Monday. |
|
centOS 6.8 has a very old version of PHP and MySQL if I'm not wrong. Are you using SELinux on this centOS ? |
|
Solved by changing the PHP from PHP 5.5.38 mod_php (running as user apache) to PHP 5.6.26 as mod_fcgid (running as the user). The update succeeds (uses a key), but Limesurvey still reports there is a security update available. We are using Directadmin to administer the server. |
|
@JanE: Did you had an empty directory list when the installer complained about permissions? A empty list is an indication that no real permission/owner issue exist, but the filesystem access is blocked by a security layer e.g. SELinux under CentOS. You didn't stated your OS. |
|
@JanE: Yep, but quiet an old solution indeed. "When executing PHP scripts with FastCGI each request is passed from the web server to FastCGI via a communication socket. [...] However a similar end result can also be achieved using nginx in front of Apache [...] so this point alone doesn’t determine the ideal choice for a given scenario." http://blog.layershift.com/which-php-mode-apache-vs-cgi-vs-fastcgi/ can I close the bug report? |
|
@jelo: I am Tammo's business partner, so you can find the empty directory list in his screenshot. The update was blocked because PHP 5.5.38 was running as the 'apache' user which had only read permissions. |
|
With respect to nginx: if a system ain't broken, don't fix it. Apache with PHP as mod_fcgid runs fine (also on Windows). |
|
Apache on Windows? I close this bug report before I start trolling ^^ Normally, if apache user doesn't have write permissions for some files, comfortUpdate should still tell it to you. If it doesn't, it's probably related to that: |
|
BTW: http://blog.layershift.com/which-php-mode-apache-vs-cgi-vs-fastcgi/ seems to be talking about mod_fastcgi which is something different than mod_fcgid. The Directadmin option 'fastcgi' is confusing, because it really uses mod_fcgid. |
|
FYI: there is nothing wrong with Apache and PHP on Windows (anymore). The release manager of PHP 7.0 was a Microsoft employee... |
|
JanE: Windows alone without Apache is enough to be wrong :-p Did you check your safe-mode-gid parameter? |
|
safe-mode-gid? Under which stone have you've been hiding the last couple of years? http://php.net/manual/en/ini.sect.safe-mode.php |
|
ooops PHP 5.4 ^^ Just trying to understand why in your server configuration is_writable returns a wrong value (not taking in account the group permission ) |
|
What I happened to see when fixing was that some files had been created by the wrong PHP with the wrong user:group. tmp/comfort_updater_cookie.txt was apache:apache and could not be removed and/or written. |
|
ok, thank you for the feedback |
|
Please close. Issue is resolved, due to intense conversation between two developers. ;-) |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2016-10-07 10:21 | tammo | New Issue | |
2016-10-07 10:21 | tammo | Status | new => assigned |
2016-10-07 10:21 | tammo | Assigned To | => LouisGac |
2016-10-07 10:21 | tammo | File Added: FireShot Screen Capture #031 - 'Gewoon Goed Werk-meter (FNV)' - vragen_gewoongoedwerkmeter_nl_index_php_admin_update.png | |
2016-10-07 10:21 | tammo | Issue Monitored: tammo | |
2016-10-07 10:22 | tammo | File Added: FireShot Screen Capture #032 - 'Gewoon Goed Werk-meter (FNV)' - vragen_gewoongoedwerkmeter_nl_index_php_admin_update.png | |
2016-10-07 10:35 |
|
Note Added: 41171 | |
2016-10-07 10:59 | jelo | Note Added: 41172 | |
2016-10-07 11:22 | tammo | Note Added: 41173 | |
2016-10-07 11:24 |
|
Note Added: 41174 | |
2016-10-07 12:45 | JanE | Note Added: 41175 | |
2016-10-07 12:55 |
|
Note Edited: 41174 | |
2016-10-07 12:57 | jelo | Note Added: 41176 | |
2016-10-07 13:04 |
|
Note Added: 41177 | |
2016-10-07 13:05 |
|
Note Edited: 41177 | |
2016-10-07 13:05 | JanE | Note Added: 41178 | |
2016-10-07 13:13 | JanE | Note Added: 41179 | |
2016-10-07 13:21 |
|
Note Added: 41180 | |
2016-10-07 13:21 |
|
Note Edited: 41180 | |
2016-10-07 13:23 |
|
Note Edited: 41180 | |
2016-10-07 13:23 | JanE | Note Added: 41181 | |
2016-10-07 13:30 | JanE | Note Added: 41182 | |
2016-10-07 13:39 |
|
Note Added: 41184 | |
2016-10-07 13:47 |
|
Note Edited: 41184 | |
2016-10-07 13:52 | JanE | Note Added: 41186 | |
2016-10-07 13:58 |
|
Note Added: 41187 | |
2016-10-07 14:14 | JanE | Note Added: 41188 | |
2016-10-07 14:16 |
|
Note Added: 41190 | |
2016-11-01 10:16 | tammo | Issue End Monitor: tammo | |
2016-11-07 12:41 | tammo | Note Added: 41749 | |
2016-11-14 10:54 |
|
Status | assigned => resolved |
2016-11-14 10:54 |
|
Resolution | open => fixed |
2017-09-22 11:10 | c_schmitz | Status | resolved => closed |
2017-09-22 11:10 | c_schmitz | Fixed in Version | => 2.x.x |