Skip to end of metadata
Go to start of metadata

Starting with FileCloud 18.1 administrator has possibility to reset password via the Web UI.

FileCloud Admin can reset the Admin password from command line, in case the current password is forgotten.  The reset password script also clears any admin login locks. It also disables the 2 Factor Authentication, if enabled.

Reset Admin Password in the Admin Web UI

Starting with FileCloud 18.1 administrator has possibility to reset password via the Web UI. On the admin UI login page click More Options and than Forgot Password and follow the steps (this will require access to the email account provided as the administrator's email).


Prerequisite

 

 

Enable PHP CLI Mode

To run the following commands, PHP CLI mode needs to be enabled.

In Linux, edit the file /etc/php5/cli/php.ini and make sure the module mongo.so is enabled. Without this the reset password command will fail.
To enable mongo.so, add the following line at the end of file /etc/php5/cli/php.ini (if this line doesn't exist in the file)
extension=mongo.so

In Windows, the PHP cli mode is already enabled in FileCloud installer.

Linux

In a linux command shell, type the following commands. After the commands are executed, Admin's password will be reset to 'password'.

Resetting password in Linux
user@li111-150:~$ cd /var/www/resources/backup
user@li111-150:/var/www/resources/backup$ php ./resetadminpw.php

If the the reset password command fails, ensure mongo.so is enabled for php client.
To enable mongo.so, add the following line at the end of file /etc/php5/cli/php.ini (if this line doesn't exist in the file)

Windows

In a windows command shell, type the following commands. After the commands are executed, Admin's password will be reset to 'password'.

Resetting password in Windows
C:\WINDOWS\system32>cd c:\xampp\htdocs\resources\backup
c:\xampp\htdocs\resources\backup>c:\xampp\php\php.exe resetadminpw.php

Reset Admin Password in Multi-Site Setups

To reset password for another site, pass in the hostname using -h parameter

resetamdinpw.php -h site2.xyz.com

Starting with the 17.3 version it is now possible to reset the Admin Password for each site directly from the SuperAdmin UI.

  1. Login to the Administration Portal with the Super Admin credentials
  2. Navigate to Site Settings
  3. Reset Admin Password

For more infromation please visit the Multi-Tenancy Settings Page.


  • No labels