Migration fails: backup_info*: Cannot stat: No such file or directory

Created:

2016-12-29 14:18:45 UTC

Modified:

2017-08-16 16:21:08 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Migration fails: backup_info*: Cannot stat: No such file or directory

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk for Linux

Symptoms

  1. Cannot perform migration:

    Failed to fetch configuration data from Plesk servers 
    Cause: Command execution failed on the source server 'source' (62.103.152.250) with non-zero exit code. 
    command: cd /tmp/pmm_agent; tar rf migration_dump.tar backup_info* 
    exit code: 2 
    stdout: 
    stderr: tar: backup_info*: Cannot stat: No such file or directory 
    tar: Error exit delayed from previous errors
    
    That is a critical error, migration was stopped.  
    
  2. The following error could be found in the log file /usr/local/psa/var/modules/panel-migrator/sessions/<session_id>/pmm-agent_<id>/dump.log :

    DEBUG Exec: /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/api-cli/service_node.php --describe-for-pmm-deployer
    Plesk is not configured. You should go to the Server Administration Panel and configure it.                                
    DEBUG Output:
    DEBUG Unable to create dump: File does not exist:  at PleskStructure.pm line 625 
    

Cause

The source server is unable to create the dumps. Incorrect value psa_configured in psa.misc table on the source server.

Resolution

  1. Backup psa database as described in article #213904125

  2. Check if the source server is configured and psa_configured in psa.misc table equals true :

    mysql> select * from misc where param='psa_configured'; 
    +----------------+-------+
    | param          | val   |
    +----------------+-------+
    | psa_configured | false |
    +----------------+-------+
  3. Update the value:
    mysql> update misc set val='true' where param='psa_configured';
    mysql> select * from misc where param='psa_configured';
    +----------------+------+
    | param          | val  |
    +----------------+------+
    | psa_configured | true |
    +----------------+------+
    1 row in set (0.00 sec)
Have more questions? Submit a request
Please sign in to leave a comment.