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.
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.
Now i skip old step about “wget https://raw.githubusercontent.com/LemmyNet/lemmy-ansible/main/templates/nginx.conf -O lemmy.conf”
change hostname to “uebishe.com” (without other changes, for the test)
And now, we run Docker Compose?
On step 6/7 in “Container uebishecom-proxy-1” terminal told me:
hmm… your advice?
Remove the following blocks from the docker-compose file:
networks: # communication to web and clients lemmyexternalproxy: # communication between lemmy services lemmyinternal: driver: bridge internal: true
proxy: image: nginx:1-alpine networks: - lemmyinternal - lemmyexternalproxy ports: # only ports facing any connection from outside - 80:80 - 443:443 volumes: - ./nginx.conf:/etc/nginx/nginx.conf:ro # setup your certbot and letsencrypt config - ./certbot:/var/www/certbot - ./letsencrypt:/etc/letsencrypt/live restart: always depends_on: - pictrs - lemmy-ui
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:
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
Find on github comment about it. I will try
but this doesnt help