Broke my cloudron by filling up sda5 to 100 percent
-
It wont boot now but i was able to get a terminal window. Where would all my nextcloud files be? I need to delete the contents of the drive and hope that fixes it. I'm getting low disk space at root errors, I didn't think it would fill up so fast but I guess it did and now nothing will work and i cant get to my.example.com panel either. Do you think it made a local backup already? Any way I can delete that? I feel luck I was able to get to a terminal window, it would have been a pain to mount a live cd in a VM. Please advise.
-
@danielreyes61 The data will be in
/home/yellowtent/appsdata/<appid>/data
. appid can be tricky to determine if you have lots of apps, but if you cd into/home/yellowtent/appsdata
and dodu -hcs *
, you will know which app is consuming lots of data. As for the backups, are you backing up locally to the same filesystem (this is the default and you should change this)? If so, they will be in/var/backups/<timestamped-directories>
.Once you have gotten back some space, go through the checklist in https://docs.cloudron.io/troubleshooting/#recovery-after-disk-full and then finally
systemctl restart box
will get the dashboard up. -
@girish That worked! I deleted 2 snapshots of the apps I'm running too and now I'm down to 61 percent usage. I'm not running backups because I am running raid 5 on my server, would backups be redundant at that point or am I misunderstanding the best practices?
-
@danielreyes61 I mean its up to you but I would have backups to be able to restore apps to a previous state or pushing your whole server to a VPS in the event your server dies (say the raid controller dies on you and starts writing garbage to the drives).
I think @staff are working on a system for multiple backup sources which is ideal. But RAID 5 + a NAS or something on your network you can dump backups to would help if you're wanting to secure your data.
-
@atrilahiji excellent idea!! Thank you!!
-
There's a website for this - https://www.raidisnotabackup.com/
-
@danielreyes61 If I said it once, I said it 1,000 times:
RAID-X is NOT A BACKUP SOLUTION. You should ALWAYS have off-site backups. Always.
The only exception to this rule is if you really don't NEED backups (like testing software, trials, etc.)Never rely on RAID to be redundant in any way cause if more than 1 drive goes down you will lose all data. Period.
-
Understood, Thanks!!