“530 user cannot log in home directory inaccessible” error in Plesk

Plesk is a user interface that allows its users to edit and create websites, reseller accounts, emails, and much more through a web-based interface.

Typically the error looks as below:

Response: 530 User cannot log in, home directory inaccessible.
Error: Critical error: Could not connect to the server

Usually, this error occurs due to incorrect IP assigned to the domain in Domains > Yourdomainname.com > Hosting & DNS > Web Hosting Access.

If you run the following command into SSH you will see the error:

 

#plesk repair ftp -y

Checking all domain names resolve to appropriate IP addresses
The domain name Yourdomainname.com resolves to another IP address (104.156.48.165) ……………………………………………………. [WARNING]

To fix this error:

1. Log into Plesk

2. Go to Domains > yourdomainnanme.com > Hosting & DNS > Web Hosting Access

3. Then, select the IP address that resolves globally for the domain

4. Finally, click OK