I wanna be back for develop another UI for Lemmy, which will look like modern Reddit, but better.

Earlier i install lemmy with this guide: https://www.youtube.com/watch?v=4fzCUEpFnDg

but now, devs made changes around nginx, so… i cant install Lemmy now. Docker sends me errors))

If you are interested in developing a new UI, please contact me, I need the help of people who understand the installation issue.

    • SOVERSHENEN@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      Docker-compose been finished without errors, all good, but site doesnt work. I think there is some kind of error around the nginx installation on my 7 and 8 steps.

      only http://ww.uebishe.com/ (straight HTTP and WWW) respond me:

        • SOVERSHENEN@lemmy.mlOP
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          Ok. I go try it from scratch again.

          Yes i install on clear VDS fresh instance.

          Ok, i write my steps here, hope you can help me and other users :)

          1. Install VDS ubuntu 20

          2. Go to Putty, connect ssh with root;pass

          3. apt -y update && apt -y upgrade

          4. apt -y install vim

          5. Now i need instal docker

          apt -y install ca-certificates curl gnupg lsb-release

          curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

          echo “deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable” | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

          apt -y update

          apt -y install docker-ce

          1. Now need delete Apache for stability nginx:

          sudo /etc/init.d/apache2 stop

          sudo apt-get purge apache2

          1. Lets go install nginx

          apt -y install nginx

          sudo systemctl enable nginx

          sudo systemctl start nginx

          sudo systemctl status nginx

          Ok, all works. There are no errors.

          1. Install certbot for https

          apt install certbot python3-certbot-nginx

          certbot certonly --nginx -d uebishe.com,www.uebishe.com

          write my mail, and agree all steps

          1. wget https://raw.githubusercontent.com/LemmyNet/lemmy-ansible/main/templates/nginx.conf -O lemmy.conf

          change params on

          vi lemmy.conf

          systemctl restart nginx

          And now we have problem:

          and journalctl -xe told me:

            • SOVERSHENEN@lemmy.mlOP
              link
              fedilink
              arrow-up
              1
              ·
              2 years ago

              nah, the same problem.

              in addition, now I have run out of the limit for reissuing SSL certificates. Due to the fact that I cleaned and installed it from scratch more than five times. It seems that the limit will be reset tomorrow.

              • Salamander@mander.xyz
                link
                fedilink
                arrow-up
                1
                ·
                2 years ago

                Oh no! It is possible to save your SSL certificates by simply copying the files into your computer, then you don’t need to run the certbot again.

                • SOVERSHENEN@lemmy.mlOP
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  2 years ago

                  This is the least of the problems. At least it is solved simply by waiting :D

                  Maybe you will record a new video manual about how you manage to install lemmy 0.17?

                  • Salamander@mander.xyz
                    link
                    fedilink
                    arrow-up
                    2
                    ·
                    2 years ago

                    I can do that, but I can’t right now, I am very busy writing for my thesis unfortunately :/

                    If I manage to write enough tonight I might be able to do it tomorrow.

      • Salamander@mander.xyz
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        Or, I have made an nginx config file that will work for you

        If you already created an nginx configuration file, move it somewhere else. Then, get the new configuration file to the nginx folder, and then restart the nginx service by running these two commands:

        sudo wget https://raw.githubusercontent.com/Kradyz/Tutorials/main/files/uebishe.conf /etc/nginx/sites-enabled/uebishe.conf
        
        sudo systemctl restart nginx