Hallo, ich habe heute eine usb Festplatte an meinen Raspberry Pi 3 angeschlossen und habe auch alles so konfiguriert, dass es funktionert. Ich kann über Nextcloud auch auf die Festplatte zugreifen, aber occ befehle funktionieren nicht mehr, wie z.B.
sudo -u www-data php occ maintenance:mode --on
und ich bekomme die Fehlermeldung
Your data directory is readable by other users
Please change the permissions to 0770 so that the directory cannot be listed by other users.An unhandled exception has been thrown:
Exception: Environment not properly prepared. in /var/www/html/nextcloud/lib/private/Console/Application.php:166
Stack trace:
#0 /var/www/html/nextcloud/console.php(95): OC\Console\Application->loadCommands(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#1 /var/www/html/nextcloud/occ(11): require_once(‘/var/www/html/n…’)
#2 {main}root@raspberrypi:/var/www/html/nextcloud# sudo -u www-data php occ