this post was submitted on 13 Jun 2023
16 points (100.0% liked)

Selfhosted

573 readers
1 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.

Resources:

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

> Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I'm trying to stand up a Lemmy instance, and for some reason I'm just not getting it. I've got a fair bit of experience in Linux and Docker. NPM is new to me, but doesn't seem difficult.

I've looked over several walkthroughs but it seems like they all don't quite work right. Does someone have a clear step-by-step that works, or could take the time to remote in and help me get this up?

I'm running on VMWare ESXi, and I've tried both Debian and Ubuntu to get the server up. Closest I got, the Docker containers would start but seem to be throwing errors internally and don't connect to one another.

you are viewing a single comment's thread
view the rest of the comments
[–] mo_ztt@lemmy.world 3 points 1 year ago (2 children)

I just set it up from a git checkout, and it was pretty involved -- the build instructions are actually quite a bit better than usual for development software at this stage, but it's still a complicated process with some changes vs. what's in the instructions. If you're open to that route, I can try to document what I did in more detail + send it along and give some help if you get stuck.

[–] giddy@lemmy.perthchat.org 1 points 1 year ago* (last edited 1 year ago) (1 children)

Not the OP but I would appreciate it. I got stuck with building the lemmy image. Not sure why they don't just use a published image

EDIT - found the problem - the docker compose file has the build options enabled for the lemmy image and the published image commented out

EDIT 2 - latest issue - 404: FetchError: request to http://lemmy:8536/api/v3/site? failed, reason: getaddrinfo EAI_AGAIN lemmy

[–] TerryMathews@lemmy.world 1 points 1 year ago

The furthest I got last night, that was where I got stuck as well.

[–] TerryMathews@lemmy.world 1 points 1 year ago (1 children)

That would be great. I'm not opposed to building, I was actually just sitting here contemplating deep-sixing the whole docker arrangement and just building the services up. That's what I learned back in the day, and to me it feels like Docker and having everything as separate images is just giving me an additional point of failure.

[–] mo_ztt@lemmy.world 1 points 1 year ago (1 children)

Sure thing, I'll put together some notes (or more likely some proposed revisions to the "how to build from source" that's on join-lemmy.org) in the next few days I think

[–] TerryMathews@lemmy.world 1 points 1 year ago

Thanks. I'm hoping to contribute a good walk-through as well once I can get this thing going.