Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Examples and how to

M-Files Hubshare On-Premise - How to uninstall SOLR ?

Last updated on 5 April 2025 · 1 min read

Admin
M-Files Hubshare

Overview

The SOLR tool is used by Hubshare to search within the product - your hubs, files (Standalone Hubshare), users. 

If you have installed Hubshare on your server before the 5.0.10.x version, you might have SOLR installed, this article will show you how to remove it since the tool will be dropped from Hubshare in June 2025.

Solution

In the server hosting Hubshare, please follow the next steps.

  1. Stop the "Hubshare solr search" service.
    A screen shot of a computer         Description automatically generated
  2. Go to your current Package folder, and browse inside Automation and Scripts
    A screenshot of a computer         Description automatically generated
  3. Open a PowerShell window as administrator from that path and run
    choco uninstall solr


    A screen shot of a computer program         Description automatically generated
  4. Open Command Prompt as an administrator and run the command below:
    sc delete "Hubshare solr search"
    A screen shot of a computer         Description automatically generated
  5. Delete the "solr" and "SolrData" folders that should be in C:\



    Optional (only if you are in version 5.0.9.x and below): 
    To reinstall it, you can follow the rest of the article.

    In the same PowerShell window we used to uninstall solr, run this command:

    .\EnsureSolrInstalled.ps1 -AllowUpgrade

    You can also verify if the service is up and running, SOLR is now reinstalled.

Still need help?

On this page