Fehlermeldung beim Updater bzgl. falscher Berechtigungen

Hallo,

ich habe heute versucht, meine owncloud von Version 9.1.4.2 auf 9.1.6 upzudaten.
Leider bekomme ich hier einen Fehler bzgl. der Schreibberechtigungen:

Checking system
Checking system health.
The following files and directories are not writable:
/var/www/owncloud/3rdparty
/var/www/owncloud/3rdparty/LICENSE INFO
/var/www/owncloud/3rdparty/README.md
/var/www/owncloud/3rdparty/autoload.php
/var/www/owncloud/3rdparty/bantu
/var/www/owncloud/3rdparty/bantu/ini-get-wrapper
/var/www/owncloud/3rdparty/bantu/ini-get-wrapper/.scrutinizer.yml
... and 5293 more items

Please check if owner and permissions for these files are correct.
See https://doc.owncloud.org/server/9.1/admin_manual/installation/installation_wizard.html#strong-perms-label for details.

Ich habe die Berechtigungen für den Ordner 3rdparty bereits mit den folgenden Codes versucht umzustellen, jedoch ohne Erfolg:

root@raspberrypi:/var/www/owncloud# find 3rdparty/ -type f -print0 | xargs -0 chmod 0640

root@raspberrypi:/var/www/owncloud# find 3rdparty/ -type d -print0 | xargs -0 chmod 0750

root@raspberrypi:/var/www/owncloud# find 3rdparty ( -type d -exec chmod 750 {} + ) -o ( -type f -exec chmod 640 {} + )

Die Berechtigungen (0640 und 0750) habe ich aus dem verlinkten Dokument der Fehlermeldung, allerdings hat sich die Anzahl der nicht schreibberechtigten Dateien nach keinem ausgeführten Code verändert.

Was kann ich nun machen?

try this command:

chown -R www-data:www-data /var/www/owncloud/

Dear dmitry,

I done this command, but now I have the next error:

cURL error 60: SSL certificate problem: self signed certificate

This is correct, I have done the SSL-cert by myself.
But what can I do now?

BR
Oliver

Hab was in der vault gefunden von 2016:

You can add your self signed ca certificate to owncloud/resources/config/ca-bundle.crt

Versuch mal das.

Und dass du unterschiedliche Fehler bekommst bedeutet Fortschritt :smiley:

Hallo dmitry,

super hat funktioniert.
Vielen Dank und bis zum nächsten Problem! :slight_smile:

Gruß Oliver