Symptoms
-
Migration has failed with error:
PLESK_ERROR: Attempt #1 failed with the following error:
Unable to create subscription ‘example.com’.
Command execution failed on the local server with non-zero exit code.
command: /opt/psa/bin/subscription –create example.com -hosting true -hst_type phys -login johndoe-passwd ” -ip 203.0.113.2 -do-not-apply-skeleton -notify false -owner johndoe-service_plan ‘Service Plan’ -force -guid 83840199-3713-4c7e-8910-2a4ff874bea4 -creation-date 2019-05-07 -ignore-nonexistent-options
exit code: 1
stdout:
stderr: [2019-06-26 14:41:01.654] ERR [util_exec] proc_close() failed [‘/opt/psa/admin/bin/vhostmng-structure’] with exit code [1]
An error occurred during domain creation: An error occurred during changing of hosting settings: hosting update is failed: vhostmng-structure failed: Cannot create directory /httpdocs/cgi-bin: Permission denied
System error 13: Permission denied -
A domain is created without hosting on the destination server in Domains > example.com.
Cause
Incorrect system permissions.
Resolution
-
Connect to the server via SSH;
-
Fix system permissions using the command below:
# plesk repair fs -system -y
-
Delete this domain from Domains > example.com > Remove;
-
Finish current migration session and start a new one in Tools & Settings > Migration Manager.