Can't uninstall app and mongodb is not reachable
-
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 referencingbox.appAddo....While investigating, I found that
cloudron-support --troubleshootreports:- No pending database migrations
- box v9.1.6 is running
- Service
mongodbis not reachable
The MongoDB logs suggest it is not just “hanging”, but crashing during startup:
- WiredTiger-related stack frames appear during startup
mongodaborts- 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!
-
J james has marked this topic as solved
-
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:3001Is there a way to stop update apps also all at once?
-
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.
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