Welcome to the Alteryx Knowledge Base

How to Run Pre-Upgrade Checks When Gallery Won't Start
user

Created/Edited - 10/21/2026 by Ed Phelps | Alteryx

How To

Run Pre-Upgrade Checks When Gallery Won't Start

When to use this article

If the MongoDB schema fails to migrate to the correct version during a Server Upgrade, the MongoDB database gets stuck in an intermediate state, and the Gallery won't start. The most likely issues that block the schema from updating can be identified by the Pre-Upgrade Checks workflow.

The procedures below allow you to run the Pre-Upgrade Checks workflow without the Gallery functioning by manually starting the MongoDB database.

Procedure
  1. Open Command Prompt as an Administrator

  2. Start MongoDB directly in the Command Prompt with the single-line command below.  Adjust paths to mongod.exe and to the persistence folder set by Alteryx System Settings > Controller > Persistence > Data Folder

"C:\Program Files\Alteryx\bin\mongod.exe" --dbpath "C:\ProgramData\Alteryx\Service\Persistence\MongoDB" --port 27018 --bind_ip_all --auth

When MongoDB starts successfully, you will be left inside Mongo's command-line interface, and the last line displayed will be:

2022-03-26T19:59:12.762+0000 I NETWORK  [initandlisten] waiting for connections on port 27018

  1. Run Pre-Check workflow in Designer

Alteryx Server Pre-Upgrade Checks

 

  1. Fix any issues identified in the Pre-Upgrade checks in Studio 3T or Robo-3T

  2. Run the Pre-Check workflow again to ensure all issues are resolved

  3. Stop MongoDB in Command Prompt

ctrl-c
Close the Command Prompt

  1. Start the Alteryx Service

  2. Confirm that the MongoDB schema migration completed and the Gallery is accessible.
Additional Information
Was this article helpful?