bug: Rust Panic from failed migration #60

Closed
opened 2026-02-16 12:51:17 -05:00 by yindo · 2 comments
Owner

Originally created by @IronworksProductions on GitHub (Jun 4, 2024).

What happened?

After attempting to bring up revolt on the latest delta and bonfire versions, the client gives a network error with the following info showing up in the web console:
image
Upon looking at the logs in portainer(as was setup in this guide here: https://gist.github.com/zicklag/c5adbf9bf4c5adb7640ed3e752c9eb28), the docker container for the API server appears to be shutting itself off with an exit code of 105, while constantly spamming the logs with this error:
thread 'main' panicked at 'failed to insert corrected invite: Error { kind: InvalidArgument { message: "No documents provided to insert_many" }, labels: {}, wire_version: None, source: None }', crates/core/database/src/models/admin_migrations/ops/mongodb/scripts.rs:1058:14
Any ideas what might be causing this?
I have followed all 3 important steps in the read me, including mounting Revolt.toml and this issue continues to persist despite this.

Originally created by @IronworksProductions on GitHub (Jun 4, 2024). ### What happened? After attempting to bring up revolt on the latest delta and bonfire versions, the client gives a network error with the following info showing up in the web console: ![image](https://github.com/revoltchat/self-hosted/assets/7560033/4bf922a0-7bd8-489c-bf51-e51821bb7da9) Upon looking at the logs in portainer(as was setup in this guide here: https://gist.github.com/zicklag/c5adbf9bf4c5adb7640ed3e752c9eb28), the docker container for the API server appears to be shutting itself off with an exit code of 105, while constantly spamming the logs with this error: `thread 'main' panicked at 'failed to insert corrected invite: Error { kind: InvalidArgument { message: "No documents provided to insert_many" }, labels: {}, wire_version: None, source: None }', crates/core/database/src/models/admin_migrations/ops/mongodb/scripts.rs:1058:14` Any ideas what might be causing this? I have followed all 3 important steps in the read me, including mounting Revolt.toml and this issue continues to persist despite this.
yindo added the bug label 2026-02-16 12:51:17 -05:00
yindo closed this issue 2026-02-16 12:51:17 -05:00
Author
Owner

@insertish commented on GitHub (Jun 4, 2024):

Just pushed a fix under https://github.com/revoltchat/backend/releases/tag/20240604-1, should be built within 30 minutes.

@insertish commented on GitHub (Jun 4, 2024): Just pushed a fix under https://github.com/revoltchat/backend/releases/tag/20240604-1, should be built within 30 minutes.
Author
Owner

@insertish commented on GitHub (Jun 4, 2024):

Pull and run latest images, please re-open if issue persists.

@insertish commented on GitHub (Jun 4, 2024): Pull and run latest images, please re-open if issue persists.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: stoatchat/self-hosted#60