Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Need DBA help with Movable Type > WordPress migration
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 1 - 25 of 34 - Collapse all  -  Translate all to Translated (View all originals)   Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
David Veksler  
View profile  
 More options Feb 28 2010, 4:07 am
From: David Veksler <her...@gmail.com>
Date: Sun, 28 Feb 2010 03:07:19 -0600
Local: Sun, Feb 28 2010 4:07 am
Subject: Need DBA help with Movable Type > WordPress migration

I need some DBA help with our blog migration.

WordPress is not capable of handling our 76 MB MT export file, and it can't
import the post_id's we need for redirects to work.

So we have to migrate via MySql script.

I need some help writing it.  This is what I have so far:

INSERT INTO wp_posts
(id, Post_title, post_name, Post_content, post_author,  post_date)
SELECT
 entry_id, entry_title, entry_basename, CONCAT(entry_text,entry_text_more)
AS post_text, entry_author_id, entry_created_on FROM mises_blog..mt_entry
We need to migrate posts, authors, and comments, maintaining the primary
keys.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Veksler  
View profile  
 More options Feb 28 2010, 4:15 am
From: David Veksler <her...@gmail.com>
Date: Sun, 28 Feb 2010 03:15:51 -0600
Local: Sun, Feb 28 2010 4:15 am
Subject: Re: Need DBA help with Movable Type > WordPress migration

If you wish to try the migration yourself, here is a zip export from MT:
http://blog.mises.com/mises_economics_blog.zip

Note that I have modified the Movable Type export script to add the ID:
field.

Also, we dont need to import any author information other than the name.

---
Regards,
David V.

PGP Key: http://www.rationalmind.net/david/DavidLeoVeksler.txt


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
PEZ  
View profile  
 More options Feb 28 2010, 4:56 am
From: PEZ <pez...@gmail.com>
Date: Sun, 28 Feb 2010 01:56:28 -0800 (PST)
Local: Sun, Feb 28 2010 4:56 am
Subject: Re: Need DBA help with Movable Type > WordPress migration
When you say "Wordpress isn't capable", is it because of the size of
the data or something else?
/PEZ

On Feb 28, 10:07 am, David Veksler <her...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Veksler  
View profile  
 More options Feb 28 2010, 2:18 pm
From: David Veksler <her...@gmail.com>
Date: Sun, 28 Feb 2010 13:18:55 -0600
Local: Sun, Feb 28 2010 2:18 pm
Subject: Re: [Mises.org Dev] Re: Need DBA help with Movable Type > WordPress migration

Both.   It doesn't support importing the postID and it quits (with a success
message) before importing all the posts.

Also I am convinced that PHP is the worst language/framework today. It is
glacially slow and it considers (according to the documentation) 5MB is a
"large" file.  I have a sever with RAID1, 16 cores and 6GB DDR3 and it's
taking forever using 1% of CPU and 15MB of memory.

---
Regards,
David V.

PGP Key: http://www.rationalmind.net/david/DavidLeoVeksler.txt


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Strömberg  
View profile  
 More options Feb 28 2010, 2:39 pm
From: Peter Strömberg <p...@pezius.com>
Date: Sun, 28 Feb 2010 20:39:44 +0100
Local: Sun, Feb 28 2010 2:39 pm
Subject: Re: [Mises.org Dev] Re: Need DBA help with Movable Type > WordPress migration
Why must the postID be kept?

Have you tried editing php.ini to allow for > 5MB of memory to be
allocated by a script? Or if it is something with max upload size. Or
both. Does it still quit without importing anything?

/PEZ


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeffrey Tucker  
View profile  
 More options Feb 28 2010, 2:44 pm
From: Jeffrey Tucker <jeffrey.a.tuc...@gmail.com>
Date: Sun, 28 Feb 2010 13:44:41 -0600
Local: Sun, Feb 28 2010 2:44 pm
Subject: Re: [Mises.org Dev] Re: Need DBA help with Movable Type > WordPress migration

This is probably my doing - we need to maintain legacy links from the main
site. If you find an article from 5 years ago, it's blog link takes you
directly to the comment box. This is why this is important.

2010/2/28 Peter Strömberg <p...@pezius.com>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Strömberg  
View profile  
 More options Feb 28 2010, 3:14 pm
