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. Support
  3. Can't uninstall app and mongodb is not reachable

Can't uninstall app and mongodb is not reachable

Scheduled Pinned Locked Moved Solved Support
7 Posts 2 Posters 68 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.
  • M Offline
    M Offline
    mendoksai
    wrote last edited by
    #1

    Hi Cloudron team,

    I have a stale app entry in the dashboard for “Family Chat (Rocket.Chat)”.
    The app appears to be already gone at the container/data level, but it still remains in the dashboard as an errored app.
    Uninstall fails with a foreign key constraint error referencing box.appAddo....

    While investigating, I found that cloudron-support --troubleshoot reports:

    • No pending database migrations
    • box v9.1.6 is running
    • Service mongodb is not reachable

    The MongoDB logs suggest it is not just “hanging”, but crashing during startup:

    • WiredTiger-related stack frames appear during startup
    • mongod aborts
    • Cloudron then repeatedly gets MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017

    This started after a hardware RAID controller issue on the server. Hetzner has already replaced the RAID controller successfully and the server is back online.

    My current understanding is:

    • MongoDB service startup is failing at the WiredTiger/storage layer
    • the stale app entry may be a secondary symptom
    • uninstall cannot complete because the addon/service cleanup is incomplete

    Could you please advise the safest supported recovery path?

    Thanks!

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mendoksai
      wrote last edited by
      #2

      I had to remove the mongodb as well. Now it's okay. the app has gone from dashboard.

      1 Reply Last reply
      0
      • jamesJ james has marked this topic as solved
      • M Offline
        M Offline
        mendoksai
        wrote last edited by
        #3

        Ohh no now it's happening for another app after update the app itself.

        This is Kuma.

        Apr 19 11:14:40 2026-04-19T02:14:40Z [SERVER] ERROR: Failed to prepare your database: Aggregate table migration is already in progress
        Apr 19 11:14:40 2026-04-19T02:14:40Z [SERVER] INFO: Connected to the database
        Apr 19 11:14:40 2026-04-19T02:14:40Z [SERVER] INFO: Creating express and socket.io instance
        Apr 19 11:14:40 2026-04-19T02:14:40Z [SERVER] INFO: Data Dir: ./data/
        Apr 19 11:14:40 2026-04-19T02:14:40Z [SERVER] INFO: Server Type: HTTP
        Apr 19 11:14:40 2026-04-19T02:14:40Z [DB] ERROR: Database migration failed
        Apr 19 11:14:40 2026-04-19T02:14:40Z [DB] WARN: Aggregate table migration is already in progress, or it was interrupted
        Apr 19 11:14:40 2026-04-19T02:14:40Z [DB] INFO: Database Type: sqlite
        Apr 19 11:14:53 => Healthcheck error: Error: connect EHOSTUNREACH 172.18.19.169:3001
        Apr 19 11:15:03 => Healthcheck error: Error: connect EHOSTUNREACH 172.18.19.169:3001
        

        Is there a way to stop update apps also all at once?

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mendoksai
          wrote last edited by
          #4

          Luckily I have backup, I'll restore to previous version.

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mendoksai
            wrote last edited by
            #5

            I disabled all updates for now. Thank you, you may resolve this ticket too.

            1 Reply Last reply
            0
            • M Offline
              M Offline
              mendoksai
              wrote last edited by
              #6

              Interesting ... I restored the app but no data is recovered.. how is this possible ... and I can't attach screenshots here it says dimensions are too big ... it's not big actually.

              1 Reply Last reply
              0
              • nebulonN Offline
                nebulonN Offline
                nebulon
                Staff
                wrote last edited by nebulon
                #7

                From that error log it seems that other app is sqlite related: "[DB] INFO: Database Type: sqlite"
                Is this all related to the same rocket.chat app uninstall issue or some other problem?

                For mongodb not running, with latest Cloudron we stop unused services, so this sounds actually correct.

                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