this post was submitted on 19 Jun 2023
9 points (100.0% liked)

Selfhosted

40265 readers
558 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
 

Has anyone managed to get the docker-compose file working for ARM64/v8 architechture. I am trying to use an Oracle free tier server for self-hosting lemmy

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 7 points 1 year ago* (last edited 1 year ago) (5 children)

You'll want to use the ARM images instead of the default AMD64 images.

  • For Lemmy: image: dessalines/lemmy:0.17-linux-arm64
  • For Lemmy-UI: image: dessalines/lemmy-ui:0.17-linux-arm64

Those should get you pass any architecture related issues.

I've finally just got my instance up and running along with using my traefik gateway (instead of the nginx they have). It is 5AM on a Monday for me, so I better go take a quick nap before work. I'll make a separate post later on the steps I've taken to make that work "relatively cleanly".

Good luck!

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

So I tried to make a post, but it is not showing up. I'm also not seeing other comments on my own instance. I think there might still be some kinks I need to figure out with Cloudflare piece. In all cases, you can see the write up I've posted (supposedly in this [email protected] community) that's not showing up here: https://lemmy.chiisana.net/post/264

Edit:

It would appear to be up now: https://lemmy.world/post/299429

However, comments seems to be desync, I don't see comments on my own instance but see them on lemmy world; and also the post is some how only viewable in new, despite apparently having gained some upvotes (who'd thunk that people cared about my ranty adventure :) ). This goes to show there's still a lot of things to hash out. I'll try to update more as I figure more things out.

[–] [email protected] 2 points 1 year ago (1 children)

Only bad thing though is that there's no build for 0.17.4 for ARM64v8 right now, despite this version including some "security fixes", as stated in the changelog.

That's why I made this post.

[–] [email protected] 3 points 1 year ago (2 children)

Someone else mentioned a github issue, looks like their build script for multiarch is failing. I trust that they will resolve this shortly :)

[–] [email protected] 1 points 1 year ago (1 children)

Hey, chiming in again to ask if you might have a link to the mentioned GitHub issue? 0.18.0 is said to release soon and I'd like to know what's up.

[–] [email protected] 2 points 1 year ago (2 children)

This is the GitHub issue: https://github.com/LemmyNet/lemmy/issues/3102

Seems like the PR that WAs broken and locking was merged. So I guess we shall see.

[–] [email protected] 1 points 1 year ago (1 children)

sigh Seems like I'm gonna have to build it myself then.

[–] [email protected] 2 points 1 year ago (1 children)

Took a stab at it for about an hour, and I'm reminded how bad the docker stuff they've got going on is... I'll be sitting this one out. If you're able to make it work, please do share your notes. Thank you!

[–] [email protected] 1 points 1 year ago

Will do, thank you!

[–] [email protected] 1 points 1 year ago

Ahh yes, thank you. I overlooked that one.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

That sounds good, thanks for the heads up. :)

[–] SpecGeo 1 points 1 year ago (1 children)

Do you what is the otel reference in the docker compose e.g. "http://otel:4137" and config files? I do not see any containers using this host name.

[–] chiisana 2 points 1 year ago (1 children)

I did some quick google'ing when I saw it... otel is probably opentelemetry, but the Lemmy developers didn't include that in the released docker-compose. Perhaps it is something they're using internally. I haven't notice any telemetry related issues, yet, so I'm just keeping my fingers crossed for now...

[–] SpecGeo 1 points 1 year ago

OK. That makes sense. Thanks

[–] SpecGeo 1 points 1 year ago (1 children)

Thanks for the reply. I was looking at the latest tags and could not find the right version. Can you share your traefik configs.

[–] chiisana 1 points 1 year ago (1 children)

I have shared them in a separate post; though, it would appear that there are still some federation issues as the post appears to be some what de-sync on my own instance and lemmy.world. I'm also for some strange reason unable to see your reply on my own instance, hence why I'm replying with my lemmy world account instead... If you do make some more progress, please do share it with the community at large so more of us can have the setup we'd like!

[–] SpecGeo 1 points 1 year ago* (last edited 1 year ago) (1 children)

Thanks. I am still figuring out lemmy. When I click on the link for your instance, I cant upvote anymore. Is it possible to load that post from as part of lemmy.world instance, so that I can interact with account in this instance.somthing like this https://lemmy.world/c/[email protected]/post/264

[–] chiisana 1 points 1 year ago

Make that the two of us! I'm still very much still trying to figure things out, too!

The two links I've shared, in theory, should present the same content, and interaction on either (depending where you have your account) should be reflected on the other fairly quickly. Since your account currently is on Lemmy World, you'd want to use this link to interact with it on Lemmy World. Again, in theory, once you interact with it, be it upvoting, adding a comment, or whatever, it should propagate to my instance and be reflected there... but that's not what I'm seeing right now.

Hopefully someone can point out where I am going wrong, and help me correct the error, so we'd all be able to interact with the various instances as expected :)

[–] [email protected] 1 points 1 year ago (1 children)

Unfortunately arm images for 0.17.4 are not yet available, see https://github.com/LemmyNet/lemmy/issues/3102

[–] [email protected] 1 points 1 year ago

Yes, the 0.17-linux-arm64 tag currently mirrors 0.17.3-linux-arm64 tag as confirmed by the sha256 hash, and layers. If the developers follow best practice, when they do push 0.17.4 for ARM, it will automatically update to that.

Having said that, the github issue suggests they're trying to cross build to one standard image tag, so who knows, maybe we can migrate to 0.17 by itself in the future :)