<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Could not finalize mongodb restore the mongodb database failed to start with exit code in Alteryx Server Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Could-not-finalize-mongodb-restore-the-mongodb-database-failed/m-p/1258755#M15241</link>
    <description>&lt;P&gt;I have seen a similar thing today, wondering if the MongoDB upgrade was actually succesful. it is slightly worrying.&lt;/P&gt;</description>
    <pubDate>Fri, 05 Apr 2024 11:01:51 GMT</pubDate>
    <dc:creator>NatSnook</dc:creator>
    <dc:date>2024-04-05T11:01:51Z</dc:date>
    <item>
      <title>Could not finalize mongodb restore the mongodb database failed to start with exit code 100</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Could-not-finalize-mongodb-restore-the-mongodb-database-failed/m-p/1258718#M15240</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I keep getting this error after upgrading from 2023.1 to 23.2. I have done 3 upgrade on 3 different servers and all gave me this error after the mongo migration. But there is no issue, the AlteryxService starts up successfully.&lt;/P&gt;&lt;P&gt;Is this a bug or why is this happening?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled picture.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/348508i1B7A1139FEE42BCF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Untitled picture.png" alt="Untitled picture.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 08:45:58 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Could-not-finalize-mongodb-restore-the-mongodb-database-failed/m-p/1258718#M15240</guid>
      <dc:creator>Brinker</dc:creator>
      <dc:date>2024-04-05T08:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: Could not finalize mongodb restore the mongodb database failed to start with exit code</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Could-not-finalize-mongodb-restore-the-mongodb-database-failed/m-p/1258755#M15241</link>
      <description>&lt;P&gt;I have seen a similar thing today, wondering if the MongoDB upgrade was actually succesful. it is slightly worrying.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 11:01:51 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Could-not-finalize-mongodb-restore-the-mongodb-database-failed/m-p/1258755#M15241</guid>
      <dc:creator>NatSnook</dc:creator>
      <dc:date>2024-04-05T11:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Could not finalize mongodb restore the mongodb database failed to start with exit code</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Could-not-finalize-mongodb-restore-the-mongodb-database-failed/m-p/1258830#M15242</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/271007"&gt;@Brinker&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should start looking at the migration logs to see what is happening. Maybe it is a corrupted value somewhere/&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;C:\ProgramData\Alteryx\Gallery\Logs\alteryx-migration.csv&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also, have you performed the pre-upgrade checks before doing the upgrade? This is an important step to fix some issues that can make your migration not work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://knowledge.alteryx.com/index/s/article/server-pre-upgrade-checks" target="_blank"&gt;https://knowledge.alteryx.com/index/s/article/server-pre-upgrade-checks&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Fernando Vizcaino&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 13:56:36 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Could-not-finalize-mongodb-restore-the-mongodb-database-failed/m-p/1258830#M15242</guid>
      <dc:creator>fmvizcaino</dc:creator>
      <dc:date>2024-04-05T13:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Could not finalize mongodb restore the mongodb database failed to start with exit code</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Could-not-finalize-mongodb-restore-the-mongodb-database-failed/m-p/1261668#M15287</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Seeing the same issue on upgrading our production system to 2023.2 from 2022.1&lt;/P&gt;&lt;P&gt;We did not see any issues when upgrading our test system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had previously:&lt;/P&gt;&lt;P&gt;Run the pre-upgrade checks - no issues reported&lt;/P&gt;&lt;P&gt;Run the mongo migration tool - no issues reported&lt;/P&gt;&lt;P&gt;Re-run the pre-upgrade checks - no issues reported&lt;/P&gt;&lt;P&gt;Run the installer for 2023.2.1.89&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Got exactly the same error message as op&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Checked for:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;C:\ProgramData\Alteryx\Gallery\Logs\alteryx-migration.csv&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cannot find this file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We have ProgramData for Alteryx redirected to D: as per all path options on the Engine Configuration page in Server Setup.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have&amp;nbsp;C:\ProgramData\Alteryx\Service\AlteryxServiceMigrator_0.log presumably from the encryption migration - shows no errors.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have no .\Gallery folder under&amp;nbsp;C:\ProgramData\Alteryx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have a .\Gallery folder under our defined logging folder path on D: but that folder does not contain any logs newer than that for the last workflow which ran before I started the upgrade.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have&amp;nbsp;D:\AlteryxProgramData\Service\Persistence\MongoDB_PreUpgrade\migration.log which appears to contain the same content as the output tool when it was running.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The last lines in that file are:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;2024-04-13T10:48:48.836+0100 508999 document(s) restored successfully. 0 document(s) failed to restore.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;--Stopping MongoDb&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;--Starting: mongosh.exe localhost:27018 "D:\AlteryxProgramData\Service\Persistence\MongoDB\shutdown.js"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Current Mongosh Log ID: 661a55017a818e4647ec3c80&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Connecting to: mongodb://localhost:27018/?directConnection=true&amp;amp;serverSelectionTimeoutMS=2000&amp;amp;appName=mongosh+1.8.2&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Using MongoDB: 6.0.5&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Using Mongosh: 1.8.2&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;For mongosh info see: &lt;A href="https://docs.mongodb.com/mongodb-shell/" target="_blank" rel="noopener"&gt;https://docs.mongodb.com/mongodb-shell/&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;The server generated these startup warnings when booting&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;2024-04-13T10:47:53.374+01:00: Access control is not enabled for the database. Read and write access to data and configuration is unrestricted&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;2024-04-13T10:47:53.375+01:00: This server is bound to localhost. Remote systems will be unable to connect to this server. Start the server with --bind_ip &amp;lt;address&amp;gt; to specify which IP addresses it should serve responses from, or with --bind_ip_all to bind to all interfaces. If this behavior is desired, start the server with --bind_ip 127.0.0.1 to disable this warning&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;------&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Enable MongoDB's free cloud-based monitoring service, which will then receive and display&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;metrics about your deployment (disk utilization, CPU, operation statistics, etc).&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;The monitoring data will be available on a MongoDB website with a unique URL accessible to you&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;and anyone you share the URL with. MongoDB may use this information to make product&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;improvements and to suggest MongoDB products and deployment options to you.&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;To enable free monitoring, run the following command: db.enableFreeMonitoring()&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;To permanently disable this reminder, run the following command: db.disableFreeMonitoring()&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;------&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Loading file: D:\AlteryxProgramData\Service\Persistence\MongoDB\shutdown.js&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;MongoNetworkError: connection 1 to 127.0.0.1:27018 closed&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;--Starting: C:\Program Files\Alteryx\bin\mongod.exe --dbpath "D:\AlteryxProgramData\Service\Persistence\MongoDB" --port 27018&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm seeing the following in the Windows Event Log - Application branch&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Fault bucket 2155290668401245467, type 5&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Event Name: RADAR_PRE_LEAK_64&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Response: Not available&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Cab Id: 0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Problem signature:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;P1: mongod4_2.exe&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;P2: 4.2.22.0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;P3: 10.0.17763.2.0.0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a standard Windows memory leak warning? I don't know if that would then cause the service to fail?&lt;/P&gt;&lt;P&gt;I note that this is for mongod4_2.exe whereas post upgrade we should be running mongod.exe so may not be relevant to the failure to start error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I checked the Alteryxservice it was stopped.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not clear at this point what I am supposed to do. I'm not clear even if this had been successful how what the correct way is to install Predictive Tools?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;==UPDATE==&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am unable to re-run the .89 installer as it says that this version is already installed. Has it automatically updated the Predictive Tools?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to run the patch 3 .133 installer so we will see what happens with that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It appears to hang at calculating space?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Alteryxservice will not start at this point.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;==UPDATE==&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I rebooted the server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Alteryxservice started.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The file&amp;nbsp;&lt;SPAN&gt;alteryx-migration.csv has now magically appeared in the .\Gallery\Logs folder with timestamp post reboot?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Nothing out of the ordinary - lines with&amp;nbsp; FATAL relate to the upgrade process obtaining a lock. All other lines are INFO.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ran server setup wizard - caused the Alteryxservice to stop which is unusual as I thought it was supposed to restart it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Service starts okay.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Going to attempt the patch 3 upgrade again.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;==UPDATE==&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Patch 3 has gone through. Not sure if it was hanging before or just takes a long time to do the space calculation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My query on Predictive Tools is answered by this note on the documentation page:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;Install Predictive Tools&lt;/STRONG&gt;&lt;/SPAN&gt;: Installs the predictive tools in Designer. The predictive tools use R, an open-source programming language used for statistical and predictive analysis. Select this option to launch the R installer. You have to install the predictive tools to use the predictive macros in Designer. To install at a later time, go to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;Options &amp;gt; Download Predictive Tools&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in Designer.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I must say that I find this "branching" nature of the install process counter intuitive. Why not just stick to the separate installer for the Predictive Tools and then it wouldn't muddy the waters with the server install process?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;==FINAL UPDATE==&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our system is updated to 2023.2&lt;/P&gt;&lt;P&gt;With regards to the OP this error did not appear to impact the upgrade in any way. I can only think that this is some sort of sequencing issue that prevents, or appears to prevent, the mongod daemon from starting?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Apr 2024 11:28:30 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Could-not-finalize-mongodb-restore-the-mongodb-database-failed/m-p/1261668#M15287</guid>
      <dc:creator>Paul_Holden</dc:creator>
      <dc:date>2024-04-13T11:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: Could not finalize mongodb restore the mongodb database failed to start with exit code</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Could-not-finalize-mongodb-restore-the-mongodb-database-failed/m-p/1271654#M15421</link>
      <description>&lt;P&gt;This is most likely due to the ASMongoDBVersions.bin file missing from the MongoDB folder. If it's missing you can follow the steps in the article below to get your service working properly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://knowledge.alteryx.com/index/s/article/Could-not-finalize-mongodb-restore-the-mongodb-database-failed-to-start-with-exit-code-100" target="_blank"&gt;https://knowledge.alteryx.com/index/s/article/Could-not-finalize-mongodb-restore-the-mongodb-database-failed-to-start-with-exit-code-100&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 23:08:45 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Could-not-finalize-mongodb-restore-the-mongodb-database-failed/m-p/1271654#M15421</guid>
      <dc:creator>Mohsen_84</dc:creator>
      <dc:date>2024-05-10T23:08:45Z</dc:date>
    </item>
  </channel>
</rss>

