November Happy Hour will be moved to Thursday December 5th.

Updating EPiServer DB to '7016.0'

Vote:
 

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'
            else
                 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?

Export-EPiUpdates

#118189
Mar 02, 2015 12:53
Vote:
 

Are you going from 7.1?

#118190
Mar 02, 2015 13:10
Vote:
 

From 7.0.586.8

#118199
Mar 02, 2015 13:24
Vote:
 

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

#118200
Mar 02, 2015 13:33
Vote:
 

Ok I see, I will try that. Thanks!

#118201
Mar 02, 2015 13:35
Vote:
 

It worked, thanks Henrik!

#118205
Mar 02, 2015 14:26
Vote:
 

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

#118215
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.