Unable to access any domain options in Plesk UI when additional FTP users are

Started by Suhitha, Sep 22, 2025, 07:32 AM

Previous topic - Next topic

Suhitha

Question: Unable to access any domain options in Plesk UI when additional FTP users are created: /var/www/vhosts/example.com/httpdocs is out of webspace


Applicable to:

  • Plesk for Linux


Symptoms

  • An error is displayed while accessing a domain option in Plesk or logging in to Plesk under user credentials:

Internal error: /var/www/vhosts/example.com/httpdocs is out of webspace
Message /var/www/vhosts/example.com/httpdocs is out of webspace
File Webspace.phpLine 378
Type PleskFatalException

  • The home directory is different for system users of domain

select distinct d.id,d.webspace_id as webspace_id,d.name as domain,su.login,su.home,h.www_root from domains d join hosting h on h.dom_id=d.id left join ftp_users fu on fu.dom_id=d.id join sys_users su on (fu.sys_user_id=su.id or h.sys_user_id=su.id) where d.name='example.com' order by d.name;
+-----+-------------+------------+--------------+-----------------------------+--------------------------------------+
| id | webspace_id | domain | login | home | www_root |
+-----+-------------+------------+--------------+-----------------------------+--------------------------------------+
| 259 | 0 | example.com | user_login | /var/www/vhosts/example.com | /var/www/vhosts/example.com/httpdocs |
| 260 | 0 | example.com | user2_login | /var/www/vhosts/example2.com | /var/www/vhosts/example2.com/httpdocs |
+-----+-------------+------------+--------------+------------------------------+--------------------------------------+

Cause

An additional FTP user home directory is outside of the main system user home directory.


Resolution

Change the value of www_root for affected system user in Plesk database:

1.Connect to the server via SSH

2.Create Plesk database backup

3.Modify the record in the database

# plesk db "update sys_users set home='/var/www/vhosts/example.com/user_folder' where login='user2_login'"

Note: '/var/www/vhosts/example.com/user_folder' should exist on the file system.