default userpic

Upgrade to 4.2 Problems

Vote 0 Votes

I upgraded from 4.12 to 4.2. The upgrade from 3.5 to 4.12 went flawlessly. So, this should be a simple thing, right? All the templates for my blog are gone. I did exactly that same thing I did when I upgraded from 3.5 to 4.12. Copied the files to the MT4 directory on my server. Went to http://www.server.com/cgi-bin/mt4/mt.cgi. Got redirected to the upgrade cgi which appeared to proceed without incident. Once it was done, there was a button to go to Movable Type control panel. Off I went. Hum, looks OK. Let's rebuild and see what happens.

Uh oh. Error. Oooh look, edit template button, how cool is that!! Hey, that's not a template I've ever used. Better go look at the templates and see what's changed. Uh, whadda ya mean No Templates found?? That's not good.

So, that's where I'm at. I was planning to go looking for the templates. I have no idea where they are stored. My guess is the MySQL database which is where I was planning to look next. I should also point out that I cannot Create New Template from the MT Control Panel either. Which probably implies deeper problems.

I always installed from downloads on the download page at Six Apart. I had 3.52, I think, for a long time. I avoided upgrading because of this very reason. A couple of weeks ago, I downloaded 4.12 from the Six Apart download page and upgraded my install. That upgrade went off without a hitch. Hence my confidence in upgrading from 4.12 to 4.2.

All in all, a lousy upgrade experience.

Smittie

Reported on Movable Type 4.2

13 Replies

| Add a Reply
  • Smittie, your best bet is to export your blog and reimport it into a clean installation of Movable Type. An upgrade from 3.5, to 4.12, to 4.2 may have some issues with old, dead code in the core and plugins getting left behind.

  • @MikeT I fail to see how that will resurrect the templates and style sheet that I had built and which is now missing.

    The style sheet got blown away when MT 4.2 tried to rebuild the site. It overwrote the existing style sheet.

    To be perfectly honest, if I have to rebuild – which it appears I do – I'm going to look at the other content management systems out there. This is completely unacceptable. A simple update should not permit data loss.

    Smittie

  • @Smittie - You seem to have run into a legitimate bug. Another user in our forums reported a similar problem. The good news is that they have been very forthcoming with information and data, and in their case, their templates were NOT deleted. Something happened that resulting in MT losing the association of their templates with their blog. Obviously, far from ideal (duh), but at least data was not lost.

    I want to clarify one thing however - you said you upgraded from MT 3.5. Were you using the project codenamed "Wheeljack?" There was a version of MT released through subversion called 3.5 or Wheeljack, but it was never released nor officially supported. In fact, I can say for certain that there would be forwards compatibility issues between 3.5 and 4.x. Can you confirm what version of MT you had installed?

  • I always installed from downloads on the download page at Six Apart. I had 3.52, I think, for a long time. I avoided upgrading because of this very reason. A couple of weeks ago, I downloaded 4.12 from the Six Apart download page and upgraded my install. That upgrade went off without a hitch. Hence my confidence in upgrading from 4.12 to 4.2. Does this answer your question?

    Smittie

  • default userpic

    I tried upgrading from 4.1 to 4.2. The upgrade seemed to have gone smoothly but after I rebuilt I noticed a lot of data was missing. It seems like the upgrade lost about half of my custom fields data. I restored my database from a backup but I would appreciate it if I could get some help on this.

    Thanks

  • I'm rebuilding the templates that were lost in my upgrade from 4.12 to 4.2. I was not able to recover them. I hope you have better luck than I did.

  • The best way to upgrade would be: 1- Backup your Database in 3 formats: MT Backup, cPanel Database Backup and PHPMyAdmin Database Backup. 2- Log in to your Movable Type control panel and Write down the plugins you are using right now. 3- Rename the your MT folder that exists inside cgi-bin to something else. For example if you MT folder is called "mt" rename it to something like "mtOld". 4- Download the new MT, unzip it and rename it to your original MT folder name. In our example, rename it to "mt". 5- Now open your old mt-config.cgi (that exists inside "mtOld" folder) with note pad and copy exactly what you have to your new mt-config.cgi-original (that exists in "mt" folder). 6- Now rename the mt-config.cgi-original to mt-config.cgi 7- Go to this address: www.yoursite.com/cgi-bin/mt/mt.cgi 8- Everything should work properly. 9- Before you do ANYTHING (anything means post or publish or anything like that) go ahead and download the latest version of the plubins you were using and install them...

  • So, what LeoMoon is suggesting is that the best way to upgrade is to do a clean install every time. Which makes one wonder why Six Apart goes to the effort of trying to create an upgrade experience.

    And for all that effort, it is my opinion that every upgrade is an excellent time to review the other CMS solutions that are available. Because the simple truth is, upgrading is about as much work as moving to another system. Migration of templates would need to be taken into consideration but that is becoming easier. Moving entries from one CMS to another is relatively painless at this point.

  • I did not make adequate backups before upgrading. That was my foolishness. The previous upgrade, from 3.5 to 4.12 had gone so well, I was too cavalier about this one. That I do not have a backup from which to recover is my fault.

    Part of the problem with making a backup is borne out by this discussion. The internal backup utility may be good enough now. But it hasn't been and the only way to find out that it actually is not is to depend on it and have it fail. Yuck! So, what backup is good enough? The involvement of the MySQL database makes determining that, more complicated than the average blogger is interested in. At least in my opinion.

Add a Reply

Forum Groups