Hey. I really like the idea of the fediverse and Lemmy and would want to know as a beginner/not so experienced regarding selfhosting what would be the best way to get started? I saw there are vps options, but don’t know of I’m looking in the right direction.

  • @iKill101@lemmy.bleh.au
    link
    fedilink
    English
    101 year ago

    Personally… it was an experience to say the least. I went down the Docker path for my instance. I’ve tried to keep away from Docker for ages, but here I am.

    I’d recommend using the ansible playbook to get it running, as the docker documentation isn’t very detailed and it gets very confusing; especially for a beginner.

    • @blackstratA
      link
      English
      15
      edit-2
      1 year ago

      The docker documentation is not kept in sync with the docker-compose.yml it asks you to use. So you download the latest one as per instructions, but that’s being regularly updated with no thought to the documentation also being updated. It’s also doesn’t seem aimed at production deployment, just developer test environments. Then there are stupid simple things like the port number being changed in the docker-compose.yml but not in the nginx.conf or the lemmy.hjson. There desperately needs to be better control of that.

      There is a lot wrong there and it doesn’t fill me with confidence. It took me 3 hours to piece it all together last night and had to revert to picking bits out of the ansible documentation.

      • @Wander@yiffit.net
        link
        fedilink
        English
        51 year ago

        Right? Thank you for confirming that I’m not extremely stupid when I didn’t manage to get the docker installation working, only the Ansible one.

      • @kristian@lemmy.astheriver.art
        link
        fedilink
        English
        31 year ago

        Exactly, I’ve spent ages yesterday and today trying to piece together a set of configs that all work together. I thought it must have been me missing something because the last time I did it everything worked exactly as described in the documentation and it took about ten minutes to get a working instance up and running, but not this time!

        It helps slightly (slightly!) if you refer to the configs from the last release rather than the ones on the main branch that are constantly being changed, but even then you’ll have to maybe use the docker-compose.yml from the Ansible repo if you don’t want to build nginx as part of the docker install.

        Got there in the end though!

        • @blackstratA
          link
          English
          21 year ago

          Turns out I can’t upload photos due to the config file they point you at being wrong. Ffs! Direct users to a labelled release and production version. At the moment it’s chaos at the very time it needs to be as seemless as possible.

      • nocaptchaforme
        link
        fedilink
        English
        01 year ago

        I thought I was going crazy. I’m glad I wasn’t the only one having issues.

      • jjakc
        link
        fedilink
        English
        101 year ago

        Make sure you use a Debian base OS, as the playbook uses aptitude to install the dependencies. Also, you can’t use anything over Debian 11, as the way the apt repositories and gpg keys are added, and the pip packages are installed don’t work with the newer OS’.

        I found out the hard way lol

        • netburnr
          link
          fedilink
          English
          31 year ago

          The fact that this wasn’t in their install instructions made waste multiple hours yesterday. Eventually got a server working on Ubuntu 22. But then after starting to subscribe to other communities my server stopped responding Soni gave up

        • jsqribe
          link
          fedilink
          English
          21 year ago

          Did you start with arch or something 😂 sounds like you went through it lol

          • jjakc
            link
            fedilink
            English
            21 year ago

            Not even ha, just tried to install on Debian 12

    • @travis@lemmy.blue
      link
      fedilink
      English
      21 year ago

      +1 for Docker, specifically Docker Compose. Lemmy probably isn’t the right container to learn Docker with, but once you have the fundamentals down spinning up Lemmy was pretty seamless.