I'm trying to install EPiServer CMO like this:
It works for a while, and then when it says "Resolving actions to install package 'EPiServer.Cmo.7.6.1'", it throws this error message:
install-package : Already referencing a newer version of 'Microsoft.jQuery.Unobtrusive.Validation'..
At line:1 char:1
+ install-package EPiServer.Cmo
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Does anyone know what to do?
If you have already installed jQuery validation package and it's newer version - try to install pacakge using "ignore dependencies" switch.
install-package episerver.cmo -IgnoreDependencies
But not sure whether CMO module will be able to find your validation scripts if they are newer version. Is it possible for you to install required version by CMO of jQuery validation in your site?
The installation worked with the -IgnoreDependencies parameter, but now it tells me it doesn't have a connection string, which it doesn't.
I have never installed CMO before; should I use the same database as the CMS, or should I create a seperate database for the CMO?
You should be safe to run against the same DB
It looks like you are trying to install CMO from the scratch using NuGet package. Unfortunately, installing CMO as NuGet package is not fully supported right now. CMO NuGet package contains assemblies only and we use it to publish CMO updates (usually bug fixes).
The usual steps when installing CMO for EPiServer CMS 7.x (scenario #1):
This is not ideal installation path, but it works pretty good for EPiServer CMS 7.x sites.
You can use the following steps when you need a new EPiServer CMS 8 website and CMO (scenario #2):
Starting from some later EPiServer CMS 7.x version it is not possible to use Deployment Center to install modules, because Deployment Center fails when reading site settings that were moved from the web.config to the site database. Now Deployment Center is obsolete.
You have to deploy CMO manually on an existing EPiServer CMS 7.x or 8.x website when you cannot install CMO using Deployment Center (scenario #3).
I think the easiest way is creating a new dummy EPiServer 8 website with CMO and separate CMO database (as it is described in scenario #2). Then you can copy CMO files and configuration to your target site and use that CMO database on a target site. Then you install the latest CMO NuGet package in Visual Studio to get latest binaries.
We see this CMO installation problem and I hope it will be solved soon.
Dmytro; when installing CMO via the deployment center the deployment center tells me it has created the wizard:
But, I can't see any wizard. I'm so far unable to install it this way.
Please check if wizard window is not focused and hidden behind the main installation window. Try to switch to wizard using Alt+Tab.
It isn't, unfortunately. Do you know some other way to get the files?
Does it look like a similar issue?
Yes, that seems like the same problem.
Thank you for your help, I have submitted an incident :)
I have another questiom; in the installation process I'm given the option to install the Live Monitor integration with CMO. Since I already have live monitor, will it manage to use that installation with CMO?
CMO will silently install Live Monitor module if it is not deployed on target website. It checks whether EPiServer.Trace.dll exists in the site bin folder.By Live Monitor I mean old module that can be installed in Deployment Center. It should be possible to install corresponding NuGet package EPiServer.LiveMonitor 7.x and upgrade it to the new version 8.
Dmytro; Do you have any news on the CMO installation problems with CMS 8+ that are mentioned above?
@Dmytro, in scenario #3 which files should be copied and where to? I thought I managed to do this step but no CMO option is visible in the EPiServer edit mode and the CMO plugin is not visible in the plugin manager even after restarting the site and clearing temporary files.
Well, I don't have a full list of CMO files documented anywhere. It should be something like this:The whole folder and it's content:
The following files in /bin:
Also see web.config changes after CMO installation.
@Anders GustafssonWe have released CMO 7.7 that is compatible with CMS 9 and enable users to upgrade to latest platform version and run CMO. However, there is no news about installation right now.
@Dmytry, thanks for the list!
The install seems to be successful and no error messages show up for me now but the CMO tab doesn't show up. I've reset the IIS and removed temporary files but still it doesn't show up. I also tried to navigate to the CMO directly by navigating to mysite.com/episerver/CMO where I suppose it would be located.
It sounds like CMO module is not initialized properly and/or CMO assemblies are not associated with CMO modules.
Please check that you have all CMO-related changes in your web.config. It should be easy to compare config files from 2 sites where CMO is installed on one of them.
Make sure that /modules/_protected is configured as a home for protected modules. This is default configuration in CMS 8, something like that:
<episerver.packaging protectedVirtualPath="~/EPiServer/" protectedPath="modules\_protected"/>
Other protected modules like Chell, CMS and Packaging UI should be deployed in that folder.
Make sure that CMO resources are deployed in /modules/_protected/CMO folder:
Dmytro, Is it still at this time Scenario #3 that is applicatable if you have CMS 9.6.1? Is CMO a dying product? Why isnt this intallation proceedure thruu Package Managment Console updated at this time (april 2016)?
Thank you for any answer.
@Gosso, as you probably have already seen in the Spring 16 Features list, A/B testing is going to be integrated into the Edit UI to provide better user experience and make changes testing easy and natural. It is possible to install A/B testing as usual NuGet package.