From: Peter Strömberg <p...@pezius.com>
Date: Sun, 28 Feb 2010 21:14:32 +0100
Local: Sun, Feb 28 2010 3:14 pm
Subject: Re: [Mises.org Dev] Re: Need DBA help with Movable Type > WordPress migration
I totally agree that old links should be maintained.

Since the export file has ID fields, does that mean that we're
following this recipe http://www.muditajournal.com/archives/000280.php
?

/PEZ

On Sun, Feb 28, 2010 at 8:44 PM, Jeffrey Tucker


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Veksler  
View profile  
 More options Feb 28 2010, 3:23 pm
From: David Veksler <her...@gmail.com>
Date: Sun, 28 Feb 2010 14:23:27 -0600
Local: Sun, Feb 28 2010 3:23 pm
Subject: Re: [Mises.org Dev] Re: Need DBA help with Movable Type > WordPress migration

#Change upload limits
memory_limit 540M
post_max_size 330M
upload_max_filesize 320M
max_execution_time 60000
#Change upload limits end

It quits after 800 posts.  S
---
Regards,
David V.

PGP Key: http://www.rationalmind.net/david/DavidLeoVeksler.txt

2010/2/28 Peter Strömberg <p...@pezius.com>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Veksler  
View profile  
 More options Feb 28 2010, 3:24 pm
From: David Veksler <her...@gmail.com>
Date: Sun, 28 Feb 2010 14:24:38 -0600
Local: Sun, Feb 28 2010 3:24 pm
Subject: Re: [Mises.org Dev] Re: Need DBA help with Movable Type > WordPress migration

That recipe is for WordPress 2.0.

Wordpress import in 2.0 doesn't work. Wordpress 2.0 imports 1/3 of the
posts.  The other 2/3 are missing - with no error message.

---
Regards,
David V.

PGP Key: http://www.rationalmind.net/david/DavidLeoVeksler.txt

2010/2/28 Peter Strömberg <p...@pezius.com>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Strömberg  
View profile  
 More options Feb 28 2010, 3:31 pm
From: Peter Strömberg <p...@pezius.com>
Date: Sun, 28 Feb 2010 21:31:04 +0100
Local: Sun, Feb 28 2010 3:31 pm
Subject: Re: [Mises.org Dev] Re: Need DBA help with Movable Type > WordPress migration
That's hope in'it? =) How about timeout limits in the web server? Is it Apache?

/PEZ


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Veksler  
View profile  
 More options Feb 28 2010, 3:39 pm
From: David Veksler <her...@gmail.com>
Date: Sun, 28 Feb 2010 14:39:25 -0600
Local: Sun, Feb 28 2010 3:39 pm
Subject: Re: [Mises.org Dev] Re: Need DBA help with Movable Type > WordPress migration

It doesn't return any errors.

All timeouts are off.
---
Regards,
David V.

PGP Key: http://www.rationalmind.net/david/DavidLeoVeksler.txt

2010/2/28 Peter Strömberg <p...@pezius.com>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Strömberg  
View profile  
 More options Feb 28 2010, 3:45 pm
From: Peter Strömberg <p...@pezius.com>
Date: Sun, 28 Feb 2010 21:45:15 +0100
Local: Sun, Feb 28 2010 3:45 pm
Subject: Re: [Mises.org Dev] Re: Need DBA help with Movable Type > WordPress migration
Which version of Wordpress are you using? 2.9.2? I think I'll give
that import a try myself.

/PEZ


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Veksler  
View profile  
 More options Feb 28 2010, 3:50 pm
From: David Veksler <her...@gmail.com>
Date: Sun, 28 Feb 2010 14:50:45 -0600
Local: Sun, Feb 28 2010 3:50 pm
Subject: Re: [Mises.org Dev] Re: Need DBA help with Movable Type > WordPress migration

Yes, please do.
---
Regards,
David V.

PGP Key: http://www.rationalmind.net/david/DavidLeoVeksler.txt

2010/2/28 Peter Strömberg <p...@pezius.com>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Veksler  
View profile  
 More options Feb 28 2010, 5:23 pm
From: David Veksler <her...@gmail.com>
Date: Sun, 28 Feb 2010 16:23:53 -0600
Local: Sun, Feb 28 2010 5:23 pm
Subject: Re: [Mises.org Dev] Re: Need DBA help with Movable Type > WordPress migration

Is there really no one on this list who knows sql?  Where are all the
open-source advocates?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Strömberg  
View profile  
 More options Feb 28 2010, 5:29 pm
