-
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
Conflicting configuration warnings on admin page #15832
Comments
Hi, isn't it so that APCu was disabled because of the old version and then the second message appears because there is no other memory cache configured? |
I was thinking: why are we checking the APCu version if it's not even configured? |
Well - the list of warnings might cause confusion - but technically speaking they are correct.
|
I agree that they are technically correct. I am just questioning if we should be displaying 1 if no memcache is configured. If we're ok with this, then we can close this issue. |
well removing either of these messages can result in confusion as well. But this is more a UX/tech writer topic @jancborchardt @carlaschroder THX |
It seems like yeah, if no memory cache is configured, then we don’t need the APCu message. |
well and then you turn APCu on -> what shall happen? APCu is broken and you have still no mem cache |
Then I should get a message saying that APCu is the wrong version. My issue is we're checking something that isn't yet configured and providing an error to the user on that. We should only be checking it if it's configured. For instance, when I configured the memcache to XCache, I do not get the APCu error (as expected). If you're saying that we should check it regardless of if memcache is configured in config.php then I would have expected the same warning when XCache was configured. |
Yup, as @jnfrmarks said. Ideally the APCu warning should also mention that it’s for caching. |
well - let's add a documentation link to it just like we did with the "no mem cache" warning |
OPCache replaces APC in PHP 5.5, and is included so you don't have to install it separately. http://php.net/manual/en/opcache.installation.php I think this may be more than a documentation issue. |
Not exactly as also written here: owncloud-archive/documentation#1056 (comment)
So OPCache only replaces one part of APC and APCu is still needed if OPCache is installed. But i still think the problem described here is because the old/unsupported APCu version got disabled by ownCloud and then the second message also appears because no other cache is installed. To fix this you need either:
|
See how y'all like this one owncloud-archive/documentation#1099 |
Doc looks ok to me. Can we close this one? @carlaschroder @jancborchardt @DeepDiver1975 |
Steps to reproduce
Expected behaviour
The only message about cacheing should be that it's not configured
Actual behaviour
I see messages about the APCu version and that cacheing is not configured. I'm thinking that we shouldn't be checking the version if it's not configured.
Server configuration
Ubuntu 14.04
PHP 5.5.9
ownCloud Enterprise Edition 8.1 alpha 2 (testing)
The text was updated successfully, but these errors were encountered: