this post was submitted on 09 Jun 2023
10 points (100.0% liked)
Lemmy Support
157 readers
3 users here now
Support / questions about Lemmy.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
During initial setup, did you specify to federate with yourself? Clicking the instances link at the bottom of your page, shows:
If you specify an instance to explicitly federate with, all other instances are disallowed.
When I go look in the admin settings, both Allowed and Disallowed boxes are blank, but it's possible I put my host in somewhere I wasn't supposed to in the configs. Let me double check that, where in the configs files would I be looking?
Sorry I have no idea. I've just never seen an instance "linked" to itself. Something is definitely wrong. Might be easier to blow away the database and start again.
I did enable and disable federation debug mode, would that have bunged something up?
I've never tried it, but I wouldn't think so. I'd expect it to be more verbose in logging.
Blew away the database and it's still there. Removed all references to apollo.town in the docker-compose, lemmy.hjson, and nginx, other than in the lemmy.json where it SPECIFICALLY says to put your domain name. I'll change that anyway to try it
As a logged in user have you tried searching for a remote community such as: !lemmy_support@lemmy.ml
Nothing comes up on my server. Other servers can see me.
Create a community on your instance to test with.
Ah HA! Whatever I add to lemmy.hjson is added as a federated instance.
And now lemmy.ml is listed as my only linked instance.
yeah that should be your own hostname... "apollo.town".
well that's what I'm saying - it was set to "apollo.town" and I federated with myself. I set it back to lemmy.ml and blew the database, and now I'm federated only with lemmy.ml. Whatever I put there is federated.
I'm not sure that's not by design, because lemmy.ml lists itself on Instances here.
Ok, weird. I guess set it back to your own hostname and create a local community to play with and find from other instances.
Sorry, not sure what is going on. I searched and added !announcements@apollo.town on my instance. But making a post never shows up on your side.
Check the logs, if you see something about http error for lemmy.ml then the issue is the internal network.
Add a 3rd network just like the one for the proxy and add it to the lemmy container.
What happened to me was caused by this, the lemmy container couldn't connect to the internet so it wasn't able to find the other instances.
I think you might be on to something. I looked up myself(@tekeous@beehaw.org from apollo.town and got the following:
I'm not too familiar with docker networks - how would I add a third one?
So you want to have this:
And in the container this.
(leave the rest as is, you can name the new network however you want)
You're a bloody genius, thank you, that appears to have solved the problem.
Nice! This confirms it, I'll check tomorrow to share this in the repo to update the documentation.
I just started this about 15 minutes ago, so this is as clean as it gets. I must have just missed something somewhere.