From: Peter Strömberg <p...@pezius.com>
Date: Sun, 28 Feb 2010 23:29:45 +0100
Local: Sun, Feb 28 2010 5:29 pm
Subject: Re: [Mises.org Dev] Re: Need DBA help with Movable Type > WordPress migration
Looking at post 2219, it says:

Importing post Results of M ndliche Pr fung, Mises University, Session
Two, 2004...

Doesn't look right, what's the charset/encoding used in the MT install?

/PEZ

2010/2/28 Peter Strömberg <p...@pezius.com>:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Strömberg  
View profile  
 More options Feb 28 2010, 5:26 pm
From: Peter Strömberg <p...@pezius.com>
Date: Sun, 28 Feb 2010 23:26:39 +0100
Local: Sun, Feb 28 2010 5:26 pm
Subject: Re: [Mises.org Dev] Re: Need DBA help with Movable Type > WordPress migration
Importing now. Using stock 2.9.2 import so it probably doesn't honor
the ID:s, but I should be able to patch the script for that. So far
2120 entries imported. I don't know how many there are to import and
it's getting late here so I'll leave my MacBook on and see if it has
finished when I wake up.

/PEZ


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Strömberg  
View profile  
 More options Feb 28 2010, 5:46 pm
From: Peter Strömberg <p...@pezius.com>
Date: Sun, 28 Feb 2010 23:46:40 +0100
Local: Sun, Feb 28 2010 5:46 pm
Subject: Re: [Mises.org Dev] Re: Need DBA help with Movable Type > WordPress migration
Now the import crashed like so:

Importing post Unpromising start to Becker-Posner Blog...
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried
to allocate 71 bytes) in .../wp-includes/plugin.php on line 302

Going to bed. But this should be fixable if we split the import file up some.

/PEZ

2010/2/28 Peter Strömberg <p...@pezius.com>:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
RPG  
View profile  
 More options Feb 28 2010, 7:26 pm
From: RPG <init...@gmail.com>
Date: Sun, 28 Feb 2010 16:26:37 -0800 (PST)
Local: Sun, Feb 28 2010 7:26 pm
Subject: Re: Need DBA help with Movable Type > WordPress migration
I saw the call for help on twitter so I'm stopping by to offer my
2cents.  I agree with Peter's suggestion.  If the import function
inserts one row at a time the process could take longer than the
timeout settings in apache and php.ini.   Chopping the data into
chunks and loading each separately is worth a shot.   If that doesn't
work I'd try the "LOAD DATA INFILE" method from the command line.

On Feb 28, 3:31 pm, Peter Strömberg <p...@pezius.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Veksler  
View profile  
 More options Feb 28 2010, 7:41 pm
From: David Veksler <her...@gmail.com>
Date: Sun, 28 Feb 2010 18:41:13 -0600
Local: Sun, Feb 28 2010 7:41 pm
Subject: Re: [Mises.org Dev] Re: Need DBA help with Movable Type > WordPress migration

I tried that.  It's still randomly skipping posts even with 5MB chunks.

Also, Movable Type only exported half the posts.

Open source runtimes suck.

---
Regards,
David V.

PGP Key: http://www.rationalmind.net/david/DavidLeoVeksler.txt


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
RPG  
View profile  
 More options Feb 28 2010, 8:08 pm
From: RPG <init...@gmail.com>
Date: Sun, 28 Feb 2010 20:08:47 -0500
Local: Sun, Feb 28 2010 8:08 pm
Subject: Re: [Mises.org Dev] Re: Need DBA help with Movable Type > WordPress migration
Do you have root access to the server?   I ask because I think it's time
to start changing settings in php.ini to enable the export functions of
MT and the import functions of WP to have enough time to complete.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
magalhaes  
View profile  
 More options Feb 28 2010, 8:10 pm
From: magalhaes <joaoppmagalh...@gmail.com>
Date: Sun, 28 Feb 2010 17:10:45 -0800 (PST)
Local: Sun, Feb 28 2010 8:10 pm
Subject: Re: Need DBA help with Movable Type > WordPress migration
Hi,

The link you gave for the export (http://blog.mises.com/
mises_economics_blog.zip ) is returning 404 Not Found.

If PHP/Apache is yielding time-outs maybe the best way is as RPG
suggests to use LOAD DATA INFILE (see http://dev.mysql.com/doc/refman/5.1/en/load-data.html).
If that fails, then the remedy is as you said to write a SQL script. I
have some experience with MySQL (with and without PHP) but not with
WordPress. Anyway, if the correspondence between tables/columns is
known, it shouldn't be too hard.

So I ask: what is the correspondence between tables/columns?

BTW - In the query which you present, the number of columns in *1, *2
and *3 must be the same, so your query will not work.

INSERT INTO wp_posts (*1)
SELECT *2 AS *3
FROM mises_blog..mt_entry

João

On Mar 1, 12:41 am, David Veksler <her...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Veksler  
View profile  
 More options Feb 28 2010, 9:18 pm
From: David Veksler <her...@gmail.com>
Date: Sun, 28 Feb 2010 20:18:15 -0600
Local: Sun, Feb 28 2010 9:18 pm
Subject: Re: [Mises.org Dev] Re: Need DBA help with Movable Type > WordPress migration

Sorry, I put it back.
---
Regards,
David V.

PGP Key: http://www.rationalmind.net/david/DavidLeoVeksler.txt

On Sun, Feb 28, 2010 at 7:10 PM, magalhaes <joaoppmagalh...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Veksler  
View profile  
 More options Feb 28 2010, 9:27 pm
From: David Veksler <her...@gmail.com>
Date: Sun, 28 Feb 2010 20:27:55 -0600
Local: Sun, Feb 28 2010 9:27 pm
Subject: Re: [Mises.org Dev] Re: Need DBA help with Movable Type > WordPress migration

>  Do you have root access to the server?   I ask because I think it's time

to start changing settings in php.ini to enable the export functions of MT
and the import functions of WP to have enough time to complete.

Yes, there is no configuration value limiting the process.  PHP and Perl are
just shitty runtimes not designed to handle real-life data volumes.

I attached the schemas for WordPress and Movable Type.

Here is a script written for Drupal -> WordPress which I found helpful:
http://www.rufuspollock.org/2005/10/10/migrating-drupal-to-wordpress/

Note that we only need the data in the MT export file migrated.

  WP_schema.sql
11K Download

  MT_schema.sql
81K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
RPG  
View profile  
 More options Feb 28 2010, 10:24 pm
From: RPG <init...@gmail.com>
Date: Sun, 28 Feb 2010 22:24:54 -0500
Local: Sun, Feb 28 2010 10:24 pm
Subject: Re: [Mises.org Dev] Re: Need DBA help with Movable Type > WordPress migration
Under the "Resource Limits" section of your php.ini config file there
should be a max_execution_time variable, it is this variable that I
would look at first.  In a normal "production" environment it should be
set just long enough to complete all normal running php processes.   It
is my guess that the maintenance functions that you are trying to
execute are taking much longer than the current setting.  As a result of
this php kills the process because it is running too long.   This is
done to avoid overloading the server because of bad script, etc.  My
guess is that the production value of max_execution_time is set to "30"
(seconds), temporary bump that up to "900", restart apache and see if
your export/import functions work.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Greg Bacon  
View profile  
 More options Feb 28 2010, 10:59 pm
From: Greg Bacon <greg.ba...@gmail.com>
Date: Sun, 28 Feb 2010 21:59:17 -0600
Local: Sun, Feb 28 2010 10:59 pm
Subject: Re: [Mises.org Dev] Re: Need DBA help with Movable Type > WordPress migration

David Veksler <her...@gmail.com> wrote:
> Yes, there is no configuration value limiting the process.  PHP and Perl
are
> just shitty runtimes not designed to handle real-life data volumes. [...]

Did you attempt to upload and import in the same operation over HTTP, or did
you FTP the MT export to wp-content/mt-export.txt and tell WP to work on
local data? The latter is cruising along happily on my little underpowered
Vista laptop.

Jenette Fulda wrote last month about migrating MT to
WP<http://makemyblogpretty.com/2010/01/25/movable-type-to-wordpress-a-mi...>,
including preservation of permalinks using MT Blog Import
Utilities<http://www.simonecarletti.com/blog/2009/02/movable-type-to-wordpress-...>
rather
than datamodel hacks.

I get that you're frustrated, but spraying ignorant comments doesn't help
the situation. I had hoped a similar snipe from another poster the other day
was an anomaly.

Greg


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Messages 1 - 25 of 34   Newer >
« Back to Discussions « Newer topic     Older topic »