• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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 [email protected] -owner user-guid b3110240-bf4b-41d8-91ac-7795d9a93b74 -cname user -passwd '' -passwd_type sym -status enabled -domain-admin false -email [email protected] -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' '[email protected]' '-owner' 'owner' '-guid' 'b
3110240-bf4b-41d8-91ac-7795d9a93b74' '-cname' 'user' '-passwd' '' '-passwd_type' 'sym' '-status' 'enabled' '-domain-admin' 'false' '-email
' '[email protected]' '-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 [email protected] -owner owner -guid b3110240-bf4b-41d8-91ac-7795d9a93b74 -cname user -passwd '' -passwd_type sym -st
atus enabled -domain-admin false -email [email protected] -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