• 6 Posts
  • 38 Comments
Joined 3 年前
cake
Cake day: 2022年3月19日

help-circle










  • Hello again.

    I managed to run version 0.17 only by installing 0.16.4 (with your guide) and then upgrading to 0.17.0 (according to the official guide).

    I think that a new guide is not required. It just seems that initially there was a problem in the distribution of the new Lemmy itself, says Dessalines https://github.com/LemmyNet/lemmy/issues/2700

    For future visitors of this topic who have encountered errors during the update -> if you have an error after the update, you may not have correctly rewritten the lines in the lemmy-ui Block. They must contain 2 words LEMMY: LEMMY_UI_LEMMY_***********

    PS: Im running to start dev new UI :)




  • https://shownotes.opensourceisawesome.com/lemmy/

    now I’m trying to make an installation using this guide, but I’m facing similar problems. unfortunately, my knowledge is not enough to solve them, but I think it will be interesting for you to familiarize yourself with this in order to gain some knowledge, I do not know.

    I may be wrong, but it seems all the problems are due to nginx :D

    UPD: I also tried to do the following. I installed version 0.16.4 with this guide from opensourceisawesome.com, it was installed normally.

    But when I tried to upgrade to 0.17 according to the official guide, I ran into problems again, the site crashed.


  • Yes, I understand, anytime you’re free.

    It’s just that in the coming months I have a lot of time to continue developing the UI and I decided that it would be useful for the Lemmy community. Considering that I have already done this before. Hope i dont get stuck in such a stupid stage :D




  • 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: