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/Troubleshooting/Error resolution

M-Files Hubshare on-premises upgrade can't be manually launched: "The instance does not exist"

Last updated on 9 December 2024

Admin
M-Files Hubshare

Overview

You could have an error when trying to run the manual update via PowerShell:

The instance "WrongName" does not exist on this server | Cannot find path 'HKLM:\Software\Hubshare\WrongName' because it does not exist.

image.png

Details

This may happen if your server hosts multiple Hubshare instances, or if your Hubshare instance has a different name than "Default".

We look for the "Default" name which is the name your instance will have if you didn't choose a custom one.

Solution

  1. Open the Registry Editor and go to "Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Hubshare"
  2. Check the name of the subfolder below Hubshare, this is the name of your instance.image.png
  3. Go back to PowerShell and run this command:
    .\Update.ps1 -InstanceName MyInstanceName
    Where "MyInstanceName" is the name of your own instance.image.png
  4. Follow the PowerShell script and the next steps mentioned in this article: /article/M-Files-Hubshare-On-Premises-How-to-manually-upgrade-Hubshare-via-PowerShell

Still need help?