The database schema for 'EPiServer.Find.Cms' has not been updated to version '13.0.4', current database version is '12.4.2'.

Vote:
 

I just upgraded Episerver.Find to version 13. I received following error and ran the migration by using updateDatabaseSchema="true" to successfully load the site. But now everytime i deploy code without making any change to the version of assembly, website is throwing following error again and I am forced to use command "updateDatabaseSchema="true" to get rid of the issue.

The database schema for 'EPiServer.Find.Cms' has not been updated to version '13.0.4', current database version is '12.4.2'. Update the database manually by running the cmdlet 'Update-EPiDatabase' in the package manager console or set updateDatabaseSchema="true" on episerver.framework configuration element.

Regards,

Sujit

#198355
Oct 25, 2018 23:06
Vote:
 

Do you deploy the DB at the same time? Sounds like its an old DB version so its natural the schema needs to be updated if so. Can you simply leave updateDatabaseSchema="true" on episerver.framework in the deployed config?

#198356
Oct 25, 2018 23:36
Vote:
 

No, we dont deploy DB. We only deploy code.

Regards,

Sujit

#198360
Oct 26, 2018 0:57
Vote:
 

Hi,

The issue seems to be was with 13.0.4. I upgraded the code to 13.0.5. That resolved the issue.

Regards,

Sujit

#198361
Oct 26, 2018 1:00
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.