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

Removing old node names from Admin UI

Original Question or Issue:

Is there a way to clean up old node names that appear when doing ‘Checks’ in the admin UI?


Environment:

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

Steps to Reproduce:

 


Error or Log Message:

 


Defect or Enhancement Number:

 


Cause:

 


Resolution or Workaround:

  • Connect to your MongoDB primary node.
  • Run the commands below:
    Linux
    mongodump --out /tmp/mongodump
    Windows
    cd C:\xampp\mongodb\bin 
    mongodump --out C:\mongodump
  • NOTE: If you have authentication enabled, you may need to add to the authentication parameters in the command above. 

    • Example in Windows: cd C:\xampp\mongodb\bin mongodump --out C:\mongodump --host primary_server_ip --authenticationDatabase admin --username fcuser --password password
    • Once you have the db dump secured, you may run the commands below from the command prompt:
      • c:\xampp\mongodb\bin\mongosh.exe tonidosettings --eval "db.keystore.find({ key: 'NODE_INFO_KEY'})"
      • c:\xampp\mongodb\bin\mongosh.exe tonidosettings --eval "db.keystore.deleteOne({ key: 'NODE_INFO_KEY'})"
    • Log in to the Admin Portal and run the check, this should populate the new node information. 

Notes: