Richard

Upgrading Problems

Vote 0 Votes

Ok I have read the documents from front to back. For all the versions now. I am having trouble after logging in. I enter my user name, password. Then I am logged in, and the screeen says it is time to upgrade. So I click the button and the process begins. The screen reads UPGRADING DATABASE....STARTING UPGRADE. It never moves after this. This is about the tenth time I try it. Now I am gonna leave it overnight to see if hopefully by morning it is completed.

Is this normal, or is this a problem. At present, I believe it is a problem. I cannot see anything in the documents stating it takes a long time to upgrade. In fact, I keep reading in the forums that "After a few minutes" it should be completed.

I am currently upgrading from 2.6 to 3.2, and following the steps to be sure of a smooth upgrade to 4.32 and eventually 5. Next inline would be following MT suggestions 3.38, but as you can read, I am stuck.


Do you have any suggestions for me.

Thanks Richard ralopez1@msn.com

Reported on Movable Type 2.x

11 Replies

| Add a Reply
  • This may be either the cause of an improper upgrade (likely), or of the usage of fastCGI (which I don't think it is the case).

    If it would have been fastCGI, a server restart would have been needed.

    Would assume that your problem is the upgrade which should be done by completely removing the old files and placing it the new installation files...

    Make sure you always have backups!

  • Another reason could be a damaged berkeley database (if you are using that) or a damaged mysql database (you could try to fix using phpmyadmin "CHECK TABLE" and "REPAIR TABLE" commands).

    Available for consultancy on fixing, no matter what the reason is. I specialize in fixing database issues.

  • Since you're starting from such an old version, it would likely be easiest for you to just export your blog in 2.6 and import it into a clean installation of 4.3. That shouldn't cause you any grief at all unless you have some very customized templates.

  • Do you see any JavaScript errors on the page?

  • There is an error on IE8 and Google Chrome, but not in Firefox. This is the report I get in IE8
    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; MSDigitalLocker; FunWebProductsp; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; Media Center PC 4.0; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
    Timestamp: Fri, 4 Dec 2009 17:38:26 UTC


    Message: 'TC' is undefined
    Line: 233
    Char: 5
    Code: 0
    URI: http://www.ralopez.com/mt/mt-upgrade.cgi

    Thanks, I surely hopes this hints to what my problem is.
    Also my Database was repaired and is working right now, still having the same problem as before.

    Richard
    ralopez1@msn.com

  • Richard, make sure that you have StaticWebPath defined!

  • Thanks a Million,

    That did the trick, at first it came up with an error in IE, so I decided to try it in Firefox. It was successful that way.

    Now, of course I am missing my style sheet it appears, so I will relocate it to the new version.

    My next question if you do not mind is this, would you recommend I just go ahead now and proceed to installing MT 3.8 now and move right on along to 4.3 right after without worrying about the minor missing parts now. In other words ignore my style sheet and other minor appearance problems and just proceed to move step by step until I reach my final goal of MT's latest version and then concentrate on my sites appearance?

    Thanks again
    Richard
    ralopez1@msn.com

  • You're welcome Richard!

    It depends on how complex your templates are (actually how custom their are) and how much time you have for this task.

    Ideally you would either export the posts and import on v4.32 (make sure the basename field is on or hack MT to export that as well) and then customize the MT v4.x templates to your needs.

    Alternatively, an easy approach is to upgrade to v4.32 and then to refresh the templates to a v4.x template set and then again to customize the MT v4.x templates to your needs.

    Finally, the easiest/quickest approach is to upgrade to v4.32 and leave the templates as they are, but you will be using old template coding, old javascript file etc (some comments-related settings won't be usable etc.). This easy approach would involve minor refinements to some templates for replacing obsolete tags or functions (like opening comments and trackbacks in a popup windows which is not anymore available).

  • Ok clean install, I had no choice, it did not recognize an upgrade so it started and completed a clean install. Now I have plenty of clutter that I must go through on my server. Or I could just revert to an earlier installation and start again.
    I figure it did this since 4.32 does not support berkeley database. So I moved on to MySql. However I don't quite understand how to import all my previous installs Database. When you mention posts, does this refer to the database, what about the archives and such and such.

    Thank you
    Richard

  • Here's my problem: I ended up doing an install by deleting the app directory and uploading the new stuff (v 5.1) and then upgrading the database. Everything went well until it was time to log into the back end to start blogging. I ended up with the 500 error. All the CGI scripts in the app directory have permissions of 755, so I have no idea what to do. Do you?

  • I have tried to Upgrade using URL: http://www.surfbirds.com/cgi-bin/movabletype/mt-upgrade.cgi
    message was:
    Movable Type
    Upgrading database...
    and nothing has happened for a long time.

    I have tried to Upgrade running command:
    [root@surfbirds MTOS-5.12-en]# perl ./tools/upgrade --name Andyb
    upgrade -- A command line tool for upgrading the schema for Movable Type.
    * Upgrading database from version 3.3.
    * Upgrading table for MT::Website::Meta records...
    * Upgrading table for Website records...
    * Upgrading table for MT::Entry::Meta records...
    * Upgrading table for MT::Entry::Summary records...
    * Upgrading table for entry_rev records...
    * Upgrading table for Job Exit Status records...
    * Upgrading table for MT::Asset::Meta records...
    * Upgrading table for Asset records...
    * Upgrading table for Asset Placement records...
    * Upgrading table for MT::Author::Meta records...
    * Upgrading table for MT::Author::Summary records...
    * Upgrading table for MT::TBPing::Meta records...
    * Upgrading table for MT::Category::Meta records...
    * Upgrading table for Job Function records...
    * Upgrading table for MT::Template::Meta records...
    * Upgrading table for template_rev records...
    * Upgrading table for touch records...
    * Upgrading table for Role records...
    * Upgrading table for Object Score records...
    * Upgrading table for Job Error records...
    * Upgrading table for Association records...
    * Upgrading table for Job records...
    * Upgrading table for Filter records...
    * Upgrading table for MT::Comment::Meta records...
    * Upgrading table for Entry records...
    * Upgrading table for Session records...
    * Upgrading table for Archive Mapping records...
    * Upgrading table for User records...
    * Upgrading table for User records...
    * Upgrading table for TrackBack records...
    * Upgrading table for Category records...
    * Upgrading table for TrackBacks records...
    * Upgrading table for Template records...
    * Upgrading table for Template records...
    * Upgrading table for IP Ban records...
    * Upgrading table for Permission records...
    * Upgrading table for Permission records...
    * Upgrading table for fileinfo records...
    * Upgrading table for TrackBack records...
    * Upgrading table for Comment records...
    * Upgrading table for Comment records...
    * Upgrading table for Contact records...
    * Upgrading table for Entry records...
    * Upgrading table for Category Placement records...
    * Upgrading table for Session records...
    * Upgrading table for User records...
    * Upgrading table for Tag records...
    * Upgrading table for TrackBack records...
    * Upgrading table for Category records...
    * Upgrading table for Template records...
    * Upgrading table for Permission records...
    * Upgrading table for fileinfo records...
    * Upgrading table for User records...
    * Upgrading table for Folder records...
    * Upgrading table for Folder records...
    * Upgrading table for Tag Placement records...
    * Upgrading table for Comment records...
    * Upgrading table for Contact records...
    * Upgrading table for User records...
    * Updating password recover email template...
    * Expiring cached MT News widget...
    * Removing unused template maps...
    * Removing unused template maps... (100%)
    * Rebuilding permissions...
    * Rebuilding permissions... (100%)
    * Updating existing role name...
    * Populating new role for website...
    * Assigning ID of author for entries...
    * Assigning ID of author for entries... (100%)
    * Migrating mtview.php to MT5 style...
    * Updating system search template records...
    * Assigning new system privilege for system administrator...
    * Populating default file template for templatemaps...
    [warn] >> Use of uninitialized value in join or string at (eval 204) line 2.

    Error saving Archive Mapping record # 641: ... at ./tools/upgrade line 114
    MT::Tool::Upgrade::error('MT::Tool::Upgrade', 'Error saving Archive Mapping record # 641: ...') called at lib/MT/Upgrade.pm line 670
    MT::Upgrade::error('MT::Upgrade', 'Error saving Archive Mapping record # 641: ...') called at lib/MT/Upgrade.pm line 1150
    MT::Upgrade::core_update_records('MT::Upgrade', 'from', 3.3, 'type', 'templatemap', 'label', 'Populating default file template for templatemaps...', 'condition', 'CODE(0x990c44c)', ...) called at lib/MT/Upgrade.pm line 180
    MT::Upgrade::run_step('MT::Upgrade', 'ARRAY(0x9f38b08)') called at lib/MT/Upgrade.pm line 249
    MT::Upgrade::do_upgrade('MT::Upgrade', 'App', 'MT::Tool::Upgrade', 'DryRun', 'undef', 'Install', 'undef', 'SuperUser', 1, ...) called at ./tools/upgrade line 84
    MT::Tool::Upgrade::main('MT::Tool::Upgrade') called at ./tools/upgrade line 128
    [root@surfbirds MTOS-5.12-en]#

    How can I fix this issue?

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

code.sixapart.com

139 492

Last Topic: Action Stream for Reddit not working by jack lail on Nov 27, 2012

242 833

Last Topic: Disqus and MT by dedalus on Dec 21, 2012

1871 6598

Last Topic: How to export my templates set of a blog! by ebhakt on Dec 28, 2012

88 305

Last Topic: absolute publish date in Manage Entries screen by .mau. on Apr 18, 2012

1505 5371

Last Topic: Add a new post on an old date without updating RSS. by JohnnyBender on Dec 21, 2012

747 3140

Last Topic: Error restoring from backup (4.34) by John Marzetti on Dec 18, 2012

89 317

Last Topic: How to "pretify" a url in htaccess with a few wildcards by Caio on May 30, 2012

189 787

Last Topic: Trouble setting Category for new entries by vtpdavid on Dec 13, 2012

27 95

Last Topic: Upgrading MT by Caio on Oct 15, 2012

49 220

Last Topic: Movable Type 6 Ideas by Caio on May 28, 2012

65 245

Last Topic: Expanding new rich text editor and implementing table function by Takeshi Nick Osanai on Jul 30, 2012