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-web/

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

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

# 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.25.8/config

# Copy third party plugins
cp bugtracker/plugins/BBCodePlus mantisbt-2.25.8/plugins

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

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

# Delete old site
rm -r bugtracker

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

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