SaaS CMS has officially launched! Learn more now.

Updating EPiServer DB to '7016.0'


Hello! I'm trying to update EPiServer to 8.0. I get this exception:

"The database has not been updated to the version '7016.0', current database version is '7003.0'. Update the database by running the cmdlet 'update-epidatabase' in the package manager console."

In VS I then ran update-epidatabase in Package Manager Console. Then I get this error:

"Failed to execute script because validation failed: Invalid database version detected [7.8.0.sql]"

So after that I tried to run Export-EPiUpdates, and do it manually in SSMS. After looking in the file 7.8.0.sql, I see this:

if (@ver >= 7007)
	select 0, 'Already correct database version'
            else if (@ver = 7006)
                 select 1, 'Upgrading database'
                 select -1, 'Invalid database version detected'

So I guess this means I need a script as well for updating to '7006' first? Where can I acquire this?


Mar 02, 2015 12:53

Are you going from 7.1?

Mar 02, 2015 13:10

From 7.0.586.8

Mar 02, 2015 13:24

Then you must first upgrade to 7.5 with deployment center before you can upgrade to 8.0

Mar 02, 2015 13:33

Ok I see, I will try that. Thanks!

Mar 02, 2015 13:35

It worked, thanks Henrik!

Mar 02, 2015 14:26

Great! Please mark the answer as a correct answer so others can see that the thread is answered.

Mar 02, 2015 16:25
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.