db0

joined 3 years ago
MODERATOR OF
[–] db0@lemmy.ml 7 points 1 year ago

https://lemmy.dbzer0.com for generative ai, neurodivergence, and anarchism and copylefts

[–] db0@lemmy.ml 9 points 1 year ago (2 children)

I think it's ok to have both. Eventually this will be implemented which will make this moot: https://github.com/LemmyNet/lemmy/issues/818

But also, I think lemmy won't be able to handle the load well and they won't hear my advice on how to prepare, so I think it's better I take responsibility for the community I've been nurturing for the past 10 years, myself

[–] db0@lemmy.ml 3 points 1 year ago

I don't have something to compare it to. As it's still empty, performance is still good.

[–] db0@lemmy.ml 3 points 1 year ago

I was doing that as well, but it wasn't the problem. The problem was apparently caused by a too-long site name

[–] db0@lemmy.ml 6 points 1 year ago (3 children)

I managed to get it to run. I checked in postgresql logs and it seems it was caused by trying to add into site. Apparently the site name cannot be more than 20 chars but this is mentioned nowhere in the documentation.

And when this happens, it causes this cascade of somehow trying to recreate the admin again and again, which is a red herring after all.

[–] db0@lemmy.ml 2 points 1 year ago

Worse. Restarting the container, seems to keep recreating that user 3 times again. Then always fails with

lemmy_1     | Error: LemmyError { message: None, inner: value too long for type character varying(20), context: "SpanTrace" }
[–] db0@lemmy.ml 3 points 1 year ago (1 children)

I dropped the contraints manually to test, and it indeed seems to create the admin account 3 times for some reason!

 

I am trying to install Lemmy, I am using a modified ansible role so that it deploys the DB on an external postgresql instead of a docker one.

Installation always fails with

lemmy_1     | thread 'main' panicked at 'couldnt create local user: DatabaseError(UniqueViolation, "duplicate key value violates unique constraint \"local_user_email_key\"")', crates/db_schema/src/impls/local_us
er.rs:157:8

The tables seem created and the admin user exists in them, so I'm not sure what else it's trying to create and has a duplicate email.

Earlier I also noticed this once, but I don't know if it's relevant

lemmy_1     | Error: LemmyError { message: None, inner: value too long for type character varying(20), context: "SpanTrace" }

This one only seems to appeared the one time.

I tried dropping and recreating the DB. same issue everytime.

[–] db0@lemmy.ml 0 points 1 year ago (1 children)

@dessalines@lemmy.ml can a user from a different instance be a mod in a community in lemmy.ml? Would be nice to have mod access from elsewhere in case lemmy.ml goes down.

[–] db0@lemmy.ml 0 points 2 years ago (10 children)

Years of prime advice was nuked when you erased everything but the last 6 months of history.

You realize the alternative was to lose the subreddit to the reddit admins, yes?

[–] db0@lemmy.ml 0 points 2 years ago (12 children)

If I am going to redirect all the sizable community of reddit /r/piracy to a safe haven, I feel I have a responsibility to make sure that the destination is well run. The only way I can do that is to be a mod.

 

Hey y'all, In the past I had arranged that /f/piracy in raddle.me would be the fallback forum for /r/piracy, but I recently noticed that raddle.me has disabled new user registrations and that would be a problem in case we need it.

And with reddit about to go public, it might be needed.

Instead of trying to spin up my own lemmy instance, I was thinking if I could get a mod position in this forum and specify it as the official /r/piracy fallback instead.

Feel free to PM me in reddit for verification.