How To Use All-In-One WP Migration On DevKinsta?

Hey Agus,

Thanks for all your help. For anyone having the same issues, here’s what I did to get All-In-One-WP-Migration to work with DevKinsta (make sure All-In-One-WP-Migration is uninstalled before starting!):

  1. Remove the following: kinsta-mu-plugins (folder and its contents) and also kinsta-mu-plugins.php (file). These can be found in this sub-folder on your computer:
    ~/DevKinsta/public/yourlocalsitename/wp-content/mu-plugins/
    (Change the yourlocalsitename with your local site name/folder in question).
  2. Open terminal/command prompt on your machine, and do the following steps:
    2a. Run this command: docker exec -u www-data -it devkinsta_fpm bash (this gets you inside the devkinsta_fpm Docker’s container)
    2b. Once your in that container, run: cd public/yourlocalsitenamehere/wp-content/ (make sure to change the “yourlocalsitenamehere”)
    2c. Then, once you are in that sub-folder, run the following commands, one line at a time:
    mkdir ai1wm-backups
    chmod 0777 ai1wm-backups
    2d. Then, run the following commands one line at a time:
    cd plugins
    mkdir all-in-one-wp-migration
    chmod 0777 all-in-one-wp-migration
    2e. Run these commands after, one line at a time:
    cd all-in-one-wp-migration
    mkdir storage
    chmod 0777 storage
    2f. Type exit and close terminal
  3. Download the All-In-One-WP-Migration plugin from wordpress.org and extract the .ZIP file.
  4. Keep on opening folders inside the extracted .ZIP until you see a folder called “lib” and other files, such as “all-in-one-migration.php”
  5. Go to DevKinsta and click on “Site Path” to view all of the files of your local site. This should open a new File Explorer window, which is what you want.
  6. Navigate to wp-content, then to plugins, and finally the all-in-one-wp-migration folder that you created. There should be one more folder inside called storage, but don’t open it.
  7. Drag/copy and paste all files from the extracted .ZIP file we downloaded earlier into the folder you just opened.
  8. Open and sign into your local version of your site. Go to plugins in WordPress and activate the All-In-One WP Migration plugin. Some errors will display, but you can ignore these as the website will export fine (because of what we did earlier).
  9. Go to the “export” section in the All-In-One WP Migration plugin, and choose how you want to export!

Other notes: In general, when using All-In-One WP Migration (not only on websites hosted with Kinsta), the best way to export a site is to export with Google Drive or any other option. That’s based off my experience, because when I would export a file and try to import it, the file would always not import correctly. I would very highly highly recommend spending the $100 it costs to export the site through Google Drive, or something else like that. I usually always export with Google Drive. I used Windows during this, but I believe it should work on Mac too. This is what works for me, so I hope it helps!

1 Like