this post was submitted on 03 Feb 2023
3 points (100.0% liked)
Lemmy Support
4650 readers
1 users here now
Support / questions about Lemmy.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Remove the following blocks from the docker-compose file:
And try again. Does it work?
Terminal talk: service "pictrs" refers to undefined network lemmyinternal: invalid compose project
Sorry, I did not realize that these files had not yet been updated with the changes necessary for version 0.17.0, which are described here: https://github.com/LemmyNet/lemmy/blob/main/RELEASES.md#lemmy-v0170-release-2023-01-31
I could not find an example of the files configured correctly in github, so I have uploaded some example files. You get them this way:
Then modify the variables inside {}, like the domain name and the database password.
Oh maaan, Kradiz that you! BIG THX FOR YOUR GUIDE ON YOUTUBE. I will write soon if I succeeded.
No worries! Good luck!
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:
Ah! So you skipped this step:
Now i skip old step about “wget https://raw.githubusercontent.com/LemmyNet/lemmy-ansible/main/templates/nginx.conf -O lemmy.conf”
You need to have the lemm.conf file under /etc/nginx/sites-enabled, this is the file that tells nginx how to manage the connection. Don't skip that step! Get that file and modify it by adding your domain name
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 :)
Install VDS ubuntu 20
Go to Putty, connect ssh with root;pass
Now i need instal docker
Ok, all works. There are no errors.
change params on
And now we have problem:
and journalctl -xe told me:
Try removing the lemmy.conf file from /etc/nginx/sites-enabled,
And then run:
sudo wget https://raw.githubusercontent.com/Kradyz/Tutorials/main/files/uebishe.conf /etc/nginx/sites-enabled/uebishe.conf
sudo systemctl restart nginx
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.
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.
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?
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.
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
I think that if you use the new docker-compile file, the one that includes the NGINX block, then you might not need to go through the step of the nginx configuration.
I have not tested this myself though, but I can test it when I make the updated tutorial.
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.
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: