"There was an error initializing DB" with n8n install
-
Hi everyone,
just tried installing a new n8n instance. in the logs is see the following error:
"There was an error initializing DB"
this loop continues until timeout. Tis is with version 4.20.0 I have no idea what to do next.
-
Hello @bedrijfstak14
The output of
cloudron-support --troubleshootis missing. Please post the output of that command from your server.Please check in your Cloudron dashboard under
System>Servicesif the PostgreSQL service is running.
Maybe give it some more ram.
Also, please make sure that you are not affected by https://forum.cloudron.io/topic/15442/ubuntu-24.04-kernel-6.8.0-110-regression-affecting-cloudron -
Hi @james
PostgreSQL is running and is has more than enough RAM i believe it is running on 12% right now and i have not seen it go above 20% But to be sure i have doubled the available ram.However the same issue remains.
root@vps2-wbn:~# cloudron-support --troubleshoot Vendor: QEMU Product: Standard PC (i440FX + PIIX, 1996) Linux: 6.8.0-107-generic Ubuntu: noble 24.04 Cloudron: 9.1.7 Execution environment: kvm Processor: AMD EPYC 9354P 32-Core Processor BIOS pc-i440fx-10.1 CPU @ 2.0GHz x 4 RAM: 16376040KB Disk: /dev/sda1 125G [OK] node version is correct [OK] IPv6 is enabled and public IPv6 address is working [OK] docker is running [OK] docker version is correct [OK] MySQL is running [OK] netplan is good [OK] DNS is resolving via systemd-resolved [OK] unbound is running [OK] nginx is running [OK] dashboard cert is valid [OK] dashboard is reachable via loopback [OK] No pending database migrations [OK] Service 'mysql' is running and healthy [OK] Service 'postgresql' is running and healthy [WARN] Service 'mongodb' is not running (may be lazy-stopped) [OK] Service 'mail' is running and healthy [OK] Service 'graphite' is running and healthy [OK] Service 'sftp' is running and healthy [OK] box v9.1.7 is running [OK] Dashboard is reachable via domain name -
Hi @james,
I have checked the logs and cannot find any thing weird. Al events are normal or where because of a restart of the service.
-
Hi @james,
Thanks for your help. This morning i woke up to the problem you mentioned https://forum.cloudron.io/topic/15442/ubuntu-24.04-kernel-6.8.0-110-regression-affecting-cloudron. After running the fixes mentioned in the other post.
n8n was able to install. why this did work i have no clue. But the problem is resolved now.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login