sudo -u daemon php occ maintenance:singleuser --on (attivo la manutenzione utente singolo, nessuno sincronizza admin entr ain webgui) sudo -u daemon php occ maintenance:singleuser --off (disattivo la manutenzione utente singolo) sudo -u daemon php occ maintenance --on (attivo la manutenzione nessuno sincronizza e accede a webgui) sudo -u daemon php occ maintenance --off (disattivo la manutenzione) * will rescan all files of all known users sudo -u www-data php occ files:scan --all * Query your ownCloud server status: sudo -u www-data php occ status * Display your ownCloud version: sudo -u www-data php occ -V File Operations The files:scan command scans for new files and updates the file cache. You may rescan all files, per-user, a space-delimited list of users, and limit the search path: $ sudo -u www-data php occ files:scan --help Usage: files:scan [-p|--path="..."] [-q|--quiet] [--all] [user_id1] ... [user_idN] Arguments: user_id will rescan all files of the given user(s) Options: --path (-p) limit rescan to this path, eg. --path="/alice/files/Music", the user_id is determined by the path and the user_id parameter and --all are ignored --all will rescan all files of all known users files:cleanup tidies up the server’s file cache by deleting all file entries that have no matching entries in the storage table. * scan di tutti i file: # sudo -u www-data php occ files:scan -vv --all # migrate user php -u www-data php occ files:transfer-ownership