Gravatar for softech89@hotmail.com

Question by jfarley, Sep 23, 2014 8:10 PM

Uninstalling Coveo for Sitecore

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?

5 Replies
Gravatar for jflheureux@coveo.com

Answer by Jean-François L'Heureux, Sep 24, 2014 9: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?

Gravatar for softech89@hotmail.com

Comment by jfarley, Sep 24, 2014 9:42 AM

Thanks,I will look into the Package History module.

Gravatar for softech89@hotmail.com

Comment by jfarley, Sep 24, 2014 9:47 AM

Am I required to have a Coveo Enterprise Search license in addition to the Coveo sitecore license for the solution to work though?

Gravatar for jflheureux@coveo.com

Comment by Jean-François L'Heureux, Sep 24, 2014 9:51 AM

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.

Gravatar for vseguin@coveo.com

Answer by Vincent Séguin, Sep 24, 2014 8: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?

Gravatar for lbergeron@coveo.com

Answer by Luc Bergeron, Sep 24, 2014 8: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

Gravatar for softech89@hotmail.com

Answer by jfarley, Sep 24, 2014 9: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.

Gravatar for jflheureux@coveo.com

Comment by Jean-François L'Heureux, Sep 24, 2014 9:57 AM

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.

Gravatar for jflheureux@coveo.com

Comment by Jean-François L'Heureux, Sep 24, 2014 10:00 AM

You can also use the Diagnostic Page to help you troubleshoot your installation : https://developers.coveo.com/display/SC201409/Diagnostic+Page

Gravatar for jflheureux@coveo.com

Comment by Jean-François L'Heureux, Sep 24, 2014 10:05 AM

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.

Gravatar for jflheureux@coveo.com

Comment by Jean-François L'Heureux, Sep 24, 2014 10:18 AM

You can also check this AdminService specific troubleshooting documentation page : https://developers.coveo.com/display/SC201409/Problem+Accessing+the+Coveo+Admin+Service

Gravatar for softech89@hotmail.com

Comment by jfarley, Sep 24, 2014 10:18 AM

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"

Gravatar for jflheureux@coveo.com

Comment by Jean-François L'Heureux, Sep 24, 2014 10:27 AM

Of course, rebuilding the indexes before removing the ".example" extension to the Coveo.SearchProvider.config.example file will index your files with the default Sitecore SearchProvider (Lucene).

Gravatar for softech89@hotmail.com

Comment by jfarley, Sep 24, 2014 10:40 AM

I think it will be better if i re-install the Coveo Sitecore module and then go through the diagnotics Page

Gravatar for vseguin@coveo.com

Answer by Vincent Séguin, Sep 24, 2014 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.'

Gravatar for softech89@hotmail.com

Comment by jfarley, Sep 24, 2014 11:02 AM

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.

Ask a question