Try our conversational search powered by Generative AI!

Upgrade fails on disable/update add-ons

Vote:
 

Hi,

Im trying to upgrade to EPiServer 7.5 from EPiServer 7. I have followed the upgrade guide http://world.episerver.com/Documentation/Items/Upgrading/EPiServer-CMS/75/Upgrading/ and evrything has went well, until step 13 "select Upgrade/Disable Add-ons after Product Upgrade" in EPiServer Deployment Center.

When i try to complete the step i end up with this error:

Started a transacted install

An unhandled error has occured:
Cannot bind argument to parameter 'Path' because it is null.
When executing

At C:\Program Files\EPiServer\CMS\7.5.394.2\Upgrade\System Scripts\Upgrade Add-
On Packages.ps1:104 char:14
+ if (Test-Path <<<< $packagesToInstallPath)

False
=
Get-EPiIsBulkInstalling
An error has occured and the transaction will be rolled back
Rolledback

At C:\Program Files\EPiServer\CMS\7.5.394.2\Upgrade\System Scripts\Upgrade Add-On Packages.ps1:104 char:14
+ if (Test-Path <<<< $packagesToInstallPath)
System.Management.Automation.ParentContainsErrorRecordException: Cannot bind argument to parameter 'Path' because it is null.

   

Is there anybody that have a clue how to soleve this or have any suggestions of what the problem is about?

#81833
Feb 27, 2014 11:55
Vote:
 

Please check the section episerver.framework/appData in your web.config/EPiServerFramework.config. The value of basePath attribute should contain a path to your appdata folder where your blobs (VPP files in previous epi versions) and add-on repositories are deployed. You can see it as former VPP folder of your site. This path can be relative.

Examples:

<appData basePath="C:\EPiServer\VPP\YourSite" />

    

<appData basePath="..\appdata" />

    

#81836
Feb 27, 2014 13:19
Vote:
 

A bit of speculation on what maybe could cause the problem if the above is not the case:

Is it possible that there is a mismatch of the EPiServer.Install.Common.1 assembly in the GAC or even wrong version of the EPiServer Shared msi installed?

#81837
Feb 27, 2014 13:27
Vote:
 

Thanks for the quick answers. I think that the appData path is correct. But will expriment with both your hints and tell you the outcome.

#81843
Feb 27, 2014 15:36
Vote:
 

I have now tried the appData path with both relative and absolute path. Non of them changed the error message. I also uninstalled all EpiServer programs, and reinstalled the latest Deployment Center. But still have the same error.

 

I can't figure out what the error message want me to do, and how i fix it. So any help is more then welcome.

#81848
Feb 27, 2014 16:42
Vote:
 

Could you check the version of EPiServer.Install.Common.1 assembly in the GAC?

#81849
Feb 27, 2014 16:43
Vote:
 

I have the version 1.1.1997.0

#81890
Feb 28, 2014 8:49
Vote:
 

We have exactly the same issue. How did you solve the problem?

#86198
May 15, 2014 16:20
Vote:
 

We have not solved it yet. Please tell me if you hav any idea or get any help about how to solve it.

#86209
May 15, 2014 17:49
Vote:
 
#86210
Edited, May 15, 2014 17:49
Vote:
 
#86211
May 15, 2014 17:50
Vote:
 

It's hard to tell exactly what exactly has gone wrong based on the above. Lack of a basePath value in the episerver.framework/appData web.config section really seemed like the most probable cause.

I would recommend that you contact EPiServer Support for more in-depth troubleshooting of this problem.

http://world.episerver.com/Support/Register-Support-Incident/

#86215
May 15, 2014 18:25
Vote:
 

I debugged the upgrade script and assemblies and found that the configuration file (web.config) didn't contain <sites> node anymore.

After adding the node back, the Add-ons upgrade completed successfully.

Seems like the steps described in Upgrading-to-EPiServer-75-CMS are not in the correct order.

#86266
May 16, 2014 14:27
Vote:
 

I am having this issue as well, if anyone has found a resolution.  I have a sites node.

#87459
Jun 12, 2014 22:16
* 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.