importing from another wordpress blog didn't import the blog images,

  • Author
    Posts
  • #1182519

    I’ve been importing my blog from my old place (krisvale.servebeer.com, a temporary site) to my blog at cosmicpercolator.com, hosted with wordpress.com.
    When importing, it didn’t offer me the option to select for it to dowload images, instead it tells me:

    Download Media

    If you exported your site’s media files, we’ll import those for you automatically.

    Needless to say, this didn’t happen. The embedded images in my importe blog posts still point to the old site, and thus go stale when I switch off the old blog.

    The old blog was running wordpress 3.5.1 and the xml file exported in the standard manner.

    The blog I need help with is cosmicpercolator.com.

    #1182606

    timethief
    Member

    I tagged this thread for a Staff follow-up. Please subscribe to it so you are notified when they respond.

    #1182623

    macmanx
    Staff

    Were the images at http://krisvale.servebeer.com/ ever attached to the posts there (uploaded while writing or editing a post), or were they all uploaded via Media -> Add New or something else like FTP?

    #1182680

    yes, they were uploaded and added as images while writing the post using the provided “add image” widgets.
    Here is an excerpt from the .xml file where one of theses missing images are described:

    <item>
    <title>TelemetryProfiler</title>
    <link>http://krisvale.servebeer.com/2012/05/25/optimizing-python-condition-variables-with-telemetry/attachment/1/</link&gt;
    <pubDate>Fri, 25 May 2012 11:50:18 +0000</pubDate>
    <dc:creator>kristjan</dc:creator>
    <guid isPermaLink=”false”>http://krisvale.servebeer.com/files/2012/05/1.jpg</guid&gt;
    <description></description>
    <content:encoded><![CDATA[]]></content:encoded>
    <excerpt:encoded><![CDATA[Python running on the main thread]]></excerpt:encoded>
    <wp:post_id>216</wp:post_id>
    <wp:post_date>2012-05-25 11:50:18</wp:post_date>
    <wp:post_date_gmt>2012-05-25 11:50:18</wp:post_date_gmt>
    <wp:comment_status>open</wp:comment_status>
    <wp:ping_status>open</wp:ping_status>
    <wp:post_name>1</wp:post_name>
    <wp:status>inherit</wp:status>
    <wp:post_parent>213</wp:post_parent>
    <wp:menu_order>0</wp:menu_order>
    <wp:post_type>attachment</wp:post_type>
    <wp:post_password></wp:post_password>
    <wp:is_sticky>0</wp:is_sticky>
    <wp:attachment_url>http://krisvale.servebeer.com/wp-content/blogs.dir/3/files/2012/05/1.jpg</wp:attachment_url&gt;
    <wp:postmeta>
    <wp:meta_key>_wp_attachment_metadata</wp:meta_key>
    <wp:meta_value><![CDATA[a:6:{s:5:”width”;s:4:”1895″;s:6:”height”;s:4:”1104″;s:14:”hwstring_small”;s:23:”height=’74’ width=’128′”;s:4:”file”;s:13:”2012/05/1.jpg”;s:5:”sizes”;a:4:{s:9:”thumbnail”;a:3:{s:4:”file”;s:13:”1-150×150.jpg”;s:5:”width”;s:3:”150″;s:6:”height”;s:3:”150″;}s:6:”medium”;a:3:{s:4:”file”;s:13:”1-300×174.jpg”;s:5:”width”;s:3:”300″;s:6:”height”;s:3:”174″;}s:5:”large”;a:3:{s:4:”file”;s:14:”1-1024×596.jpg”;s:5:”width”;s:4:”1024″;s:6:”height”;s:3:”596″;}s:14:”post-thumbnail”;a:3:{s:4:”file”;s:13:”1-960×198.jpg”;s:5:”width”;s:3:”960″;s:6:”height”;s:3:”198″;}}s:10:”image_meta”;a:10:{s:8:”aperture”;s:1:”0″;s:6:”credit”;s:28:”Kristján Valur Jónsson”;s:6:”camera”;s:0:””;s:7:”caption”;s:0:””;s:17:”created_timestamp”;s:10:”1337946582″;s:9:”copyright”;s:0:””;s:12:”focal_length”;s:1:”0″;s:3:”iso”;s:1:”0″;s:13:”shutter_speed”;s:1:”0″;s:5:”title”;s:0:””;}}]]></wp:meta_value>
    </wp:postmeta>
    <wp:postmeta>
    <wp:meta_key>_wp_attached_file</wp:meta_key>
    <wp:meta_value><![CDATA[2012/05/1.jpg]]></wp:meta_value>
    </wp:postmeta>
    </item>

    #1182699

    macmanx
    Staff

    Ok, the problem appears to be that http://krisvale.servebeer.com/ is offline.

    It can’t import the files if it can’t access them.

    #1182732

    That is just the temporary problem right now. It is a virtual machine that is offline on and off, but it was most certainly online during the time I was importing. is there a way I can force the reimport of those files? A plugin perhaps that can do it on demand?

    #1182739

    macmanx
    Staff

    Yes, I could empty the blog so you can try the import again.

    Would you like me to do that?

    #1182742

    That is just the temporary problem right now. It is a virtual machine that is offline on and off, but it was most certainly online during the time I was importing. is there a way I can force the reimport of those files? A plugin perhaps that can do it on demand?

    #1182744

    macmanx
    Staff

    Yes, I could empty the blog so you can try the import again.

    Would you like me to do that?

    #1182748

    Yes please. I have exported the cosmicpercolator.com blog as it is today, since I have added a few post there after the failed import.
    I’ll then reattempt the import.

    #1182749

    macmanx
    Staff

    I have emptied the blog as requested.

    Please try re-importing, but use a fresh export file from the WordPress.org blog.

    #1182750

    I have re-exported and re-imported with the same results. For a post showing these symptoms, see http://cosmicpercolator.com/2012/05/25/optimizing-python-condition-variables-with-telemetry/
    Notice that the images are downloaded from the old server (which is up)

    #1182758

    macmanx
    Staff

    I see the images in the post now. Did you manually add them?

    #1182761

    The images are in the posts, but they are sitting on the old server. You see the images now because I’m keeping the old server running. If you check the url of the images, you see that they are hosted on krisvale.servebeer.com.
    If I turn off my old host, they will disappear from the posts.

    #1182762

    macmanx
    Staff

    Ok, I see, sorry.

    I’ve taken a look at your WordPress export file, and I see multiple errors inserted by either faulty plugins or a faulty theme, which I believe may be throwing off the import.

    I have emptied the blog again.

    Try switching to the default Twenty Twelve theme if it’s unmodified or an unmodified Twenty Eleven (if available) and deactivate all plugins.

    At the very least, you shouldn’t see the error at the top of http://krisvale.servebeer.com/

    Once done, please generate a fresh export file and try the import one more time.

    Don’t switch the theme back or re-activate the plugins until the import is complete.

    #1182767

    So, I did this, with the same results. In the meantime, I had tried another upload so I manulally deleted all pages and media, and re-exported as per your instructions.
    Anyway, we now are in the same spot. However, one thing I did notice and that is that wordpress.com _has_ downloaded all my media (and it probably had before but I didn’t have the sense to look). But it simply hasn’t updated the links in the blogs.
    Any idea how we can fix up the blogs to have the correct file urls?

    #1182768

    (looking at the media tab will show me all the images)

    #1182771

    macmanx
    Staff

    Sorry for all this trouble, we’re looking into this.

    #1182772

    macmanx
    Staff

    You’re all fixed up now as far as the images are concerned.

    http://cosmicpercolator.com/2011/02/07/installing-a-python-library-a-travelers-tale/ and http://cosmicpercolator.com/2011/05/03/evaluating-nagare/ are still linking to posts on the old site, so you might want to adjust those.

    #1182774

    Great! Thanks for all your help.

The topic ‘importing from another wordpress blog didn't import the blog images,’ is closed to new replies.