Skip to content
English
  • There are no suggestions because the search field is empty.

FileCloud Update tool fails on HA

Original Question or Issue:

My FileCloud is deployed in High Availability on Windows servers and i'm facing a MongoDB error when updating to the latest version. 


Environment:

  • Product - FileCloud Server
  • Version - Any
  • Platform - Windows

Steps to Reproduce:

Updating a FileCloud High Availability Windows platform.


Error or Log Message:

 Failed: can't create session: failed to connect to mongodb://localhost 


Defect or Enhancement Number:

 


Cause:

 


Resolution or Workaround:

- Connect via RDP to one of the application nodes and open CMD as Administrator.

- Take a full manual  MongoDB dump: 

<Drive_Letter>:\xampp\mongodb\bin\mongodump.exe --host "rs0/fcn4,fcn2,fcn3" --username dbuser --password filecloud321 --authenticationDatabase admin --gzip --out <Drive_Letter>:\allDBs

- Connect via RDP to the MongoDB nodes, but one by one and starting with the secondaries.

- Open CMD as Administrator and run the following commands:

cd <Drive_Letter>:\cloudupdatetool
cloudupdate.exe /noMongoDump
Select the XAMPP folder location, then click Start.


Notes:

Remove username, password and authenticationDatabase options if you're not using MongoDB authentication.