12

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.

top 19 comments
sorted by: hot top controversial new old
[-] Coeus@coeus.sbs 5 points 1 year ago
[-] seang96@spgrn.com 2 points 1 year ago

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.

[-] TCGM@lemmy.world 0 points 1 year ago

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.

[-] mim@lemmy.sdf.org 1 points 1 year ago

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.

[-] ctr1@fl0w.cc 2 points 1 year ago

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

[-] TheOneCurly@feddit.online 1 points 1 year ago

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.

[-] ledditor@leddit.minnal.icu 1 points 1 year ago

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.

[-] redcalcium@c.calciumlabs.com 1 points 1 year ago

always make a database backup before performing upgrade.

[-] Stijn@lemmy.antemeridiem.xyz 1 points 1 year ago

I've been trying for more than a week. LemmyEasyDeploy worked. But now i'm stuck with ssl certificate.

[-] Coeus@coeus.sbs 0 points 1 year ago

Lemmy Easy Deploy handles the SSL certificates for you. You don't need to buy them

[-] Stijn@lemmy.antemeridiem.xyz 0 points 1 year ago

I get ssl errors when i try to access the site.

[-] Coeus@coeus.sbs 0 points 1 year ago

Maybe start from scratch? Maybe you could ask the developer. I bought SSL tickets but ended up not needing them

[-] Stijn@lemmy.antemeridiem.xyz 1 points 1 year ago

I've started from scratch several times. Never get further than the build command. :) But i will try again later today.

[-] TheButtonJustSpins@infosec.pub 1 points 1 year ago

What are the errors?

[-] corne@lemmy.world 1 points 1 year ago

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

[-] aggelalex@lemmy.world 1 points 1 year ago

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.

[-] redcalcium@c.calciumlabs.com 1 points 1 year ago* (last edited 1 year ago)

Post your docker-compose file and error message here so people can actually provide advises for your setup.

[-] yay@lemmy.world 0 points 1 year ago

I got mine running via Docker by copying the docker-compose, nginx, and lemmy.hjson files from the lemmy-ansible repo. Everything is working so far except votes and comments from other instances. They won't sync for some reason.

[-] jeena@kbin.social 1 points 1 year ago

Here is mine https://gist.github.com/jeena/6179470a8d616455f30635a5c71f5f64 which had a similar problem with the comments, although I couldn't post comments on my own instance either.

For me the thing was that I had to add:

map $http_upgrade $connection_upgrade {
    default upgrade;
    ''      close;
}

and

        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection $connection_upgrade;

And also change the nginx in the docker to port 8080 so my normal nginx could keep running on 80 and handle all the ssl certificate stuff.

My setup is:

Browser -> native Nginx -> docker Nginx -> lemmy

load more comments
view more: next ›
this post was submitted on 22 Jun 2023
12 points (100.0% liked)

Selfhosted

39253 readers
193 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS