All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
nextcloud security & setup warnings
Hello,
I have bought an DirectAdmin strage box from HostBrr that is working very good for the moment but i need some help in order to tweak/tune the config. Can anyone please give me some hint, explain better what i need to do? ![]()
LVE limits are the following:
2 vCore
2 GB RAM
100 MB/s IO
1024 IOPS
On NextCloud Security & setup warings i see the following mess
This red error - > !!! The PHP OPcache module is not properly configured. OPcache is not working as it should, opcache_get_status() returns false, please check configuration. The maximum number of OPcache keys is nearly exceeded. To assure that all scripts can be kept in the cache, it is recommended to apply "opcache.max_accelerated_files" to your PHP configuration with a value higher than "4000". 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 "40960". 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 "128". Nextcloud is not allowed to use the OPcache API. With OPcache enabled, it is highly recommended to include all Nextcloud directories with "opcache.restrict_api" or unset this setting to disable OPcache API restrictions, to prevent errors during Nextcloud core or app upgrades.. For more details see the documentation ↗. !!!
These mustard yellow warnings ->
23923 errors in the logs since February 16, 2025, 8:01:07 PM
Server has no maintenance window start time configured. This means resource intensive daily background jobs will also be executed during your main usage time. We recommend to set it to a time of low usage, so users are less impacted by the load caused from these heavy tasks. For more details see the documentation ↗.
One or more mimetype migrations are available. Occasionally new mimetypes are added to better handle certain file types. Migrating the mimetypes take a long time on larger instances so this is not done automatically during upgrades. Use the command occ maintenance:repair --include-expensive to perform the migrations.
Some headers are not set correctly on your instance - The Strict-Transport-Security HTTP header is not set (should be at least 15552000 seconds). For enhanced security, it is recommended to enable HSTS. For more details see the documentation ↗.
Detected some missing optional indices. Occasionally new indices are added (by Nextcloud or installed applications) to improve database performance. Adding indices can sometimes take awhile and temporarily hurt performance so this is not done automatically during upgrades. Once the indices are added, queries to those tables should be faster. Use the command occ db:add-missing-indices to add them. Missing indices: "systag_by_objectid" in table "systemtag_object_mapping". For more details see the documentation ↗.
and this stuff with black i think i can ignore them ![]()
The database is used for transactional file locking. To enhance performance, please configure memcache, if available. For more details see the documentation ↗.
No memory cache has been configured. To enhance performance, please configure a memcache, if available. For more details see the documentation ↗.

Comments
this is a trivial problem if you're willing to highlight & search your own question
https://help.nextcloud.com/t/occ-setupchecks-fails-with-opcache-get-status-returns-false/181071
https://help.nextcloud.com/t/server-has-no-maintenance-window-start-time-configured/180480/11
after looking up 2 of them, there's even a
↗in your pasted text and you're not even bother to read it.RTFM.
Are you getting these on freshly new or 'normal' nstallation ?
I also got those trouble but only when i set 3rd party S3 Storage as primary
and not on 'normal' fresh installation without any modification. Im trying replicate my configuration but on cpanel or apache+php vps without panel since im starting to think the problem are directadmin permission.
I openes the links but i don't undersrand how to fix. I don't find the files on the server in order to modify the config
New installation via DirectAdmin
I'm pretty sure this is the resolution for your first issue, (see thread and answer)
https://help.nextcloud.com/t/the-php-opcache-module-is-not-properly-configured/135870/24
To fix it you'll need to SSH into your Storage box, open the mentioned file with nano and change the opcache.max_accelerated_files= value to at least 4500, (as per the error message)
I don't know if the other changes in the answer are relevant or not, but your error message explicitly says you need to increase that value and the forum thread suggests you need to change it in the file mentioned.
Have same problem, I'm on ftp1
Maybe @labze can check
OPCache has to be adjusted from my side, but for some reason it does not do what I want it to do. It is being looked into.
The remaining errors needs to be setup by each client. This is creating the proper CRON jobs and adjusting some files. Nothing is critical and can mostly be ignored, perhaps expect creating a CRON job for background tasks.