File manager does not show files, it just loading all time or fails with Proxy Error

Created:

2016-11-16 12:56:53 UTC

Modified:

2017-08-24 08:39:39 UTC

0

Was this article helpful?


Have more questions?

Submit a request

File manager does not show files, it just loading all time or fails with Proxy Error

Applicable to:

  • Plesk 11.x for Linux

Symptoms

File manager does not show files in a folder for a particular domain. It shows the message

PLESK_INFO: Please wait. Loading...

and then fails due to timeout.

Or it shows error:

PLESK_ERROR: Proxy Error
The proxy server could not handle the request GET /smb/file-manager/list-data.
Reason: Error reading from remote server

Cause

File manager does not work properly if a folder contains files with the modification date earlier that 2 Jan 1970. The root cause of such behavior is bug with ID #PPPM-1144 that was fixed in Plesk 12.0

Resolution

Upgrade to the latest Plesk version.

If upgrade is not possible, connect to the server using SSH and apply fix:

For CentOS :

  1. Copy the original file:

    # mv /usr/local/psa/admin/plib/Smb/View/List/ContentFiles.php /usr/local/psa/admin/plib/Smb/View/List/ContentFiles.php.bak

  2. Replace it with the fixed one:

    # wget https://support.plesk.com/hc/en-us/article_attachments/115004352265/ContentFiles.php
    # mv ContentFiles.php /usr/local/psa/admin/plib/Smb/View/List/ContentFiles.php

For Debian and Ubuntu :

  1. Copy the original file:

    # mv /opt/psa/admin/plib/Smb/View/List/ContentFiles.php /opt/psa/admin/plib/Smb/View/List/ContentFiles.php.bak

  2. Replace it with the fixed one:

    # wget https://support.plesk.com/hc/en-us/article_attachments/115004352265/ContentFiles.php
    # mv ContentFiles.php /opt/psa/admin/plib/Smb/View/List/ContentFiles.php

Attachments:

Have more questions? Submit a request
Please sign in to leave a comment.