The Basics
- Nextcloud Server version (e.g., 29.x.x):
This Nextcloud is on version 30.0.4
- Operating system and version (e.g., Ubuntu 24.04):
Debian GNU/Linux 12 (bookworm)
- Web server and version (e.g, Apache 2.4.25):
replace me
- Reverse proxy and version _(e.g. nginx 1.27.2)
Apache/2.4.62 (Debian)
- PHP version (e.g, 8.3):
PHP 8.3.22
- Is this the first time you’ve seen this error? (Yes / No):
Yes
- When did this problem seem to first start?
Unsure - first noticed today
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
Bare metal
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
No
Summary of the issue you are facing:
I am seeing the following errors in the administration dashboard:
There are some errors regarding your setup.
The PHP memory limit is below the recommended value of 512 MB.
The PHP OPcache module is not properly configured. The OPcache interned strings buffer is nearly full. To assure that repeating strings can be effectively cached, it is recommended to apply "opcache.interned_strings_buffer" to your PHP configuration with a value higher than "8".. For more details see the documentation ↗.
This instance is missing some recommended PHP modules. For improved performance and better compatibility it is highly recommended to install them: - intl increases language translation performance and fixes sorting of non-ASCII characters For more details see the documentation ↗.
Steps to replicate it (hint: details matter!):
Unsure - I log in using an administration account, and go to administration.
Log entries
Nextcloud
Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log
located in your data directory). Feel free to use a pastebin/gist service if necessary.
Going to the logging screen, I see this:
No older log entries available
If I do a ‘tail /var/opt/data/nextcloud.log’ I get nothing as well:
root@wmssfs00:~# tail /var/opt/data/nextcloud.log
root@wmssfs00:~#
Web Browser
If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.
Not Applicable
Web server / Reverse Proxy
The output of your Apache/nginx/system log in /var/log/____
:
Only 2 of the Apache2 logs have entries from today:
error.log
root@wmssfs00:/var/log/apache2# tail error.log
[Fri Jun 13 19:29:44.256022 2025] [proxy_fcgi:error] [pid 550801:tid 550801] [client 71.251.151.25:59208] AH01079: failed to make connection to backend: localhost
[Fri Jun 13 19:30:27.721540 2025] [mpm_prefork:notice] [pid 3337396:tid 3337396] AH00170: caught SIGWINCH, shutting down gracefully
[Fri Jun 13 19:30:27.899686 2025] [mpm_prefork:notice] [pid 569617:tid 569617] AH00163: Apache/2.4.62 (Debian) OpenSSL/3.0.16 configured -- resuming normal operations
[Fri Jun 13 19:30:27.899753 2025] [core:notice] [pid 569617:tid 569617] AH00094: Command line: '/usr/sbin/apache2'
[Fri Jun 13 19:35:37.857282 2025] [mpm_prefork:notice] [pid 569617:tid 569617] AH00170: caught SIGWINCH, shutting down gracefully
[Fri Jun 13 19:35:38.042742 2025] [mpm_prefork:notice] [pid 570553:tid 570553] AH00163: Apache/2.4.62 (Debian) OpenSSL/3.0.16 configured -- resuming normal operations
[Fri Jun 13 19:35:38.042826 2025] [core:notice] [pid 570553:tid 570553] AH00094: Command line: '/usr/sbin/apache2'
[Fri Jun 13 20:16:37.554036 2025] [mpm_prefork:notice] [pid 570553:tid 570553] AH00170: caught SIGWINCH, shutting down gracefully
[Fri Jun 13 20:16:37.731238 2025] [mpm_prefork:notice] [pid 577831:tid 577831] AH00163: Apache/2.4.62 (Debian) OpenSSL/3.0.16 configured -- resuming normal operations
[Fri Jun 13 20:16:37.731302 2025] [core:notice] [pid 577831:tid 577831] AH00094: Command line: '/usr/sbin/apache2'
root@wmssfs00:/var/log/apache2#
The messages here are from when I restarted apache2 to ensure there wasn’t something amiss there. One of those was following a change to the .htaccess file to add the php memory limit there - which had no effect. I also opened for editing, checked, and saved the php.ini files (no changes - they were already set to the values provided further down in this message), and reloaded apache (systemctl restart apache2
)
The other log with a current timestamp was the other_vhosts_access.log
, which does not include anything other than the accesses from clients (I did look, but none of the timestamps matched).
Configuration
Nextcloud
The output of occ config:list system
or similar is best, but, if not possible, the contents of your config.php
file from /path/to/nextcloud
is fine (make sure to remove any identifiable information!):
root@wmssfs00:/var/www/nextcloud# sudo -u www-data /var/www/nextcloud/occ config:list system
{
"system": {
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"localhost",
"<redacted>",
"<redacted>",
"<redacted>",
"<redacted>"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"enable-previews": false,
"dbtype": "mysql",
"version": "30.0.4.1",
"overwrite.cli.url": "http:\/\/localhost",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"maintenance_window_start": 1,
"maintenance": false,
"default_phone_region": "US",
"knowledgebaseenabled": true,
"session_lifetime": 86400,
"session_keepalive": true,
"auth.bruteforce.protection.enabled": true,
"auth.bruteforce.protection.force.database": false,
"auth.bruteforce.protection.testing": false,
"auth.bruteforce.max-attempts": 10,
"ratelimit.protection.enabled": true,
"trashbin_retention_obligation": "auto, 15",
"versions_retention_obligation": "auto, 15",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 6379,
"timeout": 0
},
"memcache.local": "\\OC\\Memcache\\APCu",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_smtpauthtype": "LOGIN",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "465",
"mail_sendmailmode": "smtp",
"app_install_overwrite": [
"admin_notifications"
],
"mail_smtpauth": 1,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"mail_smtpsecure": "ssl"
}
}
root@wmssfs00:/var/www/nextcloud#
Apps
The output of occ app:list
(if possible).
root@wmssfs00:/var/www/nextcloud# sudo -u www-data /var/www/nextcloud/occ app:list
Enabled:
- activity: 3.0.0
- admin_notifications: 1.0.2
- app_api: 4.0.3
- bruteforcesettings: 3.0.0
- calendar: 5.3.2
- cloud_federation_api: 1.13.0
- comments: 1.20.1
- contacts: 7.1.3
- contactsinteraction: 1.11.0
- dav: 1.31.1
- external: 5.5.2
- federatedfilesharing: 1.20.0
- federation: 1.20.0
- files: 2.2.0
- files_downloadlimit: 3.0.0
- files_pdfviewer: 3.0.0
- files_reminders: 1.3.0
- files_sharing: 1.22.0
- files_trashbin: 1.20.1
- files_versions: 1.23.0
- firstrunwizard: 3.0.0
- group_everyone: 0.1.17
- impersonate: 1.17.1
- logreader: 3.0.0
- lookup_server_connector: 1.18.0
- nextcloud_announcements: 2.0.0
- notifications: 3.0.0
- oauth2: 1.18.1
- password_policy: 2.0.0
- photos: 3.0.2
- privacy: 2.0.0
- provisioning_api: 1.20.0
- recommendations: 3.0.0
- related_resources: 1.5.0
- serverinfo: 2.0.0
- settings: 1.13.0
- sharebymail: 1.20.0
- support: 2.0.0
- survey_client: 2.0.0
- systemtags: 1.20.0
- text: 4.1.0
- theming: 2.5.0
- twofactor_backupcodes: 1.19.0
- updatenotification: 1.20.0
- user_status: 1.10.0
- viewer: 3.0.0
- weather_status: 1.10.0
- webhook_listeners: 1.1.0-dev
- workflowengine: 2.12.0
Disabled:
- admin_audit: 1.20.0
- circles: 30.0.0 (installed 30.0.0)
- dashboard: 7.10.0 (installed 7.10.0)
- encryption: 2.18.0
- files_external: 1.22.0
- suspicious_login: 8.0.0
- twofactor_nextcloud_notification: 4.0.0
- twofactor_totp: 12.0.0-dev
- user_ldap: 1.21.0
root@wmssfs00:/var/www/nextcloud#
With the two errors I received, I went looking at the configuration indicated. There are 3 possible php.ini files, one in each of 3 directories under /etc/php/8.3:
apache2 → php.ini
cli → php.ini
fpm → php.ini
Looking at all three, the values indicated as not being set are, indeed, set:
root@wmssfs00:/etc/php/8.3/apache2# grep memory_limit php.ini
memory_limit = 512M
root@wmssfs00:/etc/php/8.3/apache2# grep opcache.interned_strings_buffer php.ini
opcache.interned_strings_buffer=16
root@wmssfs00:/etc/php/8.3/apache2# cd ../cli
root@wmssfs00:/etc/php/8.3/cli# grep memory_limit php.ini
memory_limit = 512M
root@wmssfs00:/etc/php/8.3/cli# grep opcache.interned_strings_buffer php.ini
opcache.interned_strings_buffer=16
root@wmssfs00:/etc/php/8.3/cli# cd ../fpm
root@wmssfs00:/etc/php/8.3/fpm# grep memory_limit php.ini
memory_limit = 512M
root@wmssfs00:/etc/php/8.3/fpm# grep opcache.interned_strings_buffer php.ini
opcache.interned_strings_buffer=16
root@wmssfs00:/etc/php/8.3/fpm#
Is there someplace else that these configuration settings are made? Something that would override these php.ini files?
Thanks in advance for any and all assistance.