Move issues and projects from 1.2 instance to 2.5 instance

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
wolutator
Posts: 1
Joined: 26 Sep 2017, 13:02

Move issues and projects from 1.2 instance to 2.5 instance

Post by wolutator »

Hi,


I've to instances of Mantis in the company, an ancient one with a version 1.2.1 installed on it and a more recent one with a version 2.5.0.
I want to get rid of the ancient instance, unfortunately a lot of active projects with numerous issues are on it. To make a more complicated, the 2.5.0 instance is also not empty, it also has lots of active projects.

I tried to export issues using the import/export issues plugin. For whatever reason only the csv export works for me. If I try to export in xml, the export file is empty.

Next I recreated a project from the 1.2 instance on the 2.5 one, export the issues from that project on the 1.2 instance in csv format and import that file into the newly created project on the 2.5 instance. Unfortunately, after the import the project was still empty. I enabled some logging in the configuration of the 2.5 instance:

$g_log_destination = "file:/opt/service/mantis/log/mantis.log";
$g_log_level = LOG_DATABASE | LOG_EMAIL | LOG_LDAP;

and rerun the import of the csv file. I saw not a single insert statement in the logfile.

Can someone help me with the following questions:

1. Is it possible to export from 1.2 and import to 2.5 at all?
2. Are there any other useful ways to observe/debug the import process?
3. Has anyone an idea what was going wrong?


Thanks and cheers,
Wolfgang
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Move issues and projects from 1.2 instance to 2.5 instan

Post by atrol »

I would upgrade the 1.2 instance to latest 2.x.
After that, use the XML export / import that comes with standard Mantis.
Please use Search before posting and read the Manual
Post Reply