Update from 0.3.2
Hello,
I have a docker install in version 0.3.2.
What are the right steps to update the system to the last version?
54 Replies
Hi @iero! Hope you are doing well
For now, we recommend migrating step by step:
- 0.3.2 > 0.3.3 > 0.4.0 > 0.10.0
However, I can assist you and go directly to 0.10.0 if you like
You'll experience some downtime though
First, update your containers to use v0.10.0
Yes it will be good to go directly to 0.10.0
I will backup first
ok!
Could you confirm that I'm OK with this dump? Nothing more to backup?
I'm doing:
pg_dump postgres://user:password@domain:5432/default > 04-22-2024.sql
so it looks good, not sure about -Fc options and what they do
Ok done both to be sure:
I remove containers and update to last version ?
keep your database instance, are you using a persistent storage? you should only update the container images but keep the data (even if you have made a dump)
I have the three containers:
The database is in a docker container
I might test in a test environment to be sure 🙂
could you share your docker-compose.yaml (or compose.yaml)
sure:
ok so you have a persistent volume
which is good
make sure your database backup contains your data by browsing it quickly and you should be good to go to update your TAG to v0.10
Yes, I looked for Companies, Projects and other objects and they are in in the dumps
ok!
let's upgrade and fix the migration issues
I keep the DB container and I upgrade others or do I update them all?
Keep the DB container :
- it's fine as we haven't change anything there since 0.3.2. However it's good to see how to upgrade it for the future
Upgrade the DB container :
- should be fine but I have never tried it with a self host version so I'm not sure