Hi All, my n8n instance deployed on Docker crashed after filling the disk of the ubuntu host hosting it. As a result of this problem Postgres keeps restarting, how can I fix it?
**Database: Postgres
**Running n8n via Docker
**Operating system: Ubuntu
Can you please help me on the troubleshootin? I would restore the n8n functionality. Thank you
You’ll likely need to make some space on that Ubuntu host - can you run docker system prune ? You can find some more information on the command here, but it’ll help you get rid of some old, unwanted data.
A next step would be to configure data pruning to happen on an automatic schedule, so you can avoid having your database grow endlessly. You can find more information on that here.
I’m making some assumptions here that the disk space is the problem as you haven’t shared your exact error message you’re receiving, etc. but that should help fix this up for you if disk space is causing this.
Hi @smarmellato - It looks like your root directly (the directory that is indicated only by a /) is 97% full, which is not enough for many other applications.
We don’t know how big your database is, nor do we have exact errors here - but you will likely need to get in touch with your Ubuntu host to appropriately increase the disk space and help you clean up some of these files, and also ensure that you can get a backup if possible.