Hi @j-ed,
Thanks for your helping.
I tried:
/usr/local/bin/php /usr/local/www/nextcloud/occ file:scan --all
The result is:
The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see PHP: PCNTL - Manual
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 /usr/local/www/nextcloud/lib/private/Console/Application.php:166
Stack trace:
#0 /usr/local/www/nextcloud/console.php(96): OC\Console\Application->loadCommands(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#1 /usr/local/www/nextcloud/occ(11): require_once(ā/usr/local/www/ā¦ā)
#2 {main}
Iām not sure which directory should I change the permissions.