• 5 Posts
  • 21 Comments
Joined 3Y ago
cake
Cake day: Mar 19, 2022

help-circle
rss

https://editorjs.io/

One of its revised versions is used on vc.ru , dtf.ru and tjournal.ru . This helps to improve user interaction with content generation.


I found that now iframes don’t work on lemmy and it’s unclear how to embed videos or playlists. maybe you would consider integrating editorjs? Otherwise, creating comments and posts doesn’t look User friendly.



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


I find solves: when u updated, dont forget check lemmy-ui environment variables

I skipped second word LEMMY:

LEMMY_UI_LEMMY_INTERNAL_HOST=lemmy:8536

LEMMY_UI_LEMMY_EXTERNAL_HOST={{ domain }} \

when i restore this -> all work fine :)



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


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?


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.


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:


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:



Oh maaan, Kradiz that you! BIG THX FOR YOUR GUIDE ON YOUTUBE. I will write soon if I succeeded.


Terminal talk: service “pictrs” refers to undefined network lemmyinternal: invalid compose project


Find on github comment about it. I will try

docker run --detach --publish 80:80 --name webserver nginx

but this doesnt help


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. Now i skip old step about “wget https://raw.githubusercontent.com/LemmyNet/lemmy-ansible/main/templates/nginx.conf -O lemmy.conf”

  2. 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?



![](https://lemmy.ml/pictrs/image/08446354-56ab-4938-90f7-b41b0f309514.png) 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.
fedilink

Hi, I tried to make a classic interface for Lemmy. U can see this in 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/soverxxx/lemmy-ui https://github.com/soverxxx/lemmy It is necessary to install both of them. I will try to support Lemmy feature updates for this UI. A few clarifications: >- This UI only works when selecting the theme "Litera.css" > - Other themes don't work as they should > - I have already started developing a dark theme It still has a lot of bugs and redneck code (mine), but it's convenient to use it.
fedilink

I try twice’s make request pull, but he declined or deleted, idk. my main problems:

  • “webp” restrictions for previews up to 250px;
  • location of div (title + author info) below preview;
  • lack of text preview (which is available in the mobile version)

Unfortunately, most step-by-step tutorials assume knowledge of many basic things, which are not always even mentioned. For example, recently one of the users tried to explain to me that you just need to use the command "docker build -t lemmy-ui. " and etc., but there is a funny problem: I didn’t even understand where (in which environment or in which program) I can use it, and where I can’t. And also what to do after.

And so everything turns into collecting a million needles in a haystack. Of course, I understand that this is an integral part of learning everything related to programming. But often life works in such a way that one person, a professional in his field, can spend 4 hours of his time, saving 400 hours for 100 beginners. At the same time, without such help from a professional, probably 95% of potential active users and novice developers can simply get stuck and abandon their interest.


Hi, i wanna create new UI for Lemmy federations, but i have big problems with an understanding of linux system. I made a small improved version, but in my opinion it is not convenient and beautiful enough. Nevertheless, I have already made a pull request to add this css to the list of topics. Perhaps there are people here who will help me edit the original Lemmy-UI and install it on my VDS so that I can continue development. The main changes that I need to make for further development are described here: https://github.com/LemmyNet/lemmy-ui/issues/610 Of course, I tried to make a fork and edit it myself, but I just don't understand how to implement this into the docker/ansible installation. I meet a lot of mistakes and misunderstandings of the system design on the way (I'm talking about myself ignorance in this matter). That's why I'm looking for outside help, maybe someone has free time to improve Lemmy for the whole community, it would also be cool if you understood any Slavic language.
fedilink

Change preview img sizes
Hello. I have already written my question, but your answer has greatly confused me. I found how I can edit CSS, I just connected via Filezilla to SFTP and made the changes I needed in "/var/lib/docker/overlay2/5a3c8300921407520fee8ff0ad1d8dbe1be7234e56fb77b6c39398aada06629a/merged/app/dist/assets/css/themes". But I'm stuck in the main problem. On the main page of the site, previews of topics are displayed in sequence: ``` <picture> <source srcset="https://led.ural.wtf/pictrs/image/98fab6dd-f762-47ce-873a-cc8c5446c491.jpeg?format=webp&thumbnail=256" type="image/webp"><source srcset="https://lem.ouraw.wtf/pictrs/image/98fab6dd-f762-47ce-873a-cc8c5446c491.jpeg"><source srcset="https://lem.ouraw.wtf/pictrs/image/98fab6dd-f762-47ce-873a-cc8c5446c491.jpeg?format=jpg&amp;thumbnail=256" type="image/jpeg"> <img class="img-fluid thumbnail rounded" src="https://lem.ouraw.wtf/pictrs/image/98fab6dd-f762-47ce-873a-cc8c5446c491.jpeg" alt="" loading="lazy"></picture> ``` Thus, because of **"&thumbnail=256"** I can't stretch the image by more than 256px (in CSS), otherwise it starts to spoil the quality. **My question is: how can I remove this part of the code via SFTP?** You sent me Lemmy UI, but due to ignorance of Linux and lack of readme/faq, I don't even understand what to do with it. And is it really necessary? After all, I have already successfully established my Lemmy Federation. [@nutomic@lemmy.ml](https://lemmy.ml/u/nutomic)
fedilink

Change main page html
How i can edit html main page? Where i can find main html file thru FTP?
fedilink