Support » Plugin: SiteGround Migrator » Critical Environment Error

  • Resolved mirceamaier


    Critical Environment Error
    We’ve encountered a critical error in your current hosting environment that prevents our plugin to complete the transfer.

    I got this error while I was trying to migrate my website to siteground. I tried to chat with somebody and looks like they don’t know anything! Now how this can be fixed?

Viewing 10 replies - 1 through 10 (of 10 total)
  • same here. these kinda errors are completely useless. We need more info on WHAT goes wrong.

    Plugin Author Hristo Pandjarov


    SiteGround Representative

    We cannot provide more info since we don’t have access to the other host / environment. It can be permissions error, .htaccess rule, firewall, thousands of things. We provide all the information that is at our disposal.

    Please, contact the SiteGround support via a migration ticket if you get such problem so we can investigate the particular case.

    Hristo, I have had lot of success with the plugin except for two sites (out of about 20). All of the sites that I’m migrating to SG were on the same server with Site5. I went through the SG support chat and was told it was permission issues. So I had the host change my folder permissions to the ones provided. Still isn’t working. What else can I do besides using my one free professional migration? I think the plugin works really well most of the time. I’ve found that you must turn off all plugins, (especially security plugins) except for the SG Migrator plugin. Anyway, give me some advice if you can.

    Plugin Author Hristo Pandjarov


    SiteGround Representative

    Please, open a ticket in your SiteGround Help Desk and we will look into it further.

    Will do, thank you.

    same issue…no ideas from Siteground except call GoDaddy. Did you ever get yours migrated?

    You may check the wp-content/siteground-migrator.log for the issue.

    One reason for the critical error is caused by Googles Site Kit Plugin (probably since 1.2.0.) so you need to delete it first.

    From the log: [message] => Uncaught PharException: tar-based phar “/[…]/public_html/wp-content/uploads/[…]/plugins/google-site-kit.tar” cannot be created, filename “dist/assets/js/chunk-googlesitekit-adminbar~chunk-googlesitekit-setup-wizard~chunk-googlesitekit-setup-wizard-proxy[…].js” is too long for tar file format in /[…]/public_html/wp-content/plugins/siteground-migrator/includes/class-siteground-migrator-files-service.php:205

    Thanks so much @thegr8one for your advice. I checked my wp-content/siteground-migrator.log and had a problem with the UpdraftPlus plugin and had to delete it first then re-run the migration.

    [type] => 1
    [message] => Uncaught PharException: tar-based phar “/[…]/wp-content/uploads/1597702895-1e00b8ff1e819a446792e854efbfc75a915a39f0/plugins/updraftplus.tar” cannot be created, header for file “languages/updraftplus-id_ID.po” could not be written in /[…]/wp-content/plugins/siteground-migrator/includes/class-siteground-migrator-files-service.php:205

    So thanks to your advice, I was able to fix the problem/complete the migration.

    Plugin Author SiteGround


    Please, remove your udraft plus backups and migrate the site again.

    Thanks @siteground. Deleting the updraftplus plugin did indeed allow me to start the migration successfully.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Critical Environment Error’ is closed to new replies.