Import failed - I cannot import a migration archive, it fails!

I made a backup of my WordPress blog to export it to Ghost 3.3.0. It fails during the import on Ghost.

The archive I am trying to import is 3.3 GB.

Import failed due to an unknown error. Check the Web Inspector console and network tabs for errors.

I end up with this error in the Google Chrome console.


1 Like

Hi @pirmax,

did you manage to fix your problem?
I’m having the same difficulties as you.



Geez. I don’t remember the exact structure of the import- is it just a .json and you’re saying you have a 3.3 GB JSON file?

Are you using NGINX for your web server?

If so, with an import that large, I suspect NGINX is just rejecting it. Go to the NGINX config for your site (/etc/nginx/sites-enabled) and look for a line in the server block that says something like: “client_max_body_size 5M;”

Change it (and if it’s not there, add):

client_max_body_size 5G;

Then restart NGINX with sudo systemctl restart nginx.


1 Like

Hmm. I’m also experiencing the same issues with a 404MB WP export install running Ghost v3.6.0.

Setting client_max_body_size 1G; and restarting ngnix doesn’t solve the issue for me either. Hoping it would.

Looking at the post request in Network tab, I get about 365~400MB/404MB in 30sec and then it stops - not saying timeout either it says,

Error: Server was unreachable vendor.min-5962b43ff141d221620b6489791d96ce.js:8977:100: