I am pretty new to the whole self-hosted thing and want to ensure I have the latest security fixes even for my tiny instance.

I installed my instance using Ansible and am trying to find the steps to update my lemmy-ui version but I am not having a ton of luck. Is there documentation or some steps I can take to update?

Meow.tar.gz
link
fedilink
English
72Y

Yes, go to your Lemmy instance and run a docker-compose pull. This should pull the latest updates for you. Before pulling the latest instance, I would recommend running docker-compose down first. This worked for me but I set my instance up without using Ansible. That much said, I believe it should work for you as well. You might need to edit the docker-compose.yml file and specify the version as latest.

@[email protected]
link
fedilink
English
32Y
@[email protected]
creator
link
fedilink
English
42Y

Funnily enough I am gregpxc (the one who posted the noob instructions there) lol

@[email protected]
link
fedilink
English
32Y

Thanks for those, btw. Both docker and sql are things that I’m not super familiar with, so it was nice to have a guide.

@[email protected]
creator
link
fedilink
English
72Y

I am glad they helped! I am new to this as well so after piecing all the steps together I wanted to make sure it was easier for other first timers.

@[email protected]
link
fedilink
English
42Y

Just wanted to say, I love people with attitudes like yours. Figure out something challenging and then immediately put your knowledge to use by helping others through the challenges you just faced.

Kudos 👍

@[email protected]
creator
link
fedilink
English
32Y

I’m a Sys Admin that actually documents so it comes naturally at this point 🤣

@[email protected]
link
fedilink
English
22Y

Regardless of why you do it, I, and I’m sure many others are very grateful for your contribution! Thank you!

@[email protected]
creator
link
fedilink
English
5
edit-2
2Y

Is there a way to specify latest in the yml file or should I manually enter the latest version?

Edit: don’t foolishly try asking questions from your Lemmy instance after running docker-compose down…

Meow.tar.gz
link
fedilink
English
42Y

Yes there is. To do so look for the line with image: statement and do something like image: dessalines/lemmy-ui:latest Try this. You may not even have to do that. First try the plain old docker-compose pull. Since now enough time has elapsed, I am guessing that it should pull the latest image without having to edit the docker-compose.yml file.

@[email protected]
creator
link
fedilink
English
32Y

Last silly question, what’s the easiest way to verify my version post-upgrade?

Meow.tar.gz
link
fedilink
English
42Y

The only unasked question is the silly one. If you scroll down to the bottom of your Lemmy instance in the web browser, you should see the current one you’re on. It should like something like this:

@[email protected]
creator
link
fedilink
English
2
edit-2
2Y

I think I’ve got it but I noticed it doesn’t show the UI version like yours?

https://lemmy.robotra.sh

Edit: I did have to update the yml to use latest. I’m not sure if it’s something with Ansible but when I followed the update steps to update using Ansible it seems to hardcode the version in, not sure where it’s pulling that from.

Create a post

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:

  • Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.
  • No spam posting.
  • Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.
  • Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
  • No trolling.

Resources:

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

> Questions? DM the mods!

  • 1 user online
  • 218 users / day
  • 9 users / week
  • 244 users / month
  • 841 users / 6 months
  • 0 subscribers
  • 542 Posts
  • 8.93K Comments
  • Modlog