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 @ubergeek77@lemmy.ubergeek77.chat, HIS SCRIPT FIXED EVERYTHING EXCEPT THE EMAIL (which I know is on my end and isn’t a huge deal) l

  • MigratingtoLemmy@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Could you document the process you’re going through trying to host Lemmy? Would be helpful for other beginners such as myself.

    Thanks!

    • CaptainApathetic@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 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.

  • netburnr@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    You need to setup mail server information in the ansible configuration. I used Gmail with app passwords. The name cheap vps can’t email out by itself.

    For the other issues I can not help.