10
submitted 1 year ago* (last edited 1 year ago) by slashzero@lemmy.ml to c/lemmy_support@lemmy.ml

Well, I have an instance running. At startup it outputs federation enabled, host is redacted, but I don't see anything when looking at all. I can't search for other instance communities. I thought I would be able to use my local instance to browse other instance/communities and post there from my instance. Is that not how this works? Did I miss a step setting it up?

Some more details: Any search I do results in a timeout error. This is from the lemmy logs.

In all my years of software development and testing, I've never seen an HTTP status code 101... 101: switching protocols


UPDATE: it's fixed!

Thanks to @pe1uca@lemmy.pe1uca.dev who pointed me in the right direction, and thank you everyone who contributed to this post in the comments with suggestions and support!

Here are the steps:

add a new network interface

docker network create lemmyexternal

connect the lemmy container (lemmy_lemmy_1, unless you renamed it)

docker network connect NETWORK_ID CONTAINER_ID

(you can get the network and container IDs with docker network ls and docker container ls)

modify the docker-compose.yml to add the new network, and link it to the lemmy service

networks:
  # communication to web and clients
  lemmyexternalproxy:
  lemmyexternal:
  # communication between lemmy services
  lemmyinternal:
    driver: bridge
    internal: true
services:
  lemmy:
    image: dessalines/lemmy:0.17.4-rc.1
    hostname: lemmy
    networks:
      - lemmyinternal
      - lemmyexternal

save, and restart

docker-compose restart

2
submitted 1 year ago* (last edited 1 year ago) by slashzero@lemmy.ml to c/lemmy_support@lemmy.ml

Hi! I decided to experiment with my own instance. Went the docker route, and got everything working, except mail.

I setup postfix, and I can send mail to yahoo from the cli, however neither localhost:25 or actual.fqdm:25 work from the running lemmy_lemmy_1 container. The error is:

  • FQDM: email_send_failed: Connection error: Connection refused (os error 111)
  • localhost:25 email_send_failed: Connection error: Address not available (os error 99)

Has anyone seen this? Feels like a connectivity issue between the running container and host.

This is not letting me save an email address in my user settings.

I guess the intent is for people to use an external smtp service, rather than set up their own?


UPDATE:

tldr; I got mail working with postfix running locally.

  • I tried several "free" smtp relay services, and consistently got timeout errors.
  • Out of frustration, I re-enabled my local postfix server and reconfigured Lemmy back to that.
  • Tailing the postfix logs, I noticed it was rejecting the connection from the Lemmy instance with a relay not allowed error, which had an "internal IP of 192.x" (from the lemmyinternal network).
  • So, I added that IP /32 to "mynetworks" on the host in /etc/postfix/main.cf, restarted postfix, and my instance can now send out emails. Yay!

Thanks for the suggestions everyone. I'll leave this post here in case anyone else runs into this problem.

[-] slashzero@lemmy.ml 3 points 1 year ago

Yeah, I saw that too, but other places I signed up still haven’t approved me, so I signed up here.

[-] slashzero@lemmy.ml 17 points 1 year ago

Time will tell. Given Reddit’s behavior recently, alternatives like lemmy are bound to see a spike in users. Just keep in mind that more users doesn’t necessarily mean good content.

[-] slashzero@lemmy.ml 4 points 1 year ago* (last edited 1 year ago)

I haven’t heard anything either. They are probably slammed. 🤷🏻‍♂️

You can still subscribe to and post to their communities from here. You don’t actually need a user on beehaw.org

Open the hamburger menu, then click the search icon and put [!gaming@beehaw.org](/c/gaming@beehaw.org) in the search box and click search. You’ll then be able to look at that community from lemmy.ml, and in the sidebar you can subscribe. You can also up and downvote, comment, etc.

Replace gaming with whatever community you are trying to join. Also beehaw.org is just an example. You can “join” any instance that isn’t currently blocked by lemmy.ml AFAIK.

[-] slashzero@lemmy.ml 4 points 1 year ago

I’ve only been here a day or so, but having to search for the community doesn’t seem that bad? It’s almost exactly like searching for a subreddit to join.

/r/subreddit turns into !community@address, like !gaming@beehaw.org

And once you are on that community you can open the sidebar and subscribe (join in Reddit terms).

[-] slashzero@lemmy.ml 7 points 1 year ago* (last edited 1 year ago)

Well, my understanding is your user exists on whatever instance you signed up on. You could technically create users on every single instance, but that is not necessary. You only need one user to exist somewhere, and then you can subscribe to, and post to communities on other instances.

For example: from lemmy.ml, if you search for [!gaming@beehaw.org](/c/gaming@beehaw.org) you can then open the sidebar and subscribe to, and post to, the gaming community on beehaw.org with your lemmy.ml user.

!gaming@beehaw.org is not the same community as !gaming@lemmy.ml

[-] slashzero@lemmy.ml 4 points 1 year ago

Yup. That played a big role for me, too. The other factor was lemmy.ml was the first to approve my signup, finally giving me the ability to post. I’m still looking around to get a feel for other instances, and might even set up my own.

[-] slashzero@lemmy.ml 5 points 1 year ago

I’d wager a large percentage are bots, too!

[-] slashzero@lemmy.ml 16 points 1 year ago

I’m not ditching Reddit, just here trying out alternatives.

How has your lemmy experience been so far?

Well… I’m scrolling and F5’ing as if I was on Reddit, so honestly doesn’t feel that different, yet.

[-] slashzero@lemmy.ml 15 points 1 year ago

That’s, so sad. Apollo has so many users that are going to be heartbroken. Feel bad for Christian.

[-] slashzero@lemmy.ml 5 points 1 year ago* (last edited 1 year ago)

Same here! I was starting to think my application was rejected. So I signed up here on lemmy.ml and was approved fairly quickly.

[-] slashzero@lemmy.ml 5 points 1 year ago* (last edited 1 year ago)
  • Wow, wownoob, and other game specific subreddits.
  • Star Trek, Star Wars, and other sci-fi movie/show related subreddits
  • NFL team and other sports related subreddits
  • Fantasy Football
[-] slashzero@lemmy.ml 18 points 1 year ago* (last edited 1 year ago)

First post for me!

Sorry, I applied and got approved here. Still waiting to hear back from beehaw…

I’m really digging this UI compared to Reddit, but I am 99.9% a mobile user via the native Reddit app (don’t @ me!)

I am very tempted to setup my own instance. Wondering what resource usage looks like for an instance.

view more: next ›

slashzero

joined 1 year ago