How install Lemmy 0.17 version?
How install Lemmy 0.17 version?
Hi, I tried to make a classic interface for Lemmy. U can see this in uebishe.com [http://uebishe.com] [https://lemmy.ml/pictrs/image/d3a8709b-846f-4444-b6a2-f1ab55ebb4d6.png] My work is available for general use, if you want - you can find the necessary folders on my github. https://github.com/sover...
![Another UI for Lemmy Insances - Lemmy](https://lemmy.blahaj.zone/pictrs/image/0NYmXJpZpU.png?format=webp&thumbnail=256)
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.
Do you want to install a fresh instance, or do you want to upgrade an instance?
If you are installing fresh, most of that tutorial is still going to work out. But you now need to pull the config file this way:
wget https://raw.githubusercontent.com/LemmyNet/lemmy/main/config/defaults.hjson lemmy.hjson
If you install the more recent docker version, you don't have to install docker-compose the same way. Follow the instructions from the website, and use 'docker compose' instead of 'docker-compose'.
The nginx configuration does not need to change.
What problems are you getting?
1 0 ReplyHello 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 :)
1 0 ReplyGreat job figuring that out!
At some point it would be fun to work on some new guides anyway :-)
2 0 Reply
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
-
apt -y update && apt -y upgrade
-
apt -y install vim
-
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
- Now need delete Apache for stability nginx:
sudo /etc/init.d/apache2 stop
sudo apt-get purge apache2
- 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.
- 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
-
Now i skip old step about "wget https://raw.githubusercontent.com/LemmyNet/lemmy-ansible/main/templates/nginx.conf -O lemmy.conf"
-
mkdir /var/www/uebishe.com
cd /var/www/uebishe.com
wget https://raw.githubusercontent.com/LemmyNet/lemmy/main/config/defaults.hjson
wget https://raw.githubusercontent.com/LemmyNet/lemmy/main/docker/prod/docker-compose.yml
mv defaults.hjson lemmy.hjson
mkdir -p volumes/pictrs
chown -R 991:991 volumes/pictrs
vi lemmy.hjson
change hostname to "uebishe.com" (without other changes, for the test)
And now, we run Docker Compose?
docker compose up -d
On step 6/7 in "Container uebishecom-proxy-1" terminal told me:
Error response from daemon: driver failed programming external connectivity on endpoint uebishecom-proxy-1 (e52f822be8a0dc7dab6a590c47a4854b6cf3878b9bf079688eadfd8e6ecf0092): Error starting userland proxy: listen tcp4 0.0.0.0:80: bind: address already in use
hmm... your advice?
1 0 ReplyFind on github comment about it. I will try
docker run --detach --publish 80:80 --name webserver nginx
but this doesnt help
1 0 ReplyRemove 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?
1 0 Reply
-
I learned about #teddit!
1 0 Replybut is just front-end for Reddit.
1 0 Reply
A YouTube link was detected in your post. Here are links to the same video on Invidious, which is a YouTube frontend that protects your privacy:
1 0 ReplyA YouTube link was detected in your post. Here are links to the same video on Invidious, which is a YouTube frontend that protects your privacy:
1 0 ReplyA YouTube link was detected in your post. Here are links to the same video on Invidious, which is a YouTube frontend that protects your privacy:
1 0 Reply