Hardware: Raspberry Pi at home YunoHost version: 4.3.6.3 I have access to my server : Through SSH | through the webadmin | d Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : maybe:
I added an externa harddisk to use for media-storage, interfaced via nextcloud. Getting nextcloud working on it did not go smooth. See my other topic about > 1 year ago.
Description of my issue
I ran the diagnostics (adminpage) and it gave a warning that the SSD card was 99% full. But their should not be that much: only yunohost installed. Last week I removed nextcloud, and still 99% usage warning.
df -h said:
/dev/root 59G 56G 824M 99% /
but strange is that ncdu / only reports 19.2 GB.
(the above was with external harddisk unmounted)
I am out of options actually. Looking forward to your help.
peter
Hi Aleks, (no offense meant with “incorrect” )
It seems to be my classic beginnersfault: I did ncdu / , but should have done sudo ncdu / (which now did report a full SSD card).
Now I found that nextcloud left a very big trashbin, also for the one of my wife and daugther. (even after removing the app).
See the directory via ncdu:
/..
8.1 GiB [##########] /files_trashbin
2.0 GiB [## ] /files
51.4 MiB [ ] /files_versions
e 20.0 KiB [ ] /uploads
e 4.0 KiB [ ] /cache ```
I will anyhow store the data on the external (bigger) harddisk, but:
What could have gone 'wrong' here?
Should I delete the files from the trashbin via the terminal ?
And install nextcloud again, and adjust some setting to prevent getting such a big trashbin again?
Looking forward to your answer.
Best regards, peter
yes, delete the trashbin files, unless you need them. Nextcloud keeps the files for like 30 days or something, so if you’re putting big files on there and deleting them quickly, the trash fills up quickly.
auto means “keeps files and folders in the trash bin for 30 days and automatically deletes anytime after that if space is needed” (source). I doubt Nextcloud will handle this correctly, so prefer to set it manually, for example to keep only 30 days: