Nextcloud (looking for some input)

Hey all there :slight_smile:
There are a lot of warnings/errors in my nextcloud log and I wanted to know where to look and what to do regarding these.
In the mean time I have been looking and continue searching for tips.

There are some warnings regarding your setup.

  • 32499 errors in the logs since February 24, 2025, 4:26:21 PM

  • The PHP OPcache module is not properly configured. The OPcache buffer is nearly full. To assure that all scripts can be hold in cache, it is recommended to apply “opcache.memory_consumption” to your PHP configuration with a value higher than “128”… For more details see the documentation :arrow_upper_right:.

  • There is an inactive LDAP configuration: s01

  • Integrity checker has been disabled. Integrity cannot be verified.

There are other topics in the forum related to solving Nextcloud errors. Please use the search button.

1 Like

I do and thank you
Christian

Your points above were not needed as the files contained the correct values.
I deleted s01, great.
For the rest of the problems I don’t seem to find solutions.

Also PHP 8.3 is installed but when I check the version php -v it says PHP 8.2
And when checking the file /etc/php/8.2/fpm/php.ini I see the values for OPcache preceded by an asterix, perhap because they need to be changed elsewhere?

  • 32499 errors in the logs since February 24, 2025, 5:14:15 PM
    I cleansed the file here: logpath = /var/log/nextcloud/nextcloud.log
    Now let’s see what is added in the coming days

  • The PHP OPcache module is not properly configured. The OPcache buffer is nearly full. To assure that all scripts can be hold in cache, it is recommended to apply “opcache.memory_consumption” to your PHP configuration with a value higher than “128”… For more details see the documentation :arrow_upper_right:.

OPcache buffer, what to do?

  • Integrity checker has been disabled. Integrity cannot be verified.

Where to enable?

  • Your installation has no default phone region set.

Where do I set this?

How to clean the file, where is it located?

This is a log file, there is no need to clean it.

Integrity checker has been disabled. Integrity cannot be verified.

This is normal, It as been deactivated regarding YNH SSO (I can’t tell you more about why…)

Your installation has no default phone region set.

the setting is to be found here: /var/www/nextcloud/config/config.php line 40

1 Like

I changed the values in /etc/php/8.3/fpm/pool.d/nextcloud.conf but still get an error message but now with the higher values listed and the recommendation to put even higher values. That can’t be right, can it?

The PHP OPcache module is not properly configured. The OPcache buffer is nearly full. To assure that all scripts can be hold in cache, it is recommended to apply “opcache.memory_consumption” to your PHP configuration with a value higher than “1024”. 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 “64”…

You have to reload php8.3
And I tried in a 16G ram server to increase it, it will always complain, you can ignore it.
But the massive amount of errors in your log is abnormal. See what is it about in the nextcloud admin >logging (at the bottom)

I reloaded php8.3 using CLI yunohost service restart php8.3-fpm
Proof is that the values in the error message changed to the new values I entered.
Or is there another way?
My server has 16GB RAM too and a 1TB SSD
I cleared the logfile and will actively follow what happens in the coming days.

Possible than now the overlay is removed, we could activate this integrity checker :thinking:

Possible than now the overlay is removed, we could activate this integrity checker :thinking:

Integrity check still fails with invalid hash for this file core/Controller/LoginController.php (this file is modified by 00-add-logout_url-conf.patch)

1 Like

Indeed, it’s the patch for a nice logout redirection if a yunohost account has been used as login