[SELF_HOST] v0.60 cannot upgrade due to relation "core.settingPermission" does not exist

As title states, migration is failing from 0.55.5 due to this error when starting container running 0.60.7.
32 Replies
Rorschach
RorschachOP4mo ago
Any update on this?
ɃØĦɆᵾS
ɃØĦɆᵾS4mo ago
@Prastoin could you take a look at this in free time?
charles
charles4mo ago
@Rorschach could you run yarn database:migrate:prod on the v0.60 container? Your postgres core schema is missing some tables (Note that "database:migrate:prod" is part of "command:prod upgrade" command)
Rorschach
RorschachOP4mo ago
Done
Rorschach
RorschachOP4mo ago
No description
Rorschach
RorschachOP4mo ago
This comes up when trying to login
No description
charles
charles4mo ago
@Rorschach what timezone are you on? Let's schedule a call so I can help you, it will be easier
Rorschach
RorschachOP4mo ago
UK time
charles
charles4mo ago
I'm having an office hour tomorrow for self-hosters, 11am Paris time, would it work for you?
Rorschach
RorschachOP4mo ago
Sorry I didn't get a notification Let me know another time that suits
charles
charles4mo ago
would next week same hour work for you?
Rorschach
RorschachOP4mo ago
What day?
charles
charles4mo ago
same day!
Rorschach
RorschachOP3mo ago
okay What time would suit @charles ?
charles
charles3mo ago
Would 11am Paris time work?
Rorschach
RorschachOP3mo ago
Should be good I can give you direct access to the postgres database if that's beneficial
Prastoin
Prastoin3mo ago
Hey @Rorschach I would rather recommend planning a peer session rather than fixing your instance on your side so you can learn from it Also, regarding your issue downgrading your instance to the twenty version where your workspace is blocked in order to incrementally upgrade it to the newest version should do the trick
Rorschach
RorschachOP3mo ago
It's already on the correct version to do the upgrade, but it's still blocked or do you mean upgrade to 1.3 or 1.4?
Prastoin
Prastoin3mo ago
Could you please share the whole logs from twenty-server ? searching for upgrade command of the blocked version error
Rorschach
RorschachOP3mo ago
I don't think there is an upgrade error, you looked at the log 2 weeks ago and the error you noted is the one in the subject of this post
Prastoin
Prastoin3mo ago
If there's no errors than your workspace version in database should get incremented allowing you to incrementally upgrade your twenty instance up to the latest released twenty version Are you sure you downgraded to the version your workspace is blocked at ?
Rorschach
RorschachOP3mo ago
I did as you instructed The error was the one noted in this post heading
Prastoin
Prastoin3mo ago
Ok ! So the upgrade is not working as expect Please downgrade to 0.55.9 run in your twenty-server container
yarn database:migrate:prod
yarn database:migrate:prod
And re-attempt 0.60 upgrade Please share any suspicious logs
Rorschach
RorschachOP3mo ago
Doing
Rorschach
RorschachOP3mo ago
No description
Rorschach
RorschachOP3mo ago
Same error on login
Prastoin
Prastoin3mo ago
could you please run yarn command:prod upgrade on 0.55.9 ? no need to update your workspace version just wanna check logs
charles
charles3mo ago
@Rorschach let's go 🙂
Rorschach
RorschachOP3mo ago
No description
Rorschach
RorschachOP3mo ago
This is the only thing I see in the server container that looks like an error The full line is too long to paste into chat
charles
charles3mo ago
I'm DMing you

Did you find this page helpful?