Welcome to the Alteryx Knowledge Base
Created/Edited -
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.
- Open Command Prompt as an Administrator
- 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
- Run Pre-Check workflow in Designer
Alteryx Server Pre-Upgrade Checks
- Fix any issues identified in the Pre-Upgrade checks in Studio 3T or Robo-3T
- Run the Pre-Check workflow again to ensure all issues are resolved
- Stop MongoDB in Command Prompt
ctrl-c
Close the Command Prompt
- Start the Alteryx Service
- Confirm that the MongoDB schema migration completed and the Gallery is accessible.