MatthewL246 / pretendo-docker

An unofficial Docker Compose setup for self-hosting a Pretendo Network server.
https://matthewl246.github.io/pretendo-docker/
GNU Affero General Public License v3.0
47 stars 9 forks source link

Setup script doesn't create friends database #90

Closed MatthewL246 closed 3 months ago

MatthewL246 commented 3 months ago

It seems that the setup script is sometimes silently failing to create a database for the friends server. This completely breaks friends.

MatthewL246 commented 3 months ago

I believe this should be fixed in 6290a7f269ca80022777b9bf3bfb7dd64d2cdacb, but I was unable to reproduce this issue locally so I'm not entirely sure.

ReynoldsCahoon commented 4 weeks ago

How can one resolve this if the script fails to create the friends database? I keep encountering Error 101-0502 and that seems to be related to Friends.

image

MatthewL246 commented 4 weeks ago

@ReynoldsCahoon The friends database is stored in Postgres, not Mongo, so it won't show up in Mongo Express. You'll need to check Adminer (port 8025) to see whether it was created. The friends server logs should also show whether the problem is really a missing database or something else (if it's something else, please create a new issue for that).

ReynoldsCahoon commented 4 weeks ago

Disregard. It seems this occurs when you have not confirmed the email of new accounts. This can be done by restarting the console, and upon login, using the related 6 digit code provided in the associated email in Mailpit.