Friday, April 16, 2010

Upgrading Mantis

Based on the upgrading section of the mantis manual.
http://www.mantisbt.org/manual/manual.installation.upgrading.php

Versions used
Upgrade from 1.1.6 to 1.2.0

Steps
  1. Backup the mantis database
  2. Backup the mantis directory on the web server
  3. Rename the file c:\apache\htdocs\mantis\mantis_offline.php.sample to mantis_offline.php
  4. Unzip the latest mantis package to a temporary folder e.g. C:\temp
  5. Copy the contents of c:\temp\mantisbt-1.2.0 to the web server e.g. C:\apache\htdocs\mantis, replacing all existing files and folders
  6. Delete the file c:\apache\htdocs\mantis\core\my_view_inc.php
  7. Using a browser, navigate to localhost/mantis/admin/install.php
  8. Supply a database username and password to use to upgrade the database
  9. Click on the install/upgrade database button
  10. Installation should be successful
  11. Confirm the installation status by navigating to localhost/mantis/admin/check.php
  12. Delete the file c:\apache\htdocs\mantis\mantis_offline.php. It may be appropriate to delete all old files from the previous version (those which haven't been replaced because they no longer exist in the new version)
  13. Delete the folder c:\apache\htdocs\mantis\admin
  14. Using a browser, navigate to localhost/mantis to log in and use the latest version of mantis

1 comment:

  1. I have been looking for an article like this, I hope it will be useful, I will post the results.

    ReplyDelete