Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. N8N
  3. "There was an error initializing DB" with n8n install

"There was an error initializing DB" with n8n install

Scheduled Pinned Locked Moved N8N
7 Posts 2 Posters 52 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Bedrijfstak14
    wrote last edited by
    #1

    Hi everyone,

    just tried installing a new n8n instance. in the logs is see the following error:

    "There was an error initializing DB"
    

    d761ecc9-907b-4510-931f-b2677250e0b6-image.jpeg

    this loop continues until timeout. Tis is with version 4.20.0 I have no idea what to do next.

    1 Reply Last reply
    1
    • jamesJ Offline
      jamesJ Offline
      james
      Staff
      wrote last edited by james
      #2

      Hello @bedrijfstak14

      The output of cloudron-support --troubleshoot is missing. Please post the output of that command from your server.

      Please check in your Cloudron dashboard under System>Services if 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

      1 Reply Last reply
      0
      • B Offline
        B Offline
        Bedrijfstak14
        wrote last edited by
        #3

        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
        
        1 Reply Last reply
        1
        • jamesJ Offline
          jamesJ Offline
          james
          Staff
          wrote last edited by
          #4

          Hello @bedrijfstak14
          Can you check the logs of the PostgreSQL service if there is any error logged?

          1 Reply Last reply
          1
          • B Offline
            B Offline
            Bedrijfstak14
            wrote last edited by
            #5

            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.

            1 Reply Last reply
            2
            • B Offline
              B Offline
              Bedrijfstak14
              wrote last edited by
              #6

              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.

              1 Reply Last reply
              2
              • jamesJ Offline
                jamesJ Offline
                james
                Staff
                wrote last edited by
                #7

                Hello @bedrijfstak14
                Great to read that the Cloudron update 9.1.7 resolved this issue.

                1 Reply Last reply
                0

                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
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Bookmarks
                • Search