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

Lemmy Support

4656 readers
18 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

Hey all, just wondering if I'm missing something or just have a fundamental misunderstanding of how federation works. I spun up a small docker instance for myself in order to interact with federated lemmy without bogging down the existing servers. I am noticing that although I am subscribed to a lot of communities, some of them don't seem to be updating. I know that my instance will only fetch new posts and comments from the communities I'm subscribed to, but even those are not being updated. Some communities seem to be working, but others just aren't updating. Is there a requirement that I'm not meeting to be able to fetch new data? Appreciate any ideas, thank you!

you are viewing a single comment's thread
view the rest of the comments
[โ€“] PriorProject@lemmy.world 3 points 1 year ago (1 children)

Any relevant logs from the lemmy container?

Have you checked the /instances/ url at your instance and those you federate with to ensure they each cross-reference each other?

I have confirmed that we are cross-referencing each other. I've also been monitoring the logs, the only error I've seen go by is the following one from the postgres container:

lemmy-postgres-1 | 2023-06-11 17:37:12.579 UTC [31] ERROR: duplicate key value violates unique constraint "idx_activity_ap_id" lemmy-postgres-1 | 2023-06-11 17:37:12.579 UTC [31] DETAIL: Key (ap_id)=(https://lemmy.world/activities/create/f26c82de-548d-405a-bca3-00775a73411f) already exists. lemmy-postgres-1 | 2023-06-11 17:37:12.579 UTC [31] STATEMENT: INSERT INTO "activity" ("data", "local", "updated", "ap_id", "sensitive") VALUES ($1, $2, DEFAULT, $3, $4) RETURNING "activity"."id", "activity"."data", "activity"."local", "activity"."published", "activity"."updated", "activity"."ap_id", "activity"."sensitive"