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?
Are you going from 7.1?
Then you must first upgrade to 7.5 with deployment center before you can upgrade to 8.0
Ok I see, I will try that. Thanks!
It worked, thanks Henrik!
Great! Please mark the answer as a correct answer so others can see that the thread is answered.