There was a problem loading the comments.

Cannot reset the default admin password

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

Original Question

or Issue:

Cannot reset the default admin password using FileCloud Control Panel and Reset Password tool

Environment:

  • Product - FileCloud Server
  • Version - Any
  • Platform - Windows
  • Application - Admin Portal
Steps to Reproduce:

 

 

 

Error or Log Message: Invalid username and password

Defect or

Enhancement Number:

 
Cause: This issue could occur if the default admin username had been changed and no one in the organization knows what it was changed to

Resolution or

Workaround:

If access to the admin portal is not possible and the default admin username and password cannot be recovered, we can use the MongoDB Shell to retrieve the value set for the admin username.

  • Connect to the FileCloud Server host.
  • Launch the MongoDB Shell from C:\xampp\mongodb\bin for Windows, and the executable can be invoked directly. 
    • Mongo.exe for older versions
    • Mongosh.exe for newer version of MongoDB
  • Run the commands below
    use tonidosettings
    db.sites.find({ "settings.name": "TONIDOCLOUD_ADMIN_USER" }, { "settings.$": 1 }).pretty()

The command above should return something like:
[
  {
    _id: ObjectId("64b03e74f305487056027512"),
    settings: [ { name: 'TONIDOCLOUD_ADMIN_USER', value: 'admin' } ]
  }
]

Notes:   

Share via

Related Articles


Self-Hosted Help Desk Software by SupportPal
© FileCloud