
This past week I was faced with upgrading a really old installation of Bugzilla, version 2.18rc3 and move it forward to the current stable, 3.0.2 - what was of course critical, that the existing database of bugs be moved to the new version, so that bug numbers wouldn't change etc. I first tried to upgrade in-place the existing installation via CVS; this didn't work so happy as apparently moving from 2.18 to 3.0.2 isn't very easy due to numerous changes. So I decided to setup a new installation (even on a new server, so I could have my way with the environment and not worry about affecting the old one) - after getting all the pre-requisites of 3.0.2 taken care of and checksetup.pl finally ran and didn't complain about anything I was faced with moving the existing bugs from the old installation (and server) to the new one. In the documentation I had read about move.pl and importxml.pl and possibly something in contrib that would help in moving the bugs from one installation to another. I tried getting the move button working in the old version so I could some how do a search, tag everything and then have it send all the bugs via xml stuffed emails over to the new installation - this was simply not required. I decided to dump the old mysql database using mysqldump - then copy this file over to the new server, I scratched the database so it was fresh and simply read in the backup sql file I had made on the old server - when I properly set the dbpass in localconfig on the new version, and ran checksetup.pl - I was surprisingly given options to upgrade and convert the database to a new format (with a scary warning about UTF-8) - I forged ahead and said sure, go ahead, convert - it sat for a few minutes and cranked modifying all sorts of stuff in the tables and then it was done. -- I started up the web server on the new server and bang -- I have bugzilla 3.0.2 working with my old bugs, sweet - so far. Seems this method of moving forward is not mentioned or documented except in a few random posts on newsgroups as last ditch things to try - maybe I totally missed something, but it worked for me and this particular installation. We will see how it plays out once the users are directed to the new release URL.