hi guys,
How do i upgrade my version of MantisBT from 1.1.5 to 1.2.0? I can't find any instructions in the mantisbt.org website.
My concerns are:
1. do i need to delete my current files (1.1.5)? or just overwrite them?
2. what do i need to do with my existing db aside from backing it up?
3. is there anything that i have to re-configure?
thanks in advance.
Upgrading instructions
Moderators: Developer, Contributor
Re: Upgrading instructions
Please enter an issue for this at MantisBT's own tracker, as this should be fixed in the documentation.
The older documentation for 1.1.x at http://www.mantisbt.org/manual/manual.i ... rading.php should still work.
The older documentation for 1.1.x at http://www.mantisbt.org/manual/manual.i ... rading.php should still work.
Re: Upgrading instructions
I just upgraded our 1.1.8 installation to 1.2.0. Linux with a MySQL backend.
1. Backup current Mantis database.
2. Download Mantis 1.2.0, unzip and rename directory to something like mantis120.
3. Copy the /Data directory from your 1.1.5 Mantis directory to mantis120 directory.
4. Rename your Mantis 1.1.5 directory to something like mantis115. (This and your database dump is your fallback)
5. Now rename your mantis120 directory to whatever the original Mantis 1.1.5 directory name was. (for path consistency)
6. Modify your configuration files and any other custom configuration per your old version settings. (these are the 1.2.0 files, upgrade instructions out there mentioned moving your old config files into the new directory, but this did not work for me)
7. Run install.php.
This worked for me. There were a couple custom tweaks that I forgot, but those were apparent when Mantis started.
This may not be the perfect procedure, since I'm currently having a problem where a new ticket w/attachment that is later moved to a different project causes the attachment to be missing. This may just be a setting that I overlooked.
1. Backup current Mantis database.
2. Download Mantis 1.2.0, unzip and rename directory to something like mantis120.
3. Copy the /Data directory from your 1.1.5 Mantis directory to mantis120 directory.
4. Rename your Mantis 1.1.5 directory to something like mantis115. (This and your database dump is your fallback)
5. Now rename your mantis120 directory to whatever the original Mantis 1.1.5 directory name was. (for path consistency)
6. Modify your configuration files and any other custom configuration per your old version settings. (these are the 1.2.0 files, upgrade instructions out there mentioned moving your old config files into the new directory, but this did not work for me)
7. Run install.php.
This worked for me. There were a couple custom tweaks that I forgot, but those were apparent when Mantis started.
This may not be the perfect procedure, since I'm currently having a problem where a new ticket w/attachment that is later moved to a different project causes the attachment to be missing. This may just be a setting that I overlooked.
Re: Upgrading instructions
For a more in depth reason behind Kevin's remaining issue, I've taken an initial stab at it and came up with: http://www.mantisbt.org/bugs/view.php?id=11687
-
- Posts: 11
- Joined: 01 Feb 2010, 14:36
Re: Upgrading instructions
HI Kevindrys
Thanks for your summary of how to install, your steps really helped towards clarifying some things for me, as I am not an IT person so am doing it on my own. I'm upgrading 1.1.8 to 1.2.3.
I just have two questions and would really be greatful if you would assist me with them.
1: you say "Copy the /Data directory from your 1.1.5 Mantis directory to mantis120 directory." I never saw that in the docs/INSTALL.txt file. I need to understand why I am going to do that step. I am one of those people who can't do it blindly, which is a bit of a pain. Could you explain why?
2: The attachment problem you had, did you resolve it and how? we have hundreds and thousands of attachments, and we need to make sure we can access them instantly. I tried reading the additional info someone posted below, but found it hard to understand.
I sure would appreciate your input on this, or anyone's input.
Thanks!
Thanks for your summary of how to install, your steps really helped towards clarifying some things for me, as I am not an IT person so am doing it on my own. I'm upgrading 1.1.8 to 1.2.3.
I just have two questions and would really be greatful if you would assist me with them.
1: you say "Copy the /Data directory from your 1.1.5 Mantis directory to mantis120 directory." I never saw that in the docs/INSTALL.txt file. I need to understand why I am going to do that step. I am one of those people who can't do it blindly, which is a bit of a pain. Could you explain why?
2: The attachment problem you had, did you resolve it and how? we have hundreds and thousands of attachments, and we need to make sure we can access them instantly. I tried reading the additional info someone posted below, but found it hard to understand.
I sure would appreciate your input on this, or anyone's input.
Thanks!
ugogo
------
Mantis: 1.1.8 - Upgrading to 1.2.3
PHP: Latest
SQL: Latest
OS: Linux
------
Mantis: 1.1.8 - Upgrading to 1.2.3
PHP: Latest
SQL: Latest
OS: Linux
Re: Upgrading instructions
I am pretty sure that this is the directory which is configured to store attachmentsugogo.info wrote: 1: you say "Copy the /Data directory from your 1.1.5 Mantis directory to mantis120 directory." I never saw that in the docs/INSTALL.txt file. I need to understand why I am going to do that step. I am one of those people who can't do it blindly, which is a bit of a pain. Could you explain why?
-
- Posts: 11
- Joined: 01 Feb 2010, 14:36
Re: Upgrading instructions
Wow atrol that really helps, cos I was really wondering where they were stored. Thanks!!!!
ugogo
------
Mantis: 1.1.8 - Upgrading to 1.2.3
PHP: Latest
SQL: Latest
OS: Linux
------
Mantis: 1.1.8 - Upgrading to 1.2.3
PHP: Latest
SQL: Latest
OS: Linux
Re: Upgrading instructions
Yes, the /data directory I'm referring to is for attachments. By default, there is no /data directory in the Mantis root directory. I neglected to reflect that in my instructions. So if your instance does not use attachments, you will not have the /data directory.
In regards to the attachment issue, please refer to jchoover's link in his reply above.
In regards to the attachment issue, please refer to jchoover's link in his reply above.