7
submitted 1 year ago by admin@satl.ink to c/lemmy_support@lemmy.ml

I'm experimenting with hosting my own instance. It seems like things are working, e.g. the steps in the troubleshooting doc work, http routing seems correct, etc. I can subscribe to other instance's communities and see the posts. However, comments are not syncing at all not even new ones. I suspected it might be a lemmy.ml problem, but I also get this behavior from other instances as well. I am running 0.17.3. How do I debug this, or is it the expected behavior (new to Lemmy, of course).

all 16 comments
sorted by: hot top controversial new old
[-] admin@satl.ink 4 points 1 year ago

I sorted it out, and comments are now syncing. It was an HTTP routing problem. I had forwarded .well-known/, api/, etc, and /inbox/ (<--- note trailing slash) to lemmy's backend, but not /inbox. Once I did this the comments began to appear. Thanks all for the help, and hopefully this post helps someone else.

[-] ada 3 points 1 year ago

It’s likely your language settings. Make sure the instance (and you as a user) have undetermined listed in your available languages

(This post set to English)

[-] ada 3 points 1 year ago* (last edited 1 year ago)

It's likely your language settings. Make sure the instance (and you as a user) have undetermined listed in your available languages > This post set to English

(This post was set to Undetermined, and you likely won't see it)

[-] admin@satl.ink 2 points 1 year ago

I guess it's obvious, but I can successfully post from my test instance to federated topics as well, so I'm not sure what isn't working.

[-] darkfoe@lemmy.serverfail.party 1 points 1 year ago

Are all languages selected on the admin panel? And do you have at least English and Undetermined selected (or none - works too) on your user panel?

This + needing to give things time to populate is what I ran into starting mine

I'm also experiencing something like this. Some comments are syncing, after a little while, but not very many. Some insight into how commenting syncing works and maybe how we can configure an instance to be better at it would be nice. Viewing this same post on lemmy.ml, I can see there have been several comments, but viewing the post while logged in to my own instance there are currently none visible.

I am pretty sure it's not an issue of language settings, in my case, since the posts that comments have synced for show comments tagged with English and also comments with no language tag.

[-] kosmo@satl.ink 1 points 1 year ago

For me closely monitoring the reverse proxy logs and the HTTP status therein solved it. Fixing the /inbox routing also fixed the "Susbscription pending" problem for me.

I also have one subscription that has said "Subscription pending" for a while now...

Can you explain what you mean by fixing the /inbox routing? I set up lemmy using ansible and did not set up my own routing: https://github.com/LemmyNet/lemmy-ansible

Anyway, I added "inbox" to the proxy config labeled with a #backend comment in the nginx config that the cookbook set up. From location ~ ^/(api|pictrs|feeds|nodeinfo|.well-known) {...} to location ~ ^/(inbox|api|pictrs|feeds|nodeinfo|.well-known) {...}. I'm not seeing any immediate difference, but let's see what happens.

Also, I'm not sure why it would be like this, but I thought you might want a heads up that this is how your comment appears for me on lemmy.ml, though I can see it fine on my own instance: https://i.imgur.com/pZDRxhz.png

[-] kosmo@satl.ink 1 points 1 year ago

I deleted it because I posted it from my user (not mod) account, so I guess the alt is blown lol. Interesting to see how deletion works/propagates in Lemmy anyhow. I originally had ^/(inbox|api|pictrs|feeds|nodeinfo|.well-known)/ and added an explict /inbox rule. I found it because I was watching proxy logs and was seeing that path 400, so if you're not seeing 400s in your logs, it's probably something else.

[-] admin@satl.ink 1 points 1 year ago

Since I can't reply to anyone and am having to refresh other instances to see them: Languages were originally set to English and Unspecified for site and my user, I tried selecting them all and nothing changed. I can't see any of your replies locally, so I'll have to reply on the main thread :/

[-] shortwavesurfer@lemmy.ca 1 points 1 year ago

Hmm, i know if i paste the url of a post into my instance the post shows up but the comments dont because i manually requested it

[-] bdonvr@lemmy.rogers-net.com 1 points 1 year ago

Experiencing the same issue. Vote counts not updating either.

[-] admin@satl.ink 1 points 1 year ago

I should add that I get "Subscribe Pending" instead of Subscribed on any subscribed thread from any instance, if that matters or is a symptom of something.

[-] darkfoe@lemmy.serverfail.party 1 points 1 year ago

I'm going to add: is your instance externally accessible? Other instances need to be able to reach out to it.

You can also do docker compost up (without the -d) and see the more detailed debugging info as its running. Might give you an idea where to look

this post was submitted on 05 Jun 2023
7 points (100.0% liked)

Lemmy Support

4652 readers
1 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS