Plesk update error/auto-installer error

If you are getting the below error while updating the Plesk versions or installing the microupdates , have a try with the mentioned solution :

—-
ERROR: Unable to download the MD5 sum for the new Parallels Installer binary.
Not all packages were installed.
Please, contact product technical support.
—-

Solution :
—–
Remove cache from /var/cache/parallels_installer/ and start auto-installer again.
—–

FTP connectivity problem

If you are getting following error while directory listing, follow the solution provided below :

———-
ftp> ls
227 Entering Passive Mode (108,61,169,245,167,161).
ftp: connect: No route to host
———-

Solution :

1. Edit /etc/sysconfig/iptables-config and add this line:

IPTABLES_MODULES=”ip_conntrack_ftp”

2. Save it and restart iptables.

That’s because passive mode use non standard ports to communicate, so you need to keep track of the ftp connections and iptables will allow them when necessary.

Another solution is specify the passive ports that will be used on FTP server configuration, then open those specific ports on firewall.

Forcefully refreshing disk space usage directly from cPanel

If user disk space usage is reflected incorrectly in cPanel, there is a way to force refresh the disk quota of cpanel directly from cPanel.

We will be able to remedy this by refreshing the cPanel cache for this user. This can be done by removing the /home/username/.cpanel/datastore directory, which will be recreated upon the next access of that account’s cPanel.

========
1. Login to cpanel->file manager -> ensure show hidden file is enabled.
2. Go to /home/username/.cpanel
3. Rename datastore/ to something else
4. Then click disk space usage, it will force refresh the usage
========