Hi,
we are using Version 0.17.5 since about 2 years. Now we decided to do an upgrade to the current version (maybe we will wait for the release of 1.0).
Is it possible to simply copy the data from the old to the new database, or is it even possible to reuse the old database. If not, are there any migration tools or possibilities?
Thanks
Migration to Version 1.0.0rc2 (Guide)
Moderators: Developer, Contributor
Hi,
I don't know of any guides about upgrading, but I'll tell you how I do it. I started with 0.17.5 when I took this job, now I run 1.0.0rc1.
When an upgrade is available, I download it and extract it into the same directory as where my current version is installed (/var/www). Then I compare the default config and language files so I can "patch" my own customised files to the new version.
Then I take Mantis offline (bothn current and new) by making a mantis_offline.php page and make a complete dump of the database. Apache looks for /var/www/mantis to serve its Mantis pages from, which is a symlink to the install dir of Mantis. So with an upgrade, all I do is make the symlink point to the new release. The new release is offline as well, so no users can start using it before I've run the update tools. Once that has been done, it's time to remove the mantis_offline.php and you're done. This can usually be so quickly that users won't even notice anything.
Needless to say you should first try this in a test environment.
Good luck,
Hans
I don't know of any guides about upgrading, but I'll tell you how I do it. I started with 0.17.5 when I took this job, now I run 1.0.0rc1.
When an upgrade is available, I download it and extract it into the same directory as where my current version is installed (/var/www). Then I compare the default config and language files so I can "patch" my own customised files to the new version.
Then I take Mantis offline (bothn current and new) by making a mantis_offline.php page and make a complete dump of the database. Apache looks for /var/www/mantis to serve its Mantis pages from, which is a symlink to the install dir of Mantis. So with an upgrade, all I do is make the symlink point to the new release. The new release is offline as well, so no users can start using it before I've run the update tools. Once that has been done, it's time to remove the mantis_offline.php and you're done. This can usually be so quickly that users won't even notice anything.
Needless to say you should first try this in a test environment.
Good luck,
Hans
I think the database has changed several times, but I've never had to touch it myself. Everything that needs to be done, is done by the update scripts. Just goto the /admin page after you installed the new version and run the scripts that are available. Don't forget to disable the /admin page once you go live :)