Unable to open File Manager in Plesk Control Panel

Started by shantanu, January 08, 2014, 07:21:21 PM

Previous topic - Next topic

shantanu

Symptoms:

After opening the File Manager in Plesk Panel, you will get below error:

++++++++
FileList::init() failed: ls_dir_wrapper() failed: Unable to lookup SID for name test_user: (1332) No mapping between account names and security IDs was done.
---------------------- Debug Info -------------------------------
0: FileManagerUIPointer.php:737
        FileManagerUIPointer->accessItem(string 'GET', NULL null)
1: client.domain.hosting.file-manager.php:87
        plesk__client__domain__hosting__file_manager->accessItem(string 'GET', NULL null)
2: UIPointer.php:600
        UIPointer->access(string 'GET')
3: plesk.php:57
++++++++

Cause:

The FTP/File Managre user is not present on the server.

Resolution:

1. Start > Run > cmd>

2. After that retrieve the password using below command for user test_user:

"%plesk_bin%"\dbclient --direct-sql --sql="select su.login, a.password from accounts a, sys_users su  where a.id=su.account_id and su.login='test_user'"
login       password
test_user   p@ssw0rd

2. Add the missing user by using below command:
   C:\net user test_user p@ssw0rd /add

3. Add that user into Plesk Group:
   C:\net localgroup psacln test_user /add

4. Add local path in the following location >>
   Server Manager > Configuration > Local users and Groups > test_user > properties > Profile > Local Path
   (Local Path will be localtion of httpdocs folder of that domain)

   The path of the user can be found in the sys_users table.

Eg:

C:\Users\Administrator>"%plesk_bin%\dbclient.exe" --direct-sql --sql="select login,home from sys_users where login='test_user'"
+---------------+-------------------------------------+
| login         | home                                |
+---------------+-------------------------------------+
| test_user     | C:/Inetpub/vhosts/test.com          |
+---------------+-------------------------------------+
1 row in set (0.00 sec)

5. If the password is encrypted and "Enhanced security mode" policy is enabled:then follow the below steps:
A. Add the user with random password.
B. Login to Plesk Control panel >> Subscriptions >> test.com >> Change hosting settings and Update password for that FTP user.

Now you will be able to access the File Manager without any error.

Administrator

Shantanu, thank you for the insights & hope this post helps users in fixing the issue.
MilesWeb - Your Hosting, Our Responsibility!
Buy Web Hosting Plans | Managed VPS with 50% Discount