Disk full can't upgrade

Describe the issue/error/question

Tried to upgrade to to newest version. Got bad gateway error. Did some research and found out that I am using 95% (65G) of disk storage. Restored to old backup and set:

Old executions gone all good. Set DB_SQLITE_VACUUM_ON_STARTUP=true. Bad gateway again. Did more research, can’t VACUUM since disk full. Back to false, works again. More research: found out that I need to backup workflows and delite sqlite db and import when empty.

Tried ‘n8n export:workflow --all --output=backups/latest/’ but I got error n8n command not found.

Found this as alternative: Save your workflows into a GitHub repository | n8n workflow template

I get error connect ECONNREFUSED in N8N workflows node

And now I am stuck. Any help appreciated.

Information on your n8n setup

  • n8n version: 0.210.2
  • Database you’re using (default: SQLite): SQLite
  • Running n8n with the execution process [own(default), main]: default
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]: Docker

The right thing would for sure be to export the workflows and the credentials.

If you run n8n inside of Docker, then will the import/export also only be available inside of Docker (as your host machine does not know anything about n8n). So you also have to run that command inside of docker. Then it should work fine.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.