ShinyLemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Curious Mind @lemmy.world to Selfhosted@lemmy.worldEnglish · 1 year ago

How do I build up a lemmy instance right from the scratch ?

message-square
message-square
15
link
fedilink
29
message-square

How do I build up a lemmy instance right from the scratch ?

Curious Mind @lemmy.world to Selfhosted@lemmy.worldEnglish · 1 year ago
message-square
15
link
fedilink
  • ᛒᛚᚢᛖᛇᚦᛖᚱ (BlueÆther)@no.lastname.nz
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    https://github.com/ubergeek77/Lemmy-Easy-Deploy

    Is very easy, by @ubergeek77@lemmy.ubergeek77.chat. Not sure if they are doing more updates though?

    • ubergeek77@lemmy.ubergeek77.chat
      link
      fedilink
      English
      arrow-up
      13
      arrow-down
      1
      ·
      1 year ago

      Hi!

      The project is still active! I just haven’t needed to develop any updates because it’s currently stable, and the upstream Docker compose template, which is a reference for my project, hasn’t changed in 9 months:

      https://github.com/LemmyNet/lemmy-ansible/blob/main/templates/docker-compose.yml

      Whenever Lemmy releases a new Docker container, it will just pull the latest one automatically. This will continue to be compatible indefinitely until the compose deployment (linked above) has any breaking changes added to it that I need to incorporate.

      Thank you for the shout out :)

      • ᛒᛚᚢᛖᛇᚦᛖᚱ (BlueÆther)@no.lastname.nz
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        1 year ago

        I did have a slight issue when I went to 0.19.11 with caddy cloudflair, but that is outside of the bounds of what you control

        • ubergeek77@lemmy.ubergeek77.chat
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          1
          ·
          1 year ago

          What issue did you have? If I can handle it for the user automatically, I can add a best effort attempt to avoid it.

          • ᛒᛚᚢᛖᛇᚦᛖᚱ (BlueÆther)@no.lastname.nz
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            1
            ·
            1 year ago

            Just a build conflict, it was resolved upstream in a day or so:

            [proxy builder 2/2] RUN xcaddy build --with github.com/caddy-dns/cloudflare:
            …
            3.16 go: downloading github.com/googleapis/enterprise-certificate-proxy v0.3.2 

            53.19 go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da 

            53.47 2025/04/10 07:47:10 [INFO] exec (timeout=0s): /usr/local/go/bin/go build -o /usr/bin/caddy -ldflags -w -s -trimpath -tags nobadger,nomysql,nopgx 

            68.67 # github.com/caddyserver/certmagic 

            68.67 /go/pkg/mod/github.com/caddyserver/certmagic@v0.21.6/solvers.go:386:9: invalid composite literal type libdns.Record 

            68.67 /go/pkg/mod/github.com/caddyserver/certmagic@v0.21.6/solvers.go:445:17: zrec.record.Type undefined (type libdns.Record has no field or method Type) 

            68.67 /go/pkg/mod/github.com/caddyserver/certmagic@v0.21.6/solvers.go:449:45: zrec.record.Name undefined (type libdns.Record has no field or method Name)
            88.82 2025/04/10 07:47:45 [INFO] Skipping cleanup as requested; leaving folder intact: /tmp/buildenv_2025-04-10-0746.3854595282 

            88.82 2025/04/10 07:47:45 [FATAL] exit status 1
            failed to solve: process “/bin/sh -c xcaddy build --with github.com/caddy-dns/cloudflare” did not complete successfully: exit code: 1`

            • ubergeek77@lemmy.ubergeek77.chat
              link
              fedilink
              English
              arrow-up
              3
              arrow-down
              1
              ·
              1 year ago

              Ah I see. I’ve gotten into some back and forth with the maintainer of Caddy about these build inconsistencies and lack of versioning, and he responded by locking issues on me… twice.

              After that communication, I resigned to just keep things as they are because upstream is not willing to make the experience better for use cases like these.

              He is impossible to work with, but Caddy is just really good :/

Selfhosted@lemmy.world

selfhosted@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !selfhosted@lemmy.world

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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don’t duplicate the full text of your blog or readme if you’re providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

  • selfh.st Newsletter and index of selfhosted software and apps
  • awesome-selfhosted software
  • awesome-sysadmin resources
  • Self-Hosted Podcast from Jupiter Broadcasting

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

Questions? DM the mods!

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 828 users / day
  • 3.77K users / week
  • 6.77K users / month
  • 16.5K users / 6 months
  • 1 local subscriber
  • 60.6K subscribers
  • 5.24K Posts
  • 128K Comments
  • Modlog
  • mods:
  • Ruud@lemmy.world
  • Loki@lemmy.world
  • CannaVet@lemmy.world
  • devve@lemmy.world
  • ayyy@sh.itjust.works
  • curbstickle@anarchist.nexus
  • curbstickle_lw@lemmy.world
  • BE: 0.19.19
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org