Clarification re Upgrade Locations

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
evenmoreconfused
Posts: 5
Joined: 19 Dec 2022, 14:58

Clarification re Upgrade Locations

Post by evenmoreconfused »

I've been running two boxes with 2.25.5 for some time now, but now I feel it's time to upgrade to 2.26.1.

I'm a little concerned as it's the first time I've upgraded MantisBT, and a number of tweaks have been made to the original 25.5 (new statuses, modified workflow sequences, etc). I'm prepared to deal with that aspect, but now I have a more basic question:

Our web root is (unsurprisingly) /var/www/html, and mantisbt is a directory within that. The upgrade instructions talk about downloading the tarball, extracting it to mantisbt-2.26.1, and then renaming it to something easier. It later implies that the new version has been renamed to mantis-NEW:

Code: Select all

Execute the upgrade script. From your web browser, access
https://yoursite/mantisbt-NEW/admin/install.php
So far so good.

What it doesn't make clear is how it (or I) am going to wind up with the new version in mantisbt and the old version in (e.g.) mantisbt-OLD.

Is it going to do this in the install script? Am I supposed to change the directory name after the install completes? Or does this all happen auto-magically? I have hundreds of user's bookmarks pointing at https://mysite/mantisbt -- I guess I could setup a redirect if I had to.

Thanks as always for all help,
Paul
AndrewCarsten
Posts: 2
Joined: Yesterday, 05:38

Re: Clarification re Upgrade Locations

Post by AndrewCarsten »

Can anyone answer this topic?download lagu I'm looking for someone to answer because I have the same topic. If anyone has solution, please tag me. Thanks a lot.
Learn, learn and learn... download lagu
cas
Posts: 1642
Joined: 11 Mar 2006, 16:08
Contact:

Re: Clarification re Upgrade Locations

Post by cas »

Hi Andrew,
check out page 12 of the admin guide under section post-upgrade tasks:
2. Switch the site to the new version
The commands below should be executed from the web root (or wherever the mantisbt scripts are
installed) and assume that the "live" directory (old version) is named mantisbt and the new release
directory is mantisbt-1.3.x.
mv mantisbt mantisbt-old
mv mantisbt-1.3.x mantisbt
So this is not handled by the install/upgrade script but is something you do yourself :mrgreen:
Post Reply