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-Premises - How to manually upgrade Hubshare via PowerShell

Last updated on 12 November 2025

Admin
M-Files Hubshare

Overview

Sometimes, the AutoUpdate will fail due to various reasons. 

Make sure to try to upgrade your Hubshare instance with the AutoUpdate first (here is how to proceed: /article/How-to-update-On-Premise-Hubshare-using-AutoUpdate-2-0-from-v4-x-x-x-and-above)

If the update is stuck or has failed, this article will show how to proceed to manually update the Hubshare instance via PowerShell.

Solution

To start your upgrade process, you will first need to download the package you want to install.

In the M-Files Hubshare AutoUpdate page, click on the download icon next to the version targeted.

When finished, the page will notify you.

A white background with black text     Description automatically generated

You will find the package in the location you have chosen on the M-Files Hubshare AutoUpdate page.

Go to that path, and get inside the version package you just downloaded, it should look like this:

A screenshot of a computer     Description automatically generated

Note: If the DeploymentPackage.zip is still there, please unzip it manually.

You can now launch Windows PowerShell as an administrator, by clicking "File", "Open Windows PowerShell" and "Open Windows PowerShell as an administrator"

A screenshot of a computer     Description automatically generated

To launch the update, please run the .\Update.ps1 script in that PowerShell window. 

A screenshot of a computer program     Description automatically generated

Please wait for the ReleasePackage to be unzipped and the update steps will now run on PowerShell.

Note: You might need to reply to some questions during the upgrade, usually those are Y/N questions.

When finished, the PowerShell window should display this message at the end, ensuring that the website is up and running.

You will also be able to refresh the M-Files Hubshare AutoUpdate page and see that you are now up to date.

If the process has failed, please take a screenshot of the error you got in PowerShell, get the product logs by following this article: /article/Hubshare-How-to-get-product-logs-On-Premise and send this to M-Files Support by creating a case on the M-Files Support portal. Please note that the logs should be sent using Cryptshare - see the link above for instructions.

Still need help?

On this page