mirror of
https://github.com/stoatchat/self-hosted.git
synced 2026-07-21 04:25:24 -04:00
bug: I just installed the site but I have this error there #101
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MisterSuki on GitHub (May 2, 2025).
What happened?
@DeclanChidlow commented on GitHub (May 2, 2025):
We'll need significantly more information to be able to take any action. Please share your logs, details about your server, versions, etc.
@MisterSuki commented on GitHub (May 3, 2025):
I made the installations you had provided in your docs the database does not reread or this
@JonLloydDev commented on GitHub (May 3, 2025):
I don't know if this is helpful, and I'm not familiar with Mongo DB myself, but in attempting to troubleshoot the same symptoms, I've had some success:
First, running
docker logs revolt-database-1, I found a message that my Zimaboard's CPU wasn't compatible with MongoDB 5+! Checking the instructions, Mongo 4.4 is suggested for older CPUs. So I adjustedcompose.ymlto usedocker.io/mongo:4.4for the database service, and that helped (I also cleared out the data/db folder that Mongo uses - just in case), but the health check still failed.Looking at the logs again, I didn't see anything wrong! Next, I was suspicious of the healthcheck. I was able to comment out all the healthcheck and dependency lines in
compose.ymlto keep the database running and drop into a shell (usingdocker exec -it revolt-database-1 bash) to figure out the test command...First off,
mongoshdoesn't appear to exist in the Mongo 4.4 container. But themongocommand works! Stumbling my way through, simply changing the healthcheck test from:echo 'db.runCommand("ping").ok' | mongosh localhost:27017/test --quietto
echo 'db.runCommand("ping").ok' | mongo localhost:27017/test --quiet...appears to do the trick! It returns
1if the database is ready.From there, I had to undo some of my earlier test changes in
compose.ymlandRevolt.toml, butdocker compose up -dworks! (Now I just need to figure out invite-only mode.)@MisterSuki commented on GitHub (May 3, 2025):
If I take you access to my machine you want to help me?
@JonLloydDev commented on GitHub (May 3, 2025):
Sorry, my time is limited and I'm still trying to figure out Revolt myself.
Hopefully something in there can help though! Or if you can post more details about your config and logs, someone might be able to spot the issue.
@DeclanChidlow commented on GitHub (May 4, 2025):
We will not be able to offer assistance without any further information.