Hi everyone. I use n8n-starter-kit on virtual machine. Yesterday I updated n8n to latest version.
Describe the problem/error/question:
Today, I encountered an issue in the AI agent workflow related to a “Window Buffer Memory” error, which affected all workflows utilizing the Window Buffer Memory node. The 4GB memory on my virtual machine (VM) was fully consumed, leading me to reboot the VM. However, after the reboot, the n8n container failed to start.
I tried to export workflows because I made significant changes in the last 2 days and did not create backups. But exporting credentials and/or workflows fails:
What is the error message (if any)?
Docker n8n contanier log:
User settings loaded from: /home/node/.n8n/config
Last session crashed
Initializing n8n process
There was an error initializing DB
Error: There was an error initializing DB
at Start.exitWithCrash (/usr/local/lib/node_modules/n8n/dist/commands/base-command.js:115:49)
at /usr/local/lib/node_modules/n8n/dist/commands/base-command.js:71:59
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Start.init (/usr/local/lib/node_modules/n8n/dist/commands/base-command.js:71:9)
at Start.init (/usr/local/lib/node_modules/n8n/dist/commands/start.js:151:9)
at Start._run (/usr/local/lib/node_modules/n8n/node_modules/@oclif/core/lib/command.js:301:13)
at Config.runCommand (/usr/local/lib/node_modules/n8n/node_modules/@oclif/core/lib/config/config.js:424:25)
at run (/usr/local/lib/node_modules/n8n/node_modules/@oclif/core/lib/main.js:94:16)
at /usr/local/lib/node_modules/n8n/bin/n8n:72:2
getaddrinfo EAI_AGAIN postgres
Error: getaddrinfo EAI_AGAIN postgres
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:26)
User settings loaded from: /home/node/.n8n/config
Information on your n8n setup
- n8n version: latest
- Database (default: SQLite): Postgres
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- **Operating system:**Operating System: Ubuntu 22.04.5 LTS
Kernel: Linux 5.15.0-124-generic
Architecture: x86-64
Hardware Vendor: QEMU
Hardware Model: Standard PC i440FX + PIIX, 1996
I kindly ask for the community’s help. Everywhere I managed to find similar information, the n8n instance starts up successfully, unlike mine. Thanks!