Unexpected Application Error!Object metadata item "workflowVersion" cannot be found (...)
Hello!
I have an error that suggests that Workflow Tables are missing (Docker, v0.40 upgraded from 0.36).
Unexpected Application Error! Object metadata item "workflowVersion" cannot be found (...) ⤵️ Full Error here: https://discord.com/channels/1130383047699738754/1334863261946085466/1334863324936015953I already searched GitHub issues and this Discord for help, found nothing. My first help request is here: https://discord.com/channels/1130383047699738754/1130383048173682821/1331337437863084163 Not sure if related, but also noticed that feature flags entries were missing and this was fixed (as in this conversation here: https://discord.com/channels/1130383047699738754/1130383048173682821/1331335862729834630) While I get workflows are behind a featureflag and not recommended for production, my goal is to avoid problems in the future when upgrading to a version that do support them. Currently I already have a lot of data on my CRM and I'd prefer to not need to reset the database in the future 🙂 Thank you so much for your help! I really love the approach TwentyCRM is taking, we all needed a efficient and minimalist CRM that doesn't compromise on flexibility. Note about my use in "Production": Yes, I know I should not be using the CRM in production as it's in heavy development. I'm aware of this and ready to face issues and debug them, also ready to need to reset the instance/database. However I still prefer to avoid doing that 🙂 Also, this is not REALLY production use, it's just me using it as my personal CRM and task manager, nothing in my life/business depends on it.
7 Replies
The error I get is:
Unexpected Application Error!
Object metadata item "workflowVersion" cannot be found in an array of 33 elements
Do you have tables like
workflow
, workflowRun
, workflowEventListener
, workflowVersion
inside workspace_<id>
?no
None of them
So that explains your error
How to fix?
Anything I can do?
I guess the only thing you can do at the moment is to turn off workflow feature
I'm not sure if creating these tables by hand will resolve your issue
I see
I turned it off.
But i can also try to duplicate the instance and try to make the tables.
Thank you so much for your help @bob (off till 7.02)