Unable to access File Manager for a certain domain or for all domains on a serve

Started by mahesh, Aug 09, 2024, 02:48 AM

Previous topic - Next topic

mahesh

Question:Unable to access File Manager for a certain domain or for all domains on a server: Permission denied
Symptoms
  • Unable to access File Manager for a certain domain or for all domains on a server:

Server Error
500 PleskUtilException
Internal error: Unable to find the directory /var/www/vhosts/example.com/: filemng failed: filemng: opendir failed: Permission denied System error 13: Permission denied

  • Unable to download the files shown in File Manager:
Forbidden
You don't have permission to access this resource.
Apache Server at example.com Port 443

  • Unable to execute actions on File Manager: such as ZIP extraction, Copy, Rename, Changing Permissions, etc.
  • Unable to connect via FTP to a domain main folder or a sub-folder with the following error:
  • Unable to connect FTP :421 Service not available, remote server has closed.
  • Unable to create a ZIP file in Domains > example.com > File Manager > Add to Archive:
Unable to create the archive: filemng failed: filemng: /usr/bin/zip execution failed: zip warning: Permission denied zip warning: Permission denied zip warning: Permission denied zip warning: Permission denied zip warning: Permission denied zip warning: Permission denied.

Cause
Incorrect permissions on domain's folder.

Resolution

Via Plesk GUI
[1.Log in to Plesk GUI

2.Repair Kit extension

3.Go to Tools & Settings > Diagnose & Repair > File System > Repair
via SSH
1.Connect to the server

2.Run the following command to repair file permissions:

#plesk repair fs -y example.com
To fix permissions for all the domains:

#plesk repair fs -y