Did an upgrade/update and failure
Not sure how to recover from this apart from last night's backups?
I followed the instructions as defined here (https://twenty.com/developers/section/self-hosting/upgrade-guide - as I always do without issue) and then today this happened.
The migrate:prod command seem to run without issue. The prod upgrade is the problem?



27 Replies
Hello @kibblewhite, what version of twenty are you running exactly please ?
Seems like your workspaces failed the migration
Do you have several workspaces or just one ?
Just one workspace, was trying to upgrade from v0.42.18 to the latest which is v0.43.2
Thanks
Have you tried re-running the upgrade command ? Might be a cache warm up issue
What error do you have in your browser console exactly ?

I have not tried running it again yet, will try now.

Okay I just did the following and the local storage is empty?
I mean if anything is going to cause it to fail, that would do it right? I'm sure there is supposed to be a folder with the workspace identifier etc...
please also run
yarn command:prod upgrade
at least twice in a row
Just to attest this is not due to some caching race conditionRan twice in a row
Ok so indeed there's a problem
Have you made manual/specific update to the
core
or metadata
tables lately ?No not at all.
When would you be up for a call ?
Yeah sure thing, that would be great.
I can be available in half an hour right now if you're too we can jump on this
I'll need to get ready to leave in 30 minutes, happy to talk tomorrow if that is better for you?
Is your redis instance up and healthy ?
Yes
Hey @Etienne @Raphaël, do you guys have please heard of such issue in the latest
0.43
with the dataSourceMetadata
or cachedObjectMetadataMaps
retrieval along the upgrade command ?
Just in case@kibblewhite please restart your redis instance nor wipe it all and retry the upgrade command ( twice 😛 )Will do.
unfortunately, not heard of any issue with the dataSourceMetadata or cachedObjectMetadataMaps
Okay thanks I'll try it now. But I'll have to head out in a little while. Let me try what you have suggested, otherwise I'll be continuing tomorrow.
No worries no hurry
I can't see it here:
https://hub.docker.com/r/twentycrm/twenty/tags?name=0.43.3
I'm working with the docker images on Kubernetes.
I do see the source https://github.com/twentyhq/twenty/tree/v0.43.3
You're right
I'll let you know when it has finished to be deployed in docker hub
Great thanks, I might have a moment this evening just to hop on and see it makes a difference.
No hurry, lets have a look tomorrow. Have a nice evening
Should be available https://hub.docker.com/layers/twentycrm/twenty/v0.43.3/images/sha256-1d07bebcca7a29cbcf6360d09e21de8b6c46b09cf474eb7f83d8033ffd0f2e6c