Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| nextcloud_docker [2026/04/16 16:59] – created deftesprit | nextcloud_docker [2026/04/16 20:27] (current) – [Maintenance] deftesprit | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ===== Maintenance ===== | ===== Maintenance ===== | ||
| Open the Unraid terminal, enter each of these commands:\\ | Open the Unraid terminal, enter each of these commands:\\ | ||
| - | '' | + | '' |
| - | '' | + | '' |
| + | \\ | ||
| + | You should see output like this for the second command: | ||
| + | < | ||
| + | Starting scan for user 2 out of 2 (fpettis)'' | ||
| + | +---------+--------+-----+---------+---------+--------+--------------+ | ||
| + | | Folders | Files | New | Updated | Removed | Errors | Elapsed time | | ||
| + | +---------+--------+-----+---------+---------+--------+--------------+ | ||
| + | | 17730 | 113818 | 0 | 4379 | 344 | 0 | 00: | ||
| + | +---------+--------+-----+---------+---------+--------+--------------+ | ||
| + | </ | ||
| + | \\ | ||
| + | Here are some commands to cleanup storage space. Use this command in your Nextcloud data directory using the Unraid terminal. | ||
| + | Step through each sub-folder to see what is taking up space. | ||
| + | < | ||
| + | du -sh * | sort -h | ||
| + | </ | ||
| + | \\ | ||
| + | Use the following command to delete file uploads that are stuck. Make sure these files are not actively uploading. | ||
| + | < | ||
| + | rm -f ./* | ||
| + | </ | ||
| + | \\ | ||
| + | Here are some additional commands to cleanup space. The first one looks for orphaned entries. The second | ||
| + | one removes file versions. The third one empties all users trash bins. | ||
| + | < | ||
| + | docker exec -u 99:100 Nextcloud php / | ||
| + | docker exec -u 99:100 Nextcloud php / | ||
| + | docker exec -u 99:100 Nextcloud php / | ||
| + | </ | ||
