Upgrade 1.1.8 to 1.2.3

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
ugogo.info
Posts: 11
Joined: 01 Feb 2010, 14:36

Upgrade 1.1.8 to 1.2.3

Post by ugogo.info »

Hello

I've read the docs/INSTALL file, and it only says "backup your existing installation and database -- really!"

I'm a bit lost on how to interpret that sentence, not being an IT person, so would really appreciate anyone's guidelines. I have to backup all attachments as well.

As far as I can figure out, I need to do this:

1. Backup the database itself
2. Save all the attachments somewhere
3. Save some config. php files somewhere

Is that correct?

Another sentence I am finding hard to interpret , it says:

"* Copy your configuration from the old installation to the new directory,
including config_inc.php, custom_strings_inc.php, and
custom_constants_inc.php if they exist"

Where it says "copy your configuration" does it mean I should copy the ACTUAL FILES themselves, or I need to go into the file and grab the configuration text and copy it into the new files?

I'd really appreciate some clarification on that.

Finally, I've read a lot of posts about attachment mapping getting broken as a result of the upgrade process, even when the folder was renamed to the old path name.

Has that been resolved with 1.2.3 or is there a specific thing i Have to do to restore the mapping so that we can all view our attachments on the issues?

Thank you!
ugogo
------
Mantis: 1.1.8 - Upgrading to 1.2.3
PHP: Latest
SQL: Latest
OS: Linux
atrol
Site Admin
Posts: 8536
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Upgrade 1.1.8 to 1.2.3

Post by atrol »

Some more detailed information can be found at http://www.mantisbt.org/manual/manual.i ... rading.php
This is for older versions of MantisBT (up to 1.1.x) but will help you.
This section is not included in actual version of documentation. Seems that this was lost during conversion to another format.
Please use Search before posting and read the Manual
ugogo.info
Posts: 11
Joined: 01 Feb 2010, 14:36

Re: Upgrade 1.1.8 to 1.2.3

Post by ugogo.info »

Thanks atrol, that article definitely helps a lot.

From what i can figure out, I need to:

1. backup the database - so I did a dump from phpMyAdmin

2. Backup the varius config files mention, so I just copied them to a backup file - ftpd them down to my folder.

3. Backup the attachments - but I can't figure out yet what folder they are in. Does anyone have any idea? Is there any article anywhere about backing up and remapping attachments?

Thanks!
ugogo
------
Mantis: 1.1.8 - Upgrading to 1.2.3
PHP: Latest
SQL: Latest
OS: Linux
atrol
Site Admin
Posts: 8536
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Upgrade 1.1.8 to 1.2.3

Post by atrol »

ugogo.info wrote:but I can't figure out yet what folder they are in. Does anyone have any idea? Is there any article anywhere about backing up and remapping attachments?
There are two ways to store attachments

1. stored in database (if this is configured in your installation you will find an entry in file config_inc.php

Code: Select all

$g_file_upload_method    = DATABASE;
2. stored in file system
You find the directory where it's stored by clicking "Manage" -> "Manage Projects" and selecting a project.
There might be one directory for all projects, or different directories for different projects
Please use Search before posting and read the Manual
ugogo.info
Posts: 11
Joined: 01 Feb 2010, 14:36

Re: Upgrade 1.1.8 to 1.2.3

Post by ugogo.info »

Hi Atrol - thanks. That clarifies your post on another issue. Wish me luck on this, cos I still don't know what I am going to do if the path to the attachments are broken. Will try do it tomorrow when nobody is at work.
ugogo
------
Mantis: 1.1.8 - Upgrading to 1.2.3
PHP: Latest
SQL: Latest
OS: Linux
Post Reply