User Tools

This is an old revision of the document!


Nextcloud Docker

Maintenance

Open the Unraid terminal, enter each of these commands:
docker exec -u 99:100 Nextcloud php /var/www/html/occ maintenance:repair
docker exec -u 99:100 Nextcloud php /var/www/html/occ files:scan –all

You should see output like this for the second command:

Starting scan for user 1 out of 2 (fbpettis)''
Starting scan for user 2 out of 2 (fpettis)''
+---------+--------+-----+---------+---------+--------+--------------+
| Folders | Files  | New | Updated | Removed | Errors | Elapsed time |
+---------+--------+-----+---------+---------+--------+--------------+
| 17730   | 113818 | 0   | 4379    | 344     | 0      | 00:25:08     |
+---------+--------+-----+---------+---------+--------+--------------+
du -sh * | sort -h
rm -f ./*
docker exec -u 99:100 Nextcloud php /var/www/html/occ files:cleanup
docker exec -u 99:100 Nextcloud php /var/www/html/occ versions:cleanup
docker exec -u 99:100 Nextcloud php /var/www/html/occ trashbin:cleanup --all-users

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also, you acknowledge that you have read and understand our Privacy Policy. If you do not agree, please leave the website.

More information