this post was submitted on 13 Jun 2023
19 points (91.3% liked)

Selfhosted

40347 readers
408 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
 

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 2 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 2 points 1 year ago* (last edited 1 year ago) (2 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 3 points 1 year ago

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

[–] seang96@exploding-heads.com 2 points 1 year ago

I had an AI write 95% of my kurbenetes config. I had this at one point, it is likely you are not proxying (usually nginx) the Lemmy backend to /api and there are are other endpoints that need mapped to it too.

[–] 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.