Permission issues

Heyhey,

for about 2 years we’ve successfully been running a nextcloud instance on a virtual private server.
Two days ago backups stopped working an we got error messages in the nextcloud web-interface saying that permissions are set up wrong:

“config.php not writeable”

Fehler

Das Schreiben in das „config“-Verzeichnis ist nicht möglich!

Dies kann normalerweise behoben werden, indem dem Webserver Schreibzugriff auf das config-Verzeichnis gegeben wird. Wenn du jedoch möchtest dass die Datei config.php schreibgeschützt bleiben soll, dann setze die Option "config_is_read_only" in der Datei auf true. Siehe https://docs.nextcloud.com/server/25/go.php?to=admin-config

permissions didn’t change and seem to be set up correctly:

/home/cloud/public_html/config# ls -lah 
total 88K
drwxr-xr-x  2 cloud cloud 4.0K Jan 15 15:27 .
drwxr-x--- 15 cloud cloud 4.0K Jan 15 15:06 ..
-rw-r--r--  1 cloud cloud 1.3K Jan 15 14:48 config.php
-rw-r--r--  1 cloud cloud  72K Dec 12 07:14 config.sample.php
-rw-r--r--  1 cloud cloud  495 Dec 12 07:14 .htaccess

So far we’ve set ‘config_is_read_only’ to true, wich gives an error message saying ‘folder apps not writeable’

PHP is runnig through a FCGIWrapper. We can not see any changes running PHP 7.4 or PHP 8.1.

Any help would be much appreciated.

Roland

We worked around the problem by running php 8.1 via fpm just for nextcloud (as the same user).
After an update to 25.0.3, FCGIWrapper still reports the config-dir not being writeable.