After I saw the news of Beehaw defederating from Lemmy.world I decided the best route to go would be to try and set up a self hosted instance to have the most control of my account as possible. I use Linux on the desktop but have no experience running a server. So far I’ve managed to get an instance that is able to get posts from the communities I’ve searched (which from I understand is typical behavior due to no pulling of historic data) however I’ve ran into issues. Both my Domain and VPS are from namecheap and I have the proper A records set up but am unsure what else I need to do to get everything working.

What I’ve done so far to get it going : Purchased a domain and VPS on namecheap. Got an admin user created and ssh set up with keys to login. I initially used Debian 11 because I tried to use the YunoHost method as it seemed easier but it uses an older version of Lemmy and just gave me headaches and couldn’t even change settings on Lemmy. I decided to try Ansible kept having an error related to nginx (was installed but wasn’t showing up) so decided to go with Ubuntu 22.04 which allowed me to get Lemmy up and running in the state it has now. Server Specs:

Ubuntu 22.04

40GB SSD Storage

2GB RAM

Dual Core CPU (What comes with the lowest Tier Namecheap VPS)

Not much but figured for 1 user should be enough and I can always migrate to a better server.

Used Ansible as the method to install Lemmy

Issues I’m currently having:

  • new data such as votes and comments from outside instances do not appear (posts do) , and comments and votes I send to other instances aren’t visible outside mine

  • verification and notification emails do not send

  • cannot upload images

I will edit to add any issues I run into or solutions to the ones I already have. Any help that can be given would be appreciated. If anybody wants to register to take a look at what’s going on yourself just mention your main Lemmy username in the application and this post.

EDIT: I WANT TO GIVE A MASSIVE THANK YOU TO @[email protected], HIS SCRIPT FIXED EVERYTHING EXCEPT THE EMAIL (which I know is on my end and isn’t a huge deal) l

  • CaptainApatheticOP
    link
    English
    31 year ago

    Edited to include a summary of what I’ve done so far. I may try to go more in depth with it, but I am thinking of making a new post detailing what I did after I get it up and running fully functional. That way I’ll know all the mistakes I made and bumps encountered and how I overcame them. I will make sure to include a link to the post in an edit here when it’s done.

    • @MigratingtoLemmy
      link
      English
      21 year ago

      Thanks. I also suggest a Github gist which will track the changes you make (if you log them).

      • Captain Apathetic
        link
        fedilink
        English
        11 year ago

        Tbh I have no idea how to use git other than clone 😂, I ended just resetting the VPS and trying UberDuck77’s script and that did the trick. Maybe now I should learn to code so I can make a bot account to mass subscribe to communities to populate my instance