this post was submitted on 13 Jun 2023
2 points (100.0% liked)

Lemmy Administration

12 readers
1 users here now

Anything about running your own Lemmy instance. Including how to install it, maintain and customise it.

Be sure to check out the docs: https://join-lemmy.org/docs/en/administration/administration.html

If you have any problems, describe them here and we will try to help you fixing them.

founded 4 years ago
MODERATORS
 

After using Ansible to upgrade Lemmy following the instructions (https://github.com/LemmyNet/lemmy-ansible) I am now getting the error

Error: LemmyError { message: Some("Cannot have both private instance and federation enabled."), inner: Cannot have both private instance and federation enabled., context: "SpanTrace" }

I am not sure how to change either private to requiring approval or public OR disable federation now. I don't see anything about it in the relevant documentation (https://join-lemmy.org/docs/en/administration/configuration.html) but I could be missing something.

The docker container keeps trying to restart and fails each time. Any help with this would be really appreciated!

EDIT: solved it by ssh'ing into the postgres docker container, running psql and UPDATE local_site SET private_instance = 'f' WHERE id = 1;

Also, I changed it back to private in the admin settings and it's fine now... really weird. Going to need to remember to do this every update I guess.

top 1 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 1 year ago

this stumped for for a couple hours when I first set it up.