Unknown Column ParentId error after Upgrading 5.39.3 to 6.1.1

I upgraded Mattermost 5.39.3 to 6.1.1 Enteprise edition. (without license) After upgrade I am not able to send new post.

In server logs I found an error, After upgrading to new version I think it still looking for old column.

“method”:“POST”,“err_where”:“CreatePost”,“http_code”:500,“err_details”:“failed to save Post: Error 1054: Unknown column ‘ParentId’ in ‘NEW’”}

I have checked Upgrade guide many times and read the db schema change but couldn’t find the solution.

If this error sounds familiar, Could you help?

Thank you.

Can you confirm you are correctly using the 6.1.1 release? The ParentId column was removed in 6.0 release ([MM-29217] Remove Posts.ParentId by streamer45 · Pull Request #17923 · mattermost/mattermost-server · GitHub) so the code shouldn’t be asking about it.

It seems like the schema changes went through however, the application seems to be still on 5.39 code.

cc @streamer45