{"id":147,"date":"2019-09-04T12:43:02","date_gmt":"2019-09-04T04:43:02","guid":{"rendered":"https:\/\/itrapt.com\/blog\/?p=147"},"modified":"2019-09-04T13:02:31","modified_gmt":"2019-09-04T05:02:31","slug":"upgrading-mantis-bt-from-2-17-to-2-22-no-plugins","status":"publish","type":"post","link":"https:\/\/itrapt.com\/blog\/upgrading-mantis-bt-from-2-17-to-2-22-no-plugins\/","title":{"rendered":"Upgrading Mantis BT from 2.17 to 2.22 (No Plugins)"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><img src=\"https:\/\/itrapt.com\/blog\/wp-content\/uploads\/2019\/09\/mister-starman-kd28q33oyAQ-unsplash-1024x683.jpg\" alt=\"\" class=\"wp-image-149\"\/><figcaption>Photo by Mister Starman on Unsplash<\/figcaption><\/figure>\n\n\n\n<p>It&#8217;s time to upgrade the Mantis Bug Tracker installation. What is Mantis BT? From their website https:\/\/mantisbt.org:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\"><p> MantisBT is an open source issue tracker that provides a delicate balance between simplicity and power. <\/p><\/blockquote>\n\n\n\n<p>I use it to keep track of the issues of all my projects. It keeps me sane.<\/p>\n\n\n\n<p>Here are the steps that I took to upgrade:<\/p>\n\n\n\n<ul><li>Download the new Mantis BT version.<\/li><li>Upload to your server under a new folder. For me, it&#8217;s &#8220;mantisbt-new&#8221;.<\/li><li>In your current Mantis BT folder copy mantis_offline.php.sample to mantis_offline.php. This will enable maintenance mode which prevents from users modifying the data while a database migration is ongoing.<\/li><li> Back up database. Always try to prepare for the worst. <\/li><li>Go to http:\/\/&lt;your site&gt;\/&lt;your new Mantis BT folder&gt;\/admin\/install.php<\/li><li>Enter the needed database information and proceed.<\/li><li>Edit the config_inc.php file of your new installation as needed (mantisbt-new)<\/li><li>Rename your Mantis BT folder to something else. I renamed mine to &#8220;mantisbt-old&#8221;.<\/li><li>Rename your new Mantis BT folder (mantisbt-new) to your Mantis BT working folder (mantisbt)<\/li><\/ul>\n\n\n\n<p>That&#8217;s it! You&#8217;re now running v2.22. Don&#8217;t forget to delete your previous installation.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s time to upgrade the Mantis Bug Tracker installation. What is Mantis BT? From their website https:\/\/mantisbt.org: MantisBT is an open source issue tracker that provides a delicate balance between simplicity and power. I use it to keep track of the issues of all my projects. It keeps me sane. Here are the steps that [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"off","_et_pb_old_content":"","_et_gb_content_width":""},"categories":[45],"tags":[72,71],"_links":{"self":[{"href":"https:\/\/itrapt.com\/blog\/wp-json\/wp\/v2\/posts\/147"}],"collection":[{"href":"https:\/\/itrapt.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itrapt.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itrapt.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itrapt.com\/blog\/wp-json\/wp\/v2\/comments?post=147"}],"version-history":[{"count":2,"href":"https:\/\/itrapt.com\/blog\/wp-json\/wp\/v2\/posts\/147\/revisions"}],"predecessor-version":[{"id":150,"href":"https:\/\/itrapt.com\/blog\/wp-json\/wp\/v2\/posts\/147\/revisions\/150"}],"wp:attachment":[{"href":"https:\/\/itrapt.com\/blog\/wp-json\/wp\/v2\/media?parent=147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itrapt.com\/blog\/wp-json\/wp\/v2\/categories?post=147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itrapt.com\/blog\/wp-json\/wp\/v2\/tags?post=147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}