this post was submitted on 27 Jun 2023
11 points (100.0% liked)

Asklemmy

43810 readers
1 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 6 years ago
MODERATORS
 

cross-posted from: https://lemmy.world/post/688351

cross-posted from: https://lemmy.world/post/684781

now i get this error when i attempt to access it. anyone know how to set it back?

404: FetchError: request to http://lemmy:8536/api/v3/site

and the command docker compose -p lemmy-easy-deploy logs -f yeilds a bunch of nonsense but this line stood out...

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

you are viewing a single comment's thread
view the rest of the comments
[โ€“] NettoHikari@social.fossware.space 6 points 2 years ago* (last edited 2 years ago)

Hey, there. This should solve your problem, I guess:

docker compose down

docker compose up -d postgres

docker compose exec postgres psql -U lemmy

UPDATE local_site SET private_instance = 'f' WHERE id = '1';

\q

docker compose up -d

Let me know if that worked or not.

Edit for shorter version: docker compose exec postgres psql -U lemmy -c "UPDATE local_site SET private_instance = 'f' WHERE id = '1';"

Then restart lemmy.