docker update/upgrade 20version
Could you show to us the process to upgrade into swarm or compose, like, what comands have to be set during this?
example:
yarn database:migrate:prod
yarn command:prod workspace:sync-metadata -f
yarn command:prod upgrade-0.XX
in this order? these three on just for server service?
thanks and have a happy new year
9 Replies
@lucas lima - Did you by chance start here? https://twenty.com/developers/section/self-hosting/upgrade-guide
It's really important to NOT skip versions.
thank you Raph!!!
You're welcome!
just one more thing
i use docker swarm...
so i using 3 containers
worker/server/db
these follow commands i set it just on server right?
I'm using one container for each service part @Raph
Yes, of course. I use docker as well. You'll want to be very careful about the ENV changes throughout each version upgrade. Just watch the logs for when the app starts complaining.
you'll do somehing like The biggest issue I had were schema issues and env changes.
to avoid schema did you update db first right?
I updated first and then ran migrations.
ok thanks bro
Of course! You're welcome.