Hi, Coveo for Sitecore adds a lot of files when it is installed to a sitecore site. Is there an easy way to uninstall the module, or do i have to locate and remove all the files it added on my own?
Answer by Jean-François L'Heureux · Sep 24, 2014 at 09:36 AM
Like others said, Sitecore doesn't provide an uninstall feature for packages and modules. The best practice is to backup your instance before installing a package and restore it to uninstall the package.
A manual uninstall can be done by opening the package in the "Package Designer" to identify all the files and items that need to be deleted and do these deletions manually.
However, the uninstall package feature was added to the "Package History" Sitecore module lately. I didn't try it but it seems promising. It seems to work even if you install the "Package History" module after installing the module you want to uninstall. I recommend to give it a try on a test instance first. https://sitecorebasics.wordpress.com/2014/02/10/package-history-v2-user-guide/
As Vincent asked, why do you want to uninstall Coveo for Sitecore?
Am I required to have a Coveo Enterprise Search license in addition to the Coveo sitecore license for the solution to work though?
No, a basic Coveo Enterprise Search license is automatically set in CES if you don't provide yours. This is done when you rebuild your Sitecore indexes for the first time through the "Indexing Manager" or the "Developer Ribbon Toolbar". Rebuilding the indexes should be done right after renaming the .example file to .config.
Answer by Vincent Séguin · Sep 24, 2014 at 08:37 AM
Hi,
Unfortunately, packages cannot be installed in Sitecore. You could create what we call an 'anti-package' with Sitecore Rocks. But probably the safest way would be to remove the items added by yourself.
By curiosity, why are you uninstalling it?
Answer by Vincent Séguin · Sep 24, 2014 at 10:56 AM
Actually, it is simply because the AdminService is probably not installed. It's in the CES side. Did you follow this procedure : https://developers.coveo.com/display/public/SC201409/Installing%20and%20Configuring%20Coveo%20Enterprise%20Search%20(CES)
It's not on the Coveo for Sitecore side, but really on the CES side. Try reinstalling it by following the exact procedure described there, especially the note 'In the Select Setup Type screen, you must choose Custom to be able to include the Admin Service that is required by Coveo for Sitecore.'
Oh ok, I chose the Typical when i installed it first, but I did do a repair and added the Admin Service when i realized it was not included. I will re-install the CES.
Answer by Luc Bergeron · Sep 24, 2014 at 08:39 AM
Unfortunately, it is not possible to really uninstall a Sitecore package. The closest option would be to use the Sitecore Rocks extension to create an anti-package. I haven't tested it with Coveo for Sitecore, but I guess it should work. But before installing the anti-package, I would recommend to rename the Coveo.SearchProvider.config file back to Coveo.SearchProvider.config.example.
Let me know how it goes.
Luc
Answer by jfarley · Sep 24, 2014 at 09:38 AM
I attempted to remove the Files that were installed by coveo but when I did, it kept showing a Coveo related error which totally prevented me from accessing my site. So i had to restore the files from the recycle bin. So i need a clean uninstalling option!
I am uninstalling it because though the Coveo search service is installed it keeps showing the error "Cove Enterprise Search seems to be unavailable.Please make sure it is installed and started" when i add a Coveo Search Page. My Page preview and Page editor mode are no longer working either because it keeps showing the same error in the area the sitecore ribbon is supposed to be.
I am not sure how much support I can get to resolve that issue since i do not have a support contract, so that why I am headed down the route of uninstalling. I can get assistance to resolve the error that would be greatly appreciated though.
You can try enabling log4net logging for the Coveo for Sitecore Search Provider as explained in the documentation to have more information about the error you get. https://developers.coveo.com/display/SC201409/Using+the+Sitecore+Search+Provider#UsingtheSitecoreSearchProvider-UsingLoggingforDebuggingPurposes
If the INFO level doesn't give enough details, you may try the DEBUG level.
You can also use the Diagnostic Page to help you troubleshoot your installation : https://developers.coveo.com/display/SC201409/Diagnostic+Page
iisreset may also work for this communication error. The communication error may come from a modification to the Coveo.SeearchProvider.config file to enter credentials for a service. Even if Sitecore is restarted at every configuration file change, an iisrest may be needed to reset the communication with the service.
You can also check this AdminService specific troubleshooting documentation page : https://developers.coveo.com/display/SC201409/Problem+Accessing+the+Coveo+Admin+Service
Thanks jflheureux I will look into all that you said. Just to note, I believe i did index the Site before I renamed the file from .example to .config. And now when I try to access the Indexing Manager the same Coveo error appears in the view, "Cove Enterprise Search seems to be unavailable.Please make sure it is installed and started"
"beforeRedirect" is not firing 1 Answer
Upgraded Sitecore 7 to 8. Can't get to the installation screen to upgrade Coveo 1 Answer
Populate Omnibox with "More Topics for " 1 Answer
Coveo for Sitecore: call external javascript function after each load of Infinite Scrolling 1 Answer
ToCoveoFieldName and mystery fields 2 Answers