Title: Plugin Cannot Create Archives
Last modified: April 17, 2019

---

# Plugin Cannot Create Archives

 *  Resolved [theduffmaster](https://wordpress.org/support/users/theduffmaster/)
 * (@theduffmaster)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/plugin-cannot-create-archives/)
 * Hi,
    I have been trying to get this plugin to work for awhile now and cannot 
   seem to get it to work. I am trying to migrate a locally hosted wordpress site
   by setting up a tunnel to it through [ngroc](https://ngrok.com). Siteground seems
   to be able to connect to the site, but the plugin is unable to create a tar archive
   in the folder with a lot of numbers and letters (1555446124-e8818e964e4608cc92d2db7dbc34acfa69b1cd0d).
   I have tried playing with permissions and giving write access to the tunnel. 
   At first I got this error:
 *     ```
       [17-Apr-2019 03:43:46 UTC] INFO: Transfer started. Creating archives of files... 
       [17-Apr-2019 03:43:46 UTC] INFO: Updating transfer id. 
       [17-Apr-2019 03:43:46 UTC] INFO: Updating transfer psk. 
       [17-Apr-2019 03:43:48 UTC] INFO: Site domain to be changed to salvatoricenter.org/ 
       [17-Apr-2019 03:43:50 UTC] INFO: Transfer started. Creating archives of files... 
       [17-Apr-2019 03:43:51 UTC] INFO: Critical Environment Error 
       [17-Apr-2019 03:43:51 UTC] ERROR: Array
       (
           [type] => 1
           [message] => Uncaught PharException: phar "/Applications/XAMPP/xamppfiles/apps/wordpress/htdocs/wp-content/uploads/1555446124-e8818e964e4608cc92d2db7dbc34acfa69b1cd0d/plugins/chosen-pro.tar" unable to create temporary file in /Applications/XAMPP/xamppfiles/apps/wordpress/htdocs/wp-content/plugins/siteground-migrator/includes/class-siteground-migrator-files-service.php:205
       Stack trace:
       #0 /Applications/XAMPP/xamppfiles/apps/wordpress/htdocs/wp-content/plugins/siteground-migrator/includes/class-siteground-migrator-files-service.php(205): PharData->buildFromDirectory('/Applications/X...')
       #1 /Applications/XAMPP/xamppfiles/apps/wordpress/htdocs/wp-content/plugins/siteground-migrator/includes/class-siteground-migrator-files-service.php(146): Siteground_Migrator_Files_Service->create_encrypted_archive('/plugins/chosen...')
       #2 /Applications/XAMPP/xamppfiles/apps/wordpress/htdocs/wp-content/plugins/siteground-migrator/includes/class-siteground-migrator-background-process.php(55): Siteground_Migrator_Files_Service->prepare_archive
           [file] => /Applications/XAMPP/xamppfiles/apps/wordpress/htdocs/wp-content/plugins/siteground-migrator/includes/class-siteground-migrator-files-service.php
           [line] => 205
       )
       ```
   
 * Then, after figuring out how to give write permission to the server, I got no
   error anymore but the plugin would hang on creating archive and the error log
   would produce nothing. No archive was ever created, and the folders stayed the
   same size. Any thoughts on what is happening?

Viewing 14 replies - 1 through 14 (of 14 total)

 *  Thread Starter [theduffmaster](https://wordpress.org/support/users/theduffmaster/)
 * (@theduffmaster)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/plugin-cannot-create-archives/#post-11441304)
 * Also, to add, I was using XAMPP to locally host it, which was using an Apache
   web server.
    -  This reply was modified 7 years, 1 month ago by [theduffmaster](https://wordpress.org/support/users/theduffmaster/).
 *  Plugin Author [Stanimir Stoyanov](https://wordpress.org/support/users/sstoqnov/)
 * (@sstoqnov)
 * SiteGround Representative
 * [7 years, 1 month ago](https://wordpress.org/support/topic/plugin-cannot-create-archives/#post-11441556)
 * Hey [@theduffmaster](https://wordpress.org/support/users/theduffmaster/)
 * This solution is not suitable for migrating localhost WordPress sites or for 
   Full Multisite installations (separate Multisite blogs are fine).
 * Regards,
    Stanimir
 *  Thread Starter [theduffmaster](https://wordpress.org/support/users/theduffmaster/)
 * (@theduffmaster)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/plugin-cannot-create-archives/#post-11446024)
 * Hi Stanimir,
    Thank you very much for the resposne! So, what I have done, is 
   I have essentially “hosted” my website for this operation. I might be wrong, 
   but I do not think it being originally locally hosted is the problem.
 *  Plugin Author [Stanimir Stoyanov](https://wordpress.org/support/users/sstoqnov/)
 * (@sstoqnov)
 * SiteGround Representative
 * [7 years, 1 month ago](https://wordpress.org/support/topic/plugin-cannot-create-archives/#post-11446082)
 * hey [@theduffmaster](https://wordpress.org/support/users/theduffmaster/)
 * Could you please check the logs for any errors? Also how big is your site (wp-
   content folder and database)? Maybe you should check the free space your temp
   folder has.
 * We haven’t tested the plugin with ngroc and I’m not sure how it will work in 
   such case.
 * Regards,
    Stanimir
 *  Thread Starter [theduffmaster](https://wordpress.org/support/users/theduffmaster/)
 * (@theduffmaster)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/plugin-cannot-create-archives/#post-11446111)
 * Hi,
    Thank you for the response! Well the Log does not show anything, I have 
   checked the POST requests and it seems this error comes up
 *     ```
       <br />
       <b>Fatal error</b>:  Uncaught PharException: phar &quot;/Applications/XAMPP/xamppfiles/apps/wordpress/htdocs/wp-content/uploads/1555446124-e8818e964e4608cc92d2db7dbc34acfa69b1cd0d/plugins/chosen-pro.tar&quot; unable to create temporary file in /Applications/XAMPP/xamppfiles/apps/wordpress/htdocs/wp-content/plugins/siteground-migrator/includes/class-siteground-migrator-files-service.php:205
       Stack trace:
       #0 /Applications/XAMPP/xamppfiles/apps/wordpress/htdocs/wp-content/plugins/siteground-migrator/includes/class-siteground-migrator-files-service.php(205): PharData->buildFromDirectory('/Applications/X...')
       #1 /Applications/XAMPP/xamppfiles/apps/wordpress/htdocs/wp-content/plugins/siteground-migrator/includes/class-siteground-migrator-files-service.php(146): Siteground_Migrator_Files_Service->create_encrypted_archive('/plugins/chosen...')
       #2 /Applications/XAMPP/xamppfiles/apps/wordpress/htdocs/wp-content/plugins/siteground-migrator/includes/class-siteground-migrator-background-process.php(55): Siteground_Migrator_Files_Service->prepare_archive in <b>/Applications/XAMPP/xamppfiles/apps/wordpress/htdocs/wp-content/plugins/siteground-migrator/includes/class-siteground-migrator-files-service.php</b> on line <b>205</b><br />
       ```
   
 * After this error all the POST requests after have:
 *     ```
       {
           "success": true,
           "data": {
               "message": "Transfer started. Creating archives of files...",
               "status": 1,
               "description": "",
               "progress": false
           }
       }
       ```
   
 * It does not stop and show “critical error” or log anything in the local log for
   whatever reason, but it seems this error is stopping it.
    -  This reply was modified 7 years, 1 month ago by [theduffmaster](https://wordpress.org/support/users/theduffmaster/).
    -  This reply was modified 7 years, 1 month ago by [theduffmaster](https://wordpress.org/support/users/theduffmaster/).
    -  This reply was modified 7 years, 1 month ago by [theduffmaster](https://wordpress.org/support/users/theduffmaster/).
 *  Thread Starter [theduffmaster](https://wordpress.org/support/users/theduffmaster/)
 * (@theduffmaster)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/plugin-cannot-create-archives/#post-11446163)
 * Ok, I have managed to issue an ACL command on the uploads folder (in which the
   folder with all the numbers is contained) giving the server “daemon” permission
   to write to it. Now I no longer see an error in the POST requests. But I still
   do not see any archives created.
 * Now I only see:
 *     ```
       {
           "success": true,
           "data": {
               "message": "Transfer started. Creating archives of files...",
               "status": 1,
               "description": "",
               "progress": false
           }
       }
       ```
   
 * And the occasional “heartbeat”:
 *     ```
       {
           "wp-auth-check": true,
           "server_time": 1555660629
       }
       ```
   
    -  This reply was modified 7 years, 1 month ago by [theduffmaster](https://wordpress.org/support/users/theduffmaster/).
    -  This reply was modified 7 years, 1 month ago by [theduffmaster](https://wordpress.org/support/users/theduffmaster/).
    -  This reply was modified 7 years, 1 month ago by [theduffmaster](https://wordpress.org/support/users/theduffmaster/).
 *  Plugin Author [Stanimir Stoyanov](https://wordpress.org/support/users/sstoqnov/)
 * (@sstoqnov)
 * SiteGround Representative
 * [7 years, 1 month ago](https://wordpress.org/support/topic/plugin-cannot-create-archives/#post-11446177)
 * Did you initiate the transfer again?
 *  Thread Starter [theduffmaster](https://wordpress.org/support/users/theduffmaster/)
 * (@theduffmaster)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/plugin-cannot-create-archives/#post-11446181)
 * Yes. I’ve had it running for the last couple minutes.
    -  This reply was modified 7 years, 1 month ago by [theduffmaster](https://wordpress.org/support/users/theduffmaster/).
 *  Thread Starter [theduffmaster](https://wordpress.org/support/users/theduffmaster/)
 * (@theduffmaster)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/plugin-cannot-create-archives/#post-11446238)
 * OK, I’ve had it running for the last 20 minutes and still no change in file sizes.
   I am going to stop it and try some other things to fix the problem.
 *  Thread Starter [theduffmaster](https://wordpress.org/support/users/theduffmaster/)
 * (@theduffmaster)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/plugin-cannot-create-archives/#post-11446293)
 * So the error does still occur, it just does not happen immediately. Again, here
   is the POST request that’s thrown:
 *     ```
       <br />
       <b>Fatal error</b>:  Uncaught PharException: phar &quot;/Applications/XAMPP/xamppfiles/apps/wordpress/htdocs/wp-content/uploads/1555446124-e8818e964e4608cc92d2db7dbc34acfa69b1cd0d/plugins/chosen-pro.tar&quot; unable to create temporary file in /Applications/XAMPP/xamppfiles/apps/wordpress/htdocs/wp-content/plugins/siteground-migrator/includes/class-siteground-migrator-files-service.php:205
       Stack trace:
       #0 /Applications/XAMPP/xamppfiles/apps/wordpress/htdocs/wp-content/plugins/siteground-migrator/includes/class-siteground-migrator-files-service.php(205): PharData->buildFromDirectory('/Applications/X...')
       #1 /Applications/XAMPP/xamppfiles/apps/wordpress/htdocs/wp-content/plugins/siteground-migrator/includes/class-siteground-migrator-files-service.php(146): Siteground_Migrator_Files_Service->create_encrypted_archive('/plugins/chosen...')
       #2 /Applications/XAMPP/xamppfiles/apps/wordpress/htdocs/wp-content/plugins/siteground-migrator/includes/class-siteground-migrator-background-process.php(55): Siteground_Migrator_Files_Service->prepare_archive in <b>/Applications/XAMPP/xamppfiles/apps/wordpress/htdocs/wp-content/plugins/siteground-migrator/includes/class-siteground-migrator-files-service.php</b> on line <b>205</b><br />
       ```
   
    -  This reply was modified 7 years, 1 month ago by [theduffmaster](https://wordpress.org/support/users/theduffmaster/).
 *  Thread Starter [theduffmaster](https://wordpress.org/support/users/theduffmaster/)
 * (@theduffmaster)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/plugin-cannot-create-archives/#post-11446367)
 * It seems I have fixed the permissions problems! This was the answer: [https://stackoverflow.com/a/51565645/3171509](https://stackoverflow.com/a/51565645/3171509)
 * But, now I have a new problem. Hopefully this one will be easier to fix:
 *     ```
       [19-Apr-2019 09:13:43 UTC] INFO: Transfer started. Creating archives of files... 
       [19-Apr-2019 09:13:43 UTC] INFO: Updating transfer id. 
       [19-Apr-2019 09:13:43 UTC] INFO: Updating transfer psk. 
       [19-Apr-2019 09:13:44 UTC] INFO: Site domain to be changed to salvatoricenter.org/ 
       [19-Apr-2019 09:13:50 UTC] INFO: Transfer started. Creating archives of files... 
       [19-Apr-2019 09:13:53 UTC] INFO: Files archived, compressing the database.. 
       [19-Apr-2019 09:13:53 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:53 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:53 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:53 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:53 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:53 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:53 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Process failed : export_database. Retrying... 
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Process failed : export_database. Retrying... 
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Process failed : export_database. Retrying... 
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:54 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:55 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:55 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:55 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:55 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:55 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:55 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:55 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:55 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:55 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:55 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:55 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:55 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:55 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:55 UTC] ERROR: Couldn't dump table: Couldn't export database: sh: mysqldump: command not found
   
       [19-Apr-2019 09:13:55 UTC] INFO: Transfer Failed Due To Database Error! 
       ```
   
 *  Plugin Author [Stanimir Stoyanov](https://wordpress.org/support/users/sstoqnov/)
 * (@sstoqnov)
 * SiteGround Representative
 * [7 years, 1 month ago](https://wordpress.org/support/topic/plugin-cannot-create-archives/#post-11446382)
 * Now you have to install mysqldump extension. As far as I see, you are using mac,
   so maybe this will be helpful:
    [https://stackoverflow.com/questions/47380458/is-it-possible-to-install-only-mysqldump-on-macos](https://stackoverflow.com/questions/47380458/is-it-possible-to-install-only-mysqldump-on-macos)
 *  Thread Starter [theduffmaster](https://wordpress.org/support/users/theduffmaster/)
 * (@theduffmaster)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/plugin-cannot-create-archives/#post-11446809)
 * So the solution was to put a copy of /Applications/XAMPP/bin/mysqldump in /bin/.
   Yes, the bin folder at the root of my mac computer. I don’t think this is conventional
   at all, but it’s a temporary solution and seems to work. Probably smart to remove
   it after the migration is done.
    -  This reply was modified 7 years, 1 month ago by [theduffmaster](https://wordpress.org/support/users/theduffmaster/).
 *  [nabeards](https://wordpress.org/support/users/nabeards/)
 * (@nabeards)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/plugin-cannot-create-archives/#post-11701859)
 * Alternatively, you can modify the script with the full path to mysqldump.
    Edit
   the following script: `${SITEROOT}/wp-content/plugins/siteground-migrator/shuttle-
   dumper.php`
 * Find the line:
    `$command = 'mysqldump -h ' . escapeshellarg( $parsed_host['host']).`
 * and change it to:
    `$command = '/usr/local/bin/mysqldump -h ' . escapeshellarg(
   $parsed_host['host'] ) .`
 * Save the file, then re-run the migration.

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Plugin Cannot Create Archives’ is closed to new replies.

 * ![](https://ps.w.org/siteground-migrator/assets/icon.svg?rev=3447692)
 * [SiteGround Migrator](https://wordpress.org/plugins/siteground-migrator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/siteground-migrator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/siteground-migrator/)
 * [Active Topics](https://wordpress.org/support/plugin/siteground-migrator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/siteground-migrator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/siteground-migrator/reviews/)

## Tags

 * [permissions](https://wordpress.org/support/topic-tag/permissions/)

 * 14 replies
 * 3 participants
 * Last reply from: [nabeards](https://wordpress.org/support/users/nabeards/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/plugin-cannot-create-archives/#post-11701859)
 * Status: resolved