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
OPcache not properly configured out-of-the-box according to the "occ setupcheck" #4616
Comments
I am experiencing the exact same issue after updating Nextcloud from 28.0.5 to 29.0.0 |
I restored a backup after manually updating to Nextcloud 29, but this still happens on Nextcloud 28. |
What did you restore from backup? I am performing a restore right now of both the database volume and the app/data volume |
I had a full backup, which should include all containers. |
I checked. It does include containers, as my Nextcloud is back on version 28. It should include everything related to Nextcloud AIO, including user data. |
I'm on the same boat apparently
|
It seems that this was present before Nextcloud 29 (or Hub 8): after logging in on another server of mine which is running Nextcloud 28.0.4 I can see the exact same error of your first comment; however, in this case the opcache error is not shown from the admin web interface but only from running the setupchecks from CLI, so I did not notice it until in Nextcloud 29 it was signaled over there. |
Yes. In Nextcloud 28 you need to run the setupcheck, which shows the error. |
Hi, can you please open an issue about this here? |
I figured it could be an issue with the default configuration AIO provides. Could also not be the case. |
No, I think the check does not take into account that the web server might be using different php.ini files than the cli... |
Steps to reproduce
This may only work on out-of-the-box setups without direct manual modifications to configuration files.
docker exec --user www-data nextcloud-aio-nextcloud php occ setupcheck
(running with sudo may be required)Expected behavior
All setupchecks should be successfull and opcache should be properly configured out-of-the-box.
Actual behavior
The setupcheck tells that the opcache is not properly configured.
Host OS
Ubuntu Server 20.04 with Docker-CE
Nextcloud AIO version
v8.2.1
Current channel
latest
Other valuable info
The section of the
setupcheck
command's output telling about the improper OPcache configuration:The text was updated successfully, but these errors were encountered: