I have tried installing it with docker on Ubuntu 20.04 and 22.04 LTS but cannot seem to get it working. The build keeps erroring out with docker errors.
I was able to get it running from source on Gentoo (without docker). Building from source is an option but you need to manage the dependencies and daemons yourself. This is my first comment! Good luck with your setup
You are using two technologies that have a bad of working like shit, together; Ubuntu/snap and docker. You can try podman if you want, or a different distro. Or, at least, install the official docker way.
Will self-hosting Lenny have the limitation that you’ll be missing a lot of comments when subscribing to magazines from other instances? I am considering it tough
I used Lemmy Easy Deploy
The Ansible method is easy and worked fine for me on 22.04: https://github.com/LemmyNet/lemmy-ansible
Just remember to setup ssh without a password using this command from your local machine:
ssh-copy-id yourserver.com
If your using docker I recommend getting a docker-compose file that does 98% of the config work for you. Pretty sure there’s one in the install docs.
I’ve been having trouble understanding how the docker-compose thing works, and the whole… impermanence of docker containers. Got any tutorials you’d recommend? Note I’m on Windows.
Are you planning to host it on a Windows machine?
If you don’t have experience with docker, don’t jump straight to docker compose. Start simpler.
If you want to have data persist after a container is killed, have a look at the -v option of “docker run”. It allows you to mount a volume.
Yes, I’d be hosting it through Docker Desktop on my Windows server.
Most programs I’d want to host, including Lemmy, pretty much only seem to work through docker-compose.
I’ve been trying for more than a week. LemmyEasyDeploy worked. But now i’m stuck with ssl certificate.
Lemmy Easy Deploy handles the SSL certificates for you. You don’t need to buy them
I get ssl errors when i try to access the site.
Maybe start from scratch? Maybe you could ask the developer. I bought SSL tickets but ended up not needing them
I’ve started from scratch several times. Never get further than the build command. :) But i will try again later today.
I had some luck with the prebuilt images from dessalines’ dockerhub and using the compose file in the repo with logging commented out.
It was stable for about a week before I tried to update and broke my database and federation completely. I might try again when 0.18 stable drops.
another docker user here. Why does our thumbnails look the same :) I know there is something wrong with my setup. I made a post here https://leddit.minnal.icu/post/1045 but still no idea.
always make a database backup before performing upgrade.