1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

ppa-transfer transfer-accounts config.ini - copy content failed

Discussion in 'Plesk Automation' started by alphacomp, Nov 29, 2012.

  1. alphacomp

    alphacomp Basic Pleskian

    11
    85%
    Joined:
    Nov 9, 2012
    Messages:
    27
    Likes Received:
    0
    Location:
    Sarasota, Florida
    When I ran "ppa-transfer transfer-accounts config.ini" I get this error. I can see that it transfered the customer and domains but not web content. I created /root/.ssh/id_dsa.AQYx3269 and gave it permission but every time I run "ppa-transfer copy-content config.ini" I noticed the key is auto generated doh! not sure if I should add a new user and then try to sudo from the home directory or if I missed something? Please help


    [2012-11-29 12:29:12] [INFO] | START: copy web content
    [2012-11-29 12:29:12] [INFO] copy-content/domain1.com| Copy content of 'domain1.com' from 'plesk1' to PPA host #2
    [2012-11-29 12:29:13] [ERROR] copy-content| Failed to perform an action on subscription 'domain1.com': Failed to copy content of subscription. Exception message: Command
    set -e;
    key_filename=`mktemp ~/.ssh/id_dsa.XXXXXXXX`;
    echo y | ssh-keygen -q -t dsa -P "" -f "$key_filename" > /dev/null;
    echo "$key_filename";
    cat "$key_filename.pub" with arguments None failed with exit code 1:
    stdout: ''
    stderr: 'mktemp: cannot create temp file /root/.ssh/id_dsa.AQYx3269: No such file or directory\n'

    Detailed Migration Status
    â
    â Client 'customer1'
    â
    â Subscription 'domain1.com'
    â
    â error: Failed to copy content of subscription.
    Exception: Command
    set -e;
    key_filename=`mktemp ~/.ssh/id_dsa.XXXXXXXX`;
    echo y | ssh-keygen -q -t dsa -P "" -f "$key_filename" > /dev/null;
    echo "$key_filename";
    cat "$key_filename.pub" with arguments None failed with exit code 1:
    stdout: ''
    stderr: 'mktemp: cannot create temp file /root/.ssh/id_dsa.AQYx3269: No such file or directory\n'

    [2012-11-29 12:29:13] [INFO] copy-content| ******************** Summary ********************
    [2012-11-29 12:29:13] [INFO] copy-content| Operation finished successfully for 0 out of 1 subscriptions
    [2012-11-29 12:29:13] [ERROR] copy-content| Failed to perform operation on 1 subscription(s): 'domain1.com'
    [2012-11-29 12:29:14] [ERROR] copy-content| 1 of 1 subscription(s) failed to migrate. All of them are listed in "migration-session/failed-subscriptions.1354210153.43".
    To repeat migration for these subscriptions only, run migrator in the following way:
    # ppa-transfer config.ini migrate --migration-list-file migration-session/failed-subscriptions.1354210153.43
    [2012-11-29 12:29:14] [ERROR] | ABORT (by exception): copy web content
    [2012-11-29 12:29:14] [ERROR] | All subscriptions are failed to migrate, no sense to proceed to the next steps of migration. Context: copy-content.
     
  2. alphacomp

    alphacomp Basic Pleskian

    11
    85%
    Joined:
    Nov 9, 2012
    Messages:
    27
    Likes Received:
    0
    Location:
    Sarasota, Florida
    oh nm i figured it out. once I created the file authorized_keys and made it chmod 600 and reran "ppa-transfer copy-content config.ini" it completed successfully.
     
  3. AlexanderVL

    AlexanderVL New Pleskian Plesk Team

    12
    80%
    Joined:
    Mar 6, 2012
    Messages:
    6
    Likes Received:
    0
    It's a known issue - request ~117234 for your reference.
     
Loading...