Issues upgrading from v0.53 to v1.0
Hello,
After upgrading from v0.53 to v1.0, I get the following error while trying to login: https://pastebin.com/40vsDv37
Anything I missed?
Pastebin
twenty-server-1 | query failed: SELECT DISTINCT "distinctAlias"...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
11 Replies
Hello @Badr, have you upgraded incrementally ?
Hi @prastoin no, straight from v0.53 to v1.0
You need to upgrade incrementally up to 1.0, if not you would lose db migrations resulting in such error
You need to change the TAG version to each version and restart your containers
No need to run commands starting from 0.53, but still optionally have a look to your twenty instance after each upgrade just looking if it starts at least
So v0.53 -> v0.54 -> v0.55 -> v0.60 -> v1.0 ? Or do I need to go through minor versions as well?
Only minors taking the latest patch each time !
v0.55
we do serve images through vMAJOR.MINOR
Ok. Can I fix it from where I am currently or do I need to start from the backup?
I would highly restoring a v0.53 backup
It worked, thanks!
I think it's worth adding this incremental update requirement to the upgrade documentation 🙂
Unless I'm mistaken it's written on the top section!
Congrats enjoy coding !
Correct, my bad!
Thanks a bunch for your help!
No worries ! Have a great day !