The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.
If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.
Getting help
In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.
Before clicking submit: Please check if your query is already addressed via the following resources:
(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can.
The Basics
Nextcloud Server version (e.g., 29.x.x):
29.0.12
Operating system and version (e.g., Ubuntu 24.04):
OVH shared hosting
PHP version (e.g, 8.3):
8.2
Is this the first time you’ve seen this error? (Yes / No):
yes
When did this problem seem to first start?
I think I have deleted some folders like data/appdata_*
Summary of the issue you are facing:
Trying to free space, I think some folders have been deleted by mistake.
Now I have pages in black and white and not usable (cannot scroll page to get to content below the visibile screen)
I tried to get the folders from another NC install but it didn’t solve the issue.
I’ve also updated NC (it was 29.0.8 before).
Tried also maintenance:repair several time with no effect.
Short version:
I’m really not sure why, but changing php to phpcgi in .ovhconfig seems to be the soluton.
Long version:
In the first place, it turns out I’m not really aware what was the cause of it all. Initially I thought it was all due to the accidentally deleted appdata_ folder. So I tried to solve this by recreating the folder, running occ maintenance:repair several times, with apparently no luck.
Upgrading to NC 30 didn’t change the situation.
And since this error was due to the running out of space, I then thought that was also part of the problem. Deleting large files, purging the trash bin and file versions was the next step, with the same unsuccessful end.
Also, since I was changing the php version from 8.0, which was marked as unsuported, I also played a lot with this: 8.1, 8.2, 8.3 and even 8.4 (but NC complained about this to be too new and unsupported to).
At one point, while comparing settings with another NC installation that was still up and running, I noticed that in the .ovhconfig file the php engine wase indicated as phpcgi. I was a bit surprised, since from the OVh control panel that option had disappeared some time ago. So i just put this on my .ovhconfig file and boom! everything came back alive.
I have to say that I’m not 100% sure this was the solution, but I need to add that after a couple of days another NC instance turned to black and white. The first thing I did was to make the same change in .ovhconfig and it worked. Not only it’s working great, but I feel like it is faster then before.
A bit puzzling but in the end (for now) I’m backt to life!
The only log line that was present repeatedly and now seems to be disappeared is this one:
{"reqId":"Z8ljk5vmzs0CxVCPoZJB4AAAAjY","level":3,"time":"2025-03-06T08:57:55+00:00","remoteAddr":"130.192.159.220","user":"acadmin","app":"PHP","method":"GET","url":"/index.php/apps/logreader/api/poll?lastReqId=Z8ljfjzeUkwM4-goPy2s8gAAAV4","message":"Zend OPcache API is restricted by \"restrict_api\" configuration directive at /home/europeanfn/amilcare/nextcloud-20.0.0/lib/private/Config.php#186","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0","version":"30.0.6.2","data":{"app":"PHP"},"id":"67c9639dc84e1"}
I’ve tried to understand this but any solution I tried seemd to work.
Moreover, the php seemed to have opcache enabled, so I was even more confused.
As a side note, the space problem was caused by nextcloud.log file that was 409GB !!
So, in any case, keep an eye on this file, that can grow really big. In my case the cause was I was trying to investigate some issues and changed the log level in the NC web interface. If you do it, remember to turn it back to the normal level.