• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

return code 1 when migrating users..

perler2

Basic Pleskian
I try to migrate a domain from plesk 10.0.1 on ubuntu 10.04 to 11.5 on ubuntu 12.04:

a lot email accounts bring up errors like:
WARNING: (client object 'user') Execution of /opt/psa/admin/plib/api-cli/user.php --create user@domain.com -owner user-guid b3110240-bf4b-41d8-91ac-7795d9a93b74 -cname user -passwd '' -passwd_type sym -status enabled -domain-admin false -email user@domain.com -role Mail\ User -legacy-user false -for-all-subscriptions -ignore-nonexistent-options failed with return code 1.

where do I see, what went wrong?
 
unfortunatley, there is not much more information in the logfiles. I searched for the mail address in question, this is what I found:

[2013-09-02 19:05:09.642|24973] INFO: Deployer action: create
[2013-09-02 19:05:09.655|24973] INFO: Request is ready for: PSA_CRYPTED_PASSWORD=<HIDDEN> PLESK_RESTORE_MODE=1 PLESK_DISABLE_PROVISIONING=
LANG=en_US.UTF-8 ALLOW_WEAK_PASSWORDS= /opt/psa/admin/plib/api-cli/user.php '--create' 'user@domain.com' '-owner' 'owner' '-guid' 'b
3110240-bf4b-41d8-91ac-7795d9a93b74' '-cname' 'user' '-passwd' '' '-passwd_type' 'sym' '-status' 'enabled' '-domain-admin' 'false' '-email
' 'user@domain.com' '-role' 'Mail User' '-legacy-user' 'false' '-for-all-subscriptions' '-ignore-nonexistent-options'
[2013-09-02 19:05:09.708|24973] INFO: HTTP status code is: 200
[2013-09-02 19:05:09.708|24973] INFO: HTTP response: <cli>
<ok/>
<stdout></stdout>
<stderr></stderr>
<return>1</return>
</cli>
[2013-09-02 19:05:09.721|24973] INFO: ExecCmd::ExFailed[f176163e-4155-4ab1-823e-b614cf6032e4.]: Execution of /opt/psa/admin/plib/api-cli/us
er.php --create user@domain.com -owner owner -guid b3110240-bf4b-41d8-91ac-7795d9a93b74 -cname user -passwd '' -passwd_type sym -st
atus enabled -domain-admin false -email user@domain.com -role Mail\ User -legacy-user false -for-all-subscriptions -ignore-nonexistent
-options failed with return code 1.
[ExecCmd.cpp:64]
void plesk::ExecCmd::reportError() const

is there another place, where I can look or can i enable a debug option prior to migrating (these are just test runs..)
 
ok, I need to bump this. the migration looks fine, we see the mail on the new server, but something went wrong. it may be something we can ignore, but for this to decide we need to find out, what threw the error code. where do we find the script that actually returns the error code?
 
Back
Top