0 Followers
0 Following
1 Posts

Trying to set up my own Lemmy server, but I think I'm in over my head

https://lemmy.world/post/503363

Trying to set up my own Lemmy server, but I think I'm in over my head - Lemmy.world

I tried for several days to host lemmy 0.17.4 using the docker install instructions, but I was less than successful. The instructions seemed to be riddled with mistakes and and the docker-compose.yml file had some errors. I eventually mostly got it up and running, but I could never access the site through the nginx container. I had to add the lemmy-ui to the external network and expose 80 and 443, and then I could access the UI. But it seemed that the UI was unable to communicate with the DB. And I had to comment out all of the loggers in docker-compose.yml, because I they were giving me errors. Anyway, I thought I would give it another shot now that 0.18 has been released and the instructions have been updated. It seems to be much better! I was able to almost get it up and running on my first try. However, there is one error. The nginx container failed to start. There is a file it is trying to mount, but the file doesn’t exist. And the instructions don’t seem to say anything about creating that file or where to download it. Any help would be much appreciated! The instructions I am following: https://join-lemmy.org/docs/administration/install_docker.html [https://join-lemmy.org/docs/administration/install_docker.html] The error: Creating lemmy_proxy_1 ... error ERROR: for lemmy_proxy_1 Cannot start service proxy: crun: mount `<path>/lemmy/nginx_internal.conf` to `etc/nginx/nginx.conf`: Not a directory: OCI runtime error ERROR: for proxy Cannot start service proxy: crun: mount `<path>/lemmy/nginx_internal.conf` to `etc/nginx/nginx.conf`: Not a directory: OCI runtime error ERROR: Encountered errors while bringing up the project. Edit: I ended up finding the file in the lemmy-ansible github project here: https://raw.githubusercontent.com/LemmyNet/lemmy-ansible/main/templates/nginx_internal.conf [https://raw.githubusercontent.com/LemmyNet/lemmy-ansible/main/templates/nginx_internal.conf] It all comes up now, and I can access it from outside the server. Though, it is http only, even though I have https set to true in docker-compose.yml. And when I try to do the admin sign up, I get the error: SyntaxError: Unexpected token 'O', "Origin is "... is not valid JSON

Mikei went under this blanket all by herself

https://lemmy.world/post/450484

Mikei went under this blanket all by herself - Lemmy.world

The was back in the winter when it was cold. She first went under the blanket completely, but after a few minutes, she poked her nose out like this.

Mikei woke up from her nap with a derpy face

https://lemmy.world/post/320081

Mikei woke up from her nap with a derpy face - Lemmy.world

Mikei loves her taco truck

https://lemmy.world/post/168377

Mikei loves her taco truck - Lemmy.world

Mikei trying to stay awake

https://lemmy.world/post/156044

Mikei trying to stay awake - Lemmy.world

Mikei thinks we got this box just for her.

https://lemmy.world/post/138060

Mikei thinks we got this box just for her. - Lemmy.world

Mikei things we got this box just for her.

https://lemmy.world/post/137963