Migration and update

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
Barnabe42
Posts: 7
Joined: 24 Jan 2018, 15:29

Migration and update

Post by Barnabe42 »

Hello,

I have a linux server running Mantis 1.2.20 and I would like to migrate a new windows server using Mantis 2.10.0.
Noth are running MySQL.

I have installed the default windows system using the bitnami installer.
How should I proceed ?

I found in the forum the some hints but it does not seems to work on my system:
http://www.mantisbt.org/forums/viewtopi ... ate#p49109

I dunnot have install page http://HOST_IP/mantis/admin/install.php ...

8. Run the MantisBT installation package
a. Through your web browser, go to http://HOST_IP/mantis/admin/install.php.
b. At Installation Options, if prompted:
• Set “Type of Database” to “MySQL (default)”
• Set “Hostname (for Database Server)” to “localhost”
• Set “Username (for Database)” to “root”
• Set “Password (for Database)” to “yourMantisDatabasePassword”
• Set “Database name (for Database)” to “mantis”
• Set “Admin Username (to create Database if required)” to “root”
• Set “Admin Password (to create Database if required)” to “yourMantisDatabasePassword”
• Enable “Print SQL Queries instead of Writing to the Database”
• Click “Install/Upgrade Database”.
• Manually create the “/var/www/mantis/config_inc.php” based on the instructions provided to create it.
• Backup the “/var/www/mantis/admin/schema.php” file.
c. Upgrade the database schema

Thanks,
/Eric
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Migration and update

Post by atrol »

Barnabe42 wrote:using the bitnami installer
What exactly do you mean with it?
Please use Search before posting and read the Manual
Barnabe42
Posts: 7
Joined: 24 Jan 2018, 15:29

Re: Migration and update

Post by Barnabe42 »

Hi,

I have installed the one click install for mantis, It configure mysql and apache server.
https://bitnami.com/stack/mantis

I was now add the install.php file from the stable release mantis.
I will try to import the backup of the SQL database and run the install on the new server.
Barnabe42
Posts: 7
Joined: 24 Jan 2018, 15:29

Re: Migration and update

Post by Barnabe42 »

Hello,

I was able to update Mantis, the only that I could not fix is that I am not able to download any attachement:

I get this error:

This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented the webpage from displaying.

For more information about HTTP errors, see Help.

Here is was I get from the admin/check/index.php
2018-01-29_15-04-57.png
2018-01-29_15-04-57.png (106.9 KiB) Viewed 7058 times
I don't know how to proceed
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Migration and update

Post by atrol »

Installing the PHP fileinfo extension might fix the issue.
Please use Search before posting and read the Manual
rafique.kakati
Posts: 1
Joined: 19 Feb 2018, 10:12

Re: Migration and update

Post by rafique.kakati »

Hi,

I also have the same problem.

Please can you answer my below questions.

The server config is :
Windows 2016 R2 Server
SQL Server 2016
IIS
PHP 5.6

Can We upgrade mantis from version 1.2.11 to 2.11.1 or we should upgrade to the earlier version and then go for the latest version
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Migration and update

Post by atrol »

rafique.kakati wrote: 19 Feb 2018, 10:32I also have the same problem.
The same problem? This is the latest unresolved problem in this post
I am not able to download any attachement
And I proposed to check if PHP fileinfo extension is enabled.
Did you try?
rafique.kakati wrote: 19 Feb 2018, 10:32 Can We upgrade mantis from version 1.2.11 to 2.11.1 or we should upgrade to the earlier version and then go for the latest version
I don't see any advantage to upgrade to an earlier version, unless you prefer the UI of the earlier version.
Please use Search before posting and read the Manual
Post Reply