this post was submitted on 22 Dec 2023
8 points (78.6% liked)

Selfhosted

61647 readers
176 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:

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:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

Hi! I'm hoping for some guidance upgrading my instance. I'm still running on v0.17.3 because I ran into some issues upgrading to 0.18 and didn't have time to really figure it out. Now that the current release is v0.19, I have people on my instance asking to upgrade and I don't blame them. Can I simply point Docker compose at the latest release, or do I have to do incremental upgrades? What do I need to look out for with v0.18? Documentation seems to be pretty slim for whatever breaking changes happened during that release cycle and how to deal with them. Any help is appreciated!

EDIT: Thank you for all the help! I also had to update pictrs and fix some small config issues and then everything worked as expected. I'm now on 0.19.1!

you are viewing a single comment's thread
view the rest of the comments
[–] mhzawadi@lemmy.horwood.cloud 1 points 2 years ago (1 children)

Update lines 33 and 48 with 0.18.5, then do a docker compose pull and then docker compose up -d

Once lemmy is up and happy, then repeat for 0.19.1

[–] penguin_ex_machina@lemmy.world 1 points 2 years ago (2 children)

Upgraded to 0.18.5, which now gives me this error:

lemmy-lemmy-ui-1  | API error: FetchError: request to http://lemmy:8536/api/v3/site?auth=AUTH_KEY failed, reason: connect ECONNREFUSED IP_ADDRESS:8536
[–] mhzawadi@lemmy.horwood.cloud 2 points 2 years ago (2 children)

You might need to wait for lemmy to sort it's self out before lemmt-ui is happy

[–] stown@sedd.it 1 points 2 years ago

I can second this. It took a while after an update for the domain to show properly and not give an error. I don't know exactly how long but I started it in the early morning and it wasn't working but by 11 am it was all sorted out.

[–] penguin_ex_machina@lemmy.world 1 points 2 years ago (1 children)

Meaning I just wait a bit and retry later?

[–] mhzawadi@lemmy.horwood.cloud 2 points 2 years ago

Yes, I had the same issue when I updated to 0.19

[–] jon@lemmy.tf 1 points 2 years ago

UI doesn't come up until database migrations fully complete. Can take half an hour or more depending on how much content is indexed in your instance.