-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server status shows file locking disabled even though it's enabled in config.php #16696
Comments
Of course, this could be because I didn't configure things correctly :) |
cc @icewind1991 |
Ah cool, I didn't know this was already implemented |
Getting the same issue... it seems locking doesn't enable like it did when I tested. Debugging now |
@jnfrmarks I think I forgot to tell you that you also need to enable the PHP redis module: After enabling that module and restarting Apache, the status page now tells me that locking is enabled. |
Pinged @carlaschroder here about adding this detail owncloud-archive/documentation#1182 (comment) |
Reopening: there is actually another issue: if the PHP module is enabled but "memcache.locking" is not set, it will still show "enabled" which is wrong. |
We should change this display to only show "enabled" when all of them apply:
|
Can we also add some type of warning if some but not all are set? Do we want to also check that the redis extension has been enabled in PHP? |
Yeah, makes sense.
|
|
I need some more help. I added the extension to my php.ini file in /etc/php5/apache2/php.ini and restarted apache. I'm getting this error in the server log file:
My redis version is 2.8.4 |
A little more googling led me to the path that I need to install the php redis module. |
@jnfrmarks on a decent debain based system there should be no need to manually enable the redis extension in the php.ini |
I have a slightly different view on this: We shall display that file locking is enabled only if it really is enabled. |
If as discussed in #16809 we agree on failing hard if filelocking cannot be enabled due to missing settings, then we can also get rid of the "server status" section in the admin page. |
PR here for failing hard: #16832 |
Steps to reproduce
Expected behaviour
Server status on admin page shows that Experimental file lock is enabled
Actual behaviour
Server status on admin page shows that Experimental file lock is NOT enabled
Scrubbed config.php:
Server 1 Host info:
Ubuntu 14.04
PHP 5.5.9
Server configuration:
ownCloud Enterprise Edition 8.1 beta 2 (daily) Build:2015-06-02T03:08:51+00:00 1acdef5
The text was updated successfully, but these errors were encountered: