twenty icon indicating copy to clipboard operation
twenty copied to clipboard

fieldMetadataId error after upgrading to v0.33.3

Open rob-luke opened this issue 1 year ago • 8 comments

Bug Description

Congratulations on the 0.33 release. I am excited to use the multi select filter!

I upgraded with no issues, following the insturctions at https://github.com/twentyhq/twenty/blob/main/packages/twenty-website/src/content/developers/self-hosting/upgrade-guide.mdx#v0320-to-v0330 there were no errors in my update log.

After upgrading the API interface works. However, in the web interface I am getting the error TypeError: Cannot read properties of undefined (reading 'fieldMetadataId')

Image

Expected behavior

Web interface works

Additional

Thank you for the great software. Let me know if you need additional details. There are no errors appearing in the server logs

rob-luke avatar Nov 22 '24 20:11 rob-luke

@BOHEUS mentioned he'd also seen the error (https://discord.com/channels/1130383047699738754/1309619923055546438/1309620024545116280)

rob-luke avatar Nov 22 '24 20:11 rob-luke

My workaround for this issue was simply restarting whole database but it's far from ideal solution, the other way to resolve this problem is making a backup with pg_dump, restarting database and importing backup

BOHEUS avatar Nov 22 '24 20:11 BOHEUS

Hey Rob, sorry about that, we're trying to improve our testing processes to avoid letting these kind of things go into prod releases but it's always a challenge with the growing surface!

We'll make sure to release a fix on Monday.

cc @Weiko fyi before full prod release

FelixMalfait avatar Nov 23 '24 12:11 FelixMalfait

Hi Felix, I am pleased to be an early tester to help catch some of these things. Thanks for the great product

rob-luke avatar Nov 24 '24 01:11 rob-luke

I ran into this just now, updated from 0.32.0 to 0.33.0. Is there a fix out for this or any pointers as what to do?

sommarnatt avatar Feb 21 '25 16:02 sommarnatt

@sommarnatt can you try a later version like 0.33.7? It was fixed soon after the 0.33.0 most likely in the 0.33.1 already. Thanks

FelixMalfait avatar Feb 21 '25 16:02 FelixMalfait

Ok, had to downgrade to 0.32 and restore the database from backup, then upgrade to 0.33.7 and run migrations. Worked after that 👍 Thanks!

sommarnatt avatar Feb 21 '25 20:02 sommarnatt

@sommarnatt Thanks for the update!

FelixMalfait avatar Feb 21 '25 21:02 FelixMalfait