MantisBT

Note : this page aims to be a short guide for upgrading the Mantis bugtracker.

https://www.mantisbt.org/docs/master/en-US/Admin_Guide/html-desktop/#admin.install.upgrade

https://www.osradar.com/install-mantis-bug-tracker-ubuntu-1804/

Upgrade :

cd qet/qelectrotech.org/

# Download MantisBT
wget https://sourceforge.net/projects/mantisbt/files/mantis-stable/2.26.2/mantisbt-2.26.2.tar.gz

# Extract the release
tar -xvf mantisbt-2.27.0.tar.gz 
chmod -R 755 mantisbt-2.27.0

# Put the site down for maintenance
cp bugtracker/mantis_offline.php.sample bugtracker/mantis_offline.php

# backup old site
cp -a bugtracker bugtracker.old

# Copy the configuration files
cp bugtracker/config/config_inc.php  mantisbt-2.27.0/config

# Copy third party plugins
cp -r bugtracker/plugins/BBCodePlus mantisbt-2.27.0/plugins

# Execute the upgrade script. From your web browser, access to upgrade database
#https://qelectrotech.org/mantisbt-2.27.0/admin/install.php

# Delete the admin folder
rm -r mantisbt-2.27.0/admin

# Delete old site
rm -r bugtracker

# Move mantisbt-2.25.8 to new site
mv  mantisbt-2.27.0 bugtracker

# Delete old archive
rm mantisbt-2.27.0.tar.gz