vicalloy / outline-docker-compose

Install a self-hosted Outline wiki instance in a couple of minutes
BSD 3-Clause "New" or "Revised" License
738 stars 120 forks source link

Add upgrade instructions to the README #55

Open hoggatt opened 1 year ago

hoggatt commented 1 year ago

Hi, thank you for making this -- it was very easy to get outline up and running!

I see that you're managing specific versions of the containers which is nice, however I'm not sure what the procedure for updating should be. It would be nice if there was a section in the README that says what do do when you've updated this project.

Maybe something like this


Upgrading

If there's an update, simply pull the latest version of this repo git pull ... Then run ??? (maybe this is docker compose pull/up or maybe the upgrade process is more complex?) and you'll be using the latest versions of everything. Your data is stored/persisted in the data folder so everything should just work once the update is done.

ssenior45 commented 1 year ago

Thank you also for making this, it's incredibly helpful.

@hoggatt to upgrade do the following:

cd outline-docker-compose
vi .env

Change the OUTLINE_VERSION value and save.

sudo make stop
. .env
sudo make update-images
sudo make start

If you update to a version >= 0.69.0 of Outline, that's all you need to do as from that version onwards database upgrades are done for you.

hoggatt commented 10 months ago

Thank you @ssenior45, this worked for me! I'm on version 0.71.0 now. I noticed that my postgress and minio versions are the same as before. Do I not have to worry about that or should I look into updating those at some point as well? I'm unsure if ourline is picky with versions or if it should just work with the latest.

ssenior45 commented 10 months ago

I would just check the release notes of outline which would mention if the version you are going to requires a higher version of Postgres and/or minio. That hasn’t been the case so far.