Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Server Knowledge Base

Definitive answers from Server experts.

Error: AlteryxService will not start after upgrade to 20.x (User-Managed MongoDB with Replica Set)

SophiaF
Alteryx
Alteryx
Created

Environment Details


  • Alteryx Server
    • Upgrading from 19.x to 20.x
    • User-managed MongoDB (Replica Set)
After upgrading to version 20.x, the AlteryxService will not start. The following errors are found in the Service logs:
 
MongoConnection.cpp: 16. Mongo error: ""an invalid MongoDB URI was provided"" code: <mongocxx:10>
AlteryxService_LogStartupError: There was an error starting the Alteryx Service <Mongo connection failed, please ensure server address and credentials are correct.>


Cause


If you were using replica sets before the availability of the connection string option (2020.1 release), you have to change to a connection string.

Resolution


Reconfigure the connection string in Alteryx System Settings (Persistence > General). See this article for details on formatting and connection string examples: MongoDB Advanced Connection Strings ​​​​​​​