I'm in the process of figuring out the best way of migrating an EPiServer 7.1 website (with Commerce) to EPiServer 8 (using the new Nuget packages to get a correctly working Commerce Manager). For the upgrade I do the following: - Copy and restore production databases to a local computer and get a local version of the website running. - Upgrade to 7.5 using the Deployment Center (I couldn't start the website at this point, giving me multiple errors). - Link the database to the new 8.0 solution, run it and then run upgrade script using Nuget.
At this stage I have a working 8.0 site, with all the content, except all the images, the infamous VPP files. However running the VPP Migration tool fails at this point (yes, I did add the 'virtualPathProviders' in EPiServer.Framework) it will fail with the following message:
Method not found: 'EPiServer.Core.ILanguageSelector EPiServer.Core.NullLanguageSelector.get_Instance()'.
at VppMigrationTool.Util.VppConverter.CreateSubFolder[T](ContentReference parentReference, String folderName, AccessControlList accessControlList, Guid ownerGuid)
at VppMigrationTool.Util.VppConverter.<>c__DisplayClass11.<>c__DisplayClass13.b__10() in d:\Builds\132\EPiServerCMS Modules\VppMigrationTool\Sources\C\TFS\VppMigrationTool\Util\VppConverter.cs:line 181>>
at VppMigrationTool.Util.VppConverter.ExecuteWithHandleException(VirtualPathUnifiedProvider provider, Action a) in d:\Builds\132\EPiServerCMS Modules\VppMigrationTool\Sources\C\TFS\VppMigrationTool\Util\VppConverter.cs:line 226
Directories: 1
Files: 0
ContentFolders: 0
FileContent: 0
Blobs: 0
My guess is that it will only work on version 7.5. Is there a version that will run on 8.0 or do I need to run the tool on the 7.5 stage? If yes, is a working website required at this stage or can the tool run with only a valid connection the the VPP files and Database?
<p>Thank you for the quick response.</p>
<p>What I do now is that I use multiple websites, one for each update stage: </p>
<p>- The first solution/website is the original 7.1 version, I use that to upgrade the databases to 7.5 using the Deployement center.</p>
<p>- Second is a 7.5 version for my website, but I removed everything (all controllers, views, etc) except the required Media Types. This gave me a 'working' site I can use to import the VPP files.</p>
<p>- Third is my newly created CMS 8 solution, with all the code copied from the 7.1 solution. Attach the database and use nuget functions to update the database to the latest version.</p>
<p></p>
<p>This now seems to give me a working 8.0 CMS+Commerce environment.</p>
<p></p>
I'm in the process of figuring out the best way of migrating an EPiServer 7.1 website (with Commerce) to EPiServer 8 (using the new Nuget packages to get a correctly working Commerce Manager).
For the upgrade I do the following:
- Copy and restore production databases to a local computer and get a local version of the website running.
- Upgrade to 7.5 using the Deployment Center (I couldn't start the website at this point, giving me multiple errors).
- Link the database to the new 8.0 solution, run it and then run upgrade script using Nuget.
At this stage I have a working 8.0 site, with all the content, except all the images, the infamous VPP files.
However running the VPP Migration tool fails at this point (yes, I did add the 'virtualPathProviders' in EPiServer.Framework) it will fail with the following message:
Method not found: 'EPiServer.Core.ILanguageSelector EPiServer.Core.NullLanguageSelector.get_Instance()'.
at VppMigrationTool.Util.VppConverter.CreateSubFolder[T](ContentReference parentReference, String folderName, AccessControlList accessControlList, Guid ownerGuid)
at VppMigrationTool.Util.VppConverter.<>c__DisplayClass11.<>c__DisplayClass13.b__10() in d:\Builds\132\EPiServerCMS Modules\VppMigrationTool\Sources\C\TFS\VppMigrationTool\Util\VppConverter.cs:line 181 >>
at VppMigrationTool.Util.VppConverter.ExecuteWithHandleException(VirtualPathUnifiedProvider provider, Action a) in d:\Builds\132\EPiServerCMS Modules\VppMigrationTool\Sources\C\TFS\VppMigrationTool\Util\VppConverter.cs:line 226
Directories: 1
Files: 0
ContentFolders: 0
FileContent: 0
Blobs: 0
My guess is that it will only work on version 7.5. Is there a version that will run on 8.0 or do I need to run the tool on the 7.5 stage?
If yes, is a working website required at this stage or can the tool run with only a valid connection the the VPP files and Database?