Choose Physical hosting, insert new user login and password. The utilities require root or psaadm privileges to operate. Plesk command-line utilities can be used by the root user from the console or script. Login to Parallels Plesk Panel and configure physical hosting for the domain anew through Domains -> domain.tld -> Setup. Plesk command-line utilities use the Plesk core functionality to create, manage, and delete clients, domains, services and other Plesk objects. Mysql> delete from hosting where dom_id=15 ġ1. ![]() Mysql> update domains set htype=’none’ where name=’domain.tld’ Now select the wanted PHP Version, for example, 7.2. Go to Service Plans select the wanted Service Plan, for example, Unlimited and select the tab PHP Settings. ![]() However note that whole virtual hosting directory is overwritten and domain content is lost. Note: This method will also change the PHP Versions of existing subscriptions if the Common PHP settings management permission is not set. It is recommended to re-enable physical hosting for the domain anew. And 4 is domain’s sys_user_id, 186 is ID of new password.ĩ. Where is login of new system user for domain domain.tld, it is also domain’s FTP user. Mysql> insert into sys_users values (4,’sb4′,186,’/var/www/vhosts/domain.tld’,'/bin/false’,0) Mysql> select * from accounts order by id desc limit 1 This is password for domain’s FTP user also. Where is new password for new system user for the domain. Mysql> insert into accounts(type,password) values (‘plain’,’‘) Where 15 is domain’s ID, for details see query in part CAUSE. Mysql> select sys_user_id from hosting where dom_id=15 To resolve this issue add missing record into database of Parallels Plesk Panel manually. How to get a list of all databases/database tables and their size via a command-line interface on a Plesk server Answer. Backup Plesk database before any reconfiguration. Now, to resolve such issue follow up given below instructions. Where domain.tld is your domain that experiences the problem. | id | domain | hosting type | system user | mysql> select * from (select A.id, A.name as domain, A.htype as ‘hosting type’, sys_users.login as ‘system user’ from (select id, concat(‘/var/B where `hosting type` = ‘vrt_hst’ and `system user` is NULL ![]() You will see following error message only when you have configured physical hosting for domain, however appropriate user in missing. Unable to create SysUser object: SysUser: unable to select: no such row in the table 0: /usr/local/psa/admin/plib/:168ĭomainControlForm->assign(object of type BsDomain)ġ: /usr/local/psa/admin/htdocs/domains/dom_ctrl.php3:149
0 Comments
Leave a Reply. |