cela donne :
/volume1/@appstore/PHP8.0/usr/local/bin/php80 /volume1/web/nextcloud/occ files:scan --all
The current PHP memory limit is below the recommended value of 512MB.
{"reqId":"rgb0whVGWGQWwRoxFqR3","level":3,"time":"2022-06-15T07:45:27+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"fopen(/volume1/web/nextcloud/data/data_dir_writability_test_62a98e179fbab.tmp): Failed to open stream: Permission denied at /volume1/web/nextcloud/lib/private/legacy/OC_Util.php#580","userAgent":"--","version":"24.0.1.1","exception":{"Exception":"Error","Message":"fopen(/volume1/web/nextcloud/data/data_dir_writability_test_62a98e179fbab.tmp): Failed to open stream: Permission denied at /volume1/web/nextcloud/lib/private/legacy/OC_Util.php#580","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"fopen(/volume1/web/nextcloud/data/data_dir_writability_test_62a98e179fbab.tmp): Failed to open stream: Permission denied","/volume1/web/nextcloud/lib/private/legacy/OC_Util.php",580]},{"file":"/volume1/web/nextcloud/lib/private/legacy/OC_Util.php","line":580,"function":"fopen","args":["/volume1/web/nextcloud/data/data_dir_writability_test_62a98e179fbab.tmp","w"]},{"file":"/volume1/web/nextcloud/lib/private/Console/Application.php","line":157,"function":"checkServer","class":"OC_Util","type":"::","args":[{"__class__":"OC\\SystemConfig"}]},{"file":"/volume1/web/nextcloud/console.php","line":98,"function":"loadCommands","class":"OC\\Console\\Application","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/volume1/web/nextcloud/occ","line":11,"args":["/volume1/web/nextcloud/console.php"],"function":"require_once"}],"File":"/volume1/web/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
Your data directory is invalid.
Ensure there is a file called ".ocdata" in the root of the data directory.
Your data directory is not writable.
Permissions can usually be fixed by giving the web server write access to the root directory. See
https://docs.nextcloud.com/server/24/go.php?to=admin-dir_permissions.
An unhandled exception has been thrown:
Exception: Environment not properly prepared. in /volume1/web/nextcloud/lib/private/Console/Application.php:164
Stack trace:
#0 /volume1/web/nextcloud/console.php(98): OC\Console\Application->loadCommands(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#1 /volume1/web/nextcloud/occ(11): require_once('/volume1/web/ne...')
#2 {main}{"reqId":"rgb0whVGWGQWwRoxFqR3","level":3,"time":"2022-06-15T07:45:27+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"fopen(/volume1/web/nextcloud/data/nextcloud.log): Failed to open stream: Permission denied at /volume1/web/nextcloud/lib/private/Log/File.php#84","userAgent":"--","version":"24.0.1.1"}