How do I update lemmy-ui to 0.18.2-rc.2
How do I update lemmy-ui to 0.18.2-rc.2
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?
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.
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...
Yes there is. To do so look for the line with
image:
statement and do something likeimage: 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.Also, be aware that you will need to fix your modlog page by running a query against your database
Funnily enough I am gregpxc (the one who posted the noob instructions there) lol