My import of an xml file has taken longer than 24 hours

  • Unknown's avatar

    My import of an xml file has taken longer than 24 hours. It said, if that happens, to contact you and you’ll sort it out. Cheers.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    If you are still waiting on the importer to finish, a WordPress.com staff member will probably have to reset it. For that add “modlook” to the tags section in this forum thread. Make sure you’re subscribed to the topic so you’ll be notified when there is a response.

  • Unknown's avatar
  • Unknown's avatar

    @ryanjackarthuroakleyoakley: You wrote modlock.
    I put the right word: modlook.

    Cheers.

  • Unknown's avatar

    Thanks.

    (Still waiting on it to process and/or to hear from them.)

  • Hi there,

    I have reset the importer on your site. Can you please try importing that file again? Let me know if it still won’t work.

  • Unknown's avatar

    It’s still not working – could you reset it again?

    I think the file might be too large so I’ve split it into two parts. (Is the 15MB cap total or at a time?)

  • You can upload as many files as you want, but a single file can’t be bigger that 15MB. I see that the file you’re attempting to upload is almost 20MB, which explains why the import keeps failing.

    If you’ve been able to split the file it should work, provided you’ve made sure that all the opening and closing tags that should be there, are there.

    I’ve reset the importer again, so please try importing your split files. If they won’t work either, let me know so I can see if we can do anything from this side.

  • Unknown's avatar

    I uploaded the first of 2 files – it’s about 13.4 MB.

    It still doesn’t seem to be working.

  • I’m going to check your export file to see if there are any errors that might prevent it from importing correctly. I’ll get back to you as soon as I can.

    Can you please just confirm from where you exported that file? Was it from a self-hosted WordPress site, or another platform?

  • Unknown's avatar

    It was a self-hosted wordpress site, which is expiring today. I broke the file up by downloading the xml in two parts based on dates.

  • Okay, I had a look at your export file, and it appears that it’s incomplete. In other words, the exporter on your WordPress.org site is timing out before it has included all your posts in the file, and as a result the file is also not ended properly, meaning it can’t be imported.

    I want to recommend that first thing you try to extend your hosting for at least another week if possible, so that site can remain online long enough for us to figure this out. Keep in mind that the export file doesn’t contain any images, but only links to your images in the old site’s library, so if that site goes offline your images won’t be transferred, even if your posts are.

    Next, judging by the length and size of your export file I’m guessing you have well over a thousand posts. Can you try making an incremental export again, but with only 2-300 posts per export file, both to keep the file size small and to prevent the export from timing out again. Your hosting provider might be able to help you with this – I’ve heard that some do.

    If you can upload the two partial export files you already have to dropbox or Google Drive and give me the link I check them for errors as well and try to upload them from this side, while you run a new export as I described above in case that doesn’t work.

  • Unknown's avatar

    Okay, I’ve broken them up by the year and am trying it that way.

    The renewals only seem to be available in year long increments.

    Here’s the google drive links:

    [links redacted by staff]

  • Thanks. I am downloading the files now and will check and test them. I will let you know the result.

  • Unknown's avatar

    And it looks like the import of the first year was successful. I’m going to keep uploading these smaller files.

  • That’s good to hear. I’ll keep testing with the other two files until you tell me it’s all done.

  • Unknown's avatar

    It uploaded successfully.

    Thank you very much for your help.

  • That’s great news, especially as your other files kept failing for me despite no obvious errors.

    Thanks for letting me know. I hope all your media files are also transferred before the self-hosted site goes offline.

  • Unknown's avatar

    I don’t suppose that you have any idea how to do that?

  • Provided the source site is public, the importer should automatically fetch your images after the content finished importing, though it doesn’t always work perfectly.

    I see only three images in your media library after the import, so it seems they didn’t import in your case. We can try to import those media files for you, but it will only work as long as your old site remains online and publicly viewable. Please let me know if that is no longer the case.

    By the way, now that I can see the content that imported I can tell you the reason your imports kept failing is due to the very large number of comments on your posts. I’ve come across this issue before – while the WordPress exporter can handle a large amount of posts, it doesn’t work that well if there’s such a big discrepancy between the number of posts to comments, 87 to over 3000 in this case.

    If you ever want to export from your new WordPress.com site in future, please keep this in mind when creating your export.

  • The topic ‘My import of an xml file has taken longer than 24 hours’ is closed to new replies.