Migration or new install

Moderator: crythias

Post Reply
aph
Znuny superhero
Posts: 646
Joined: 20 Jun 2014, 12:11
Znuny Version: 3.3.9, 4.x, 5.x

Migration or new install

Post by aph »

I would like to move on to OTRS 4 from my current otrs 3.3.9. However, I wasn't successful with a migration viewtopic.php?f=62&t=28011.

Would it be advisable to do a fresh install of otrs 4 and then move the database to the new installation? What would be the best way to go about it so that I can upgrade to OTRS 4 and keep my existing tickets, processes and so on?
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
Wolfgangf
Znuny ninja
Posts: 1029
Joined: 13 Apr 2009, 12:26
Znuny Version: 6.0.13
Real Name: Wolfgang Fürtbauer
Company: PBS Logitek GmbH
Location: Pinsdorf

Re: Migration or new install

Post by Wolfgangf »

definitely a way!
- Fresh install
- transfer config
- transfer config
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
wurzel
Znuny guru
Posts: 3228
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Migration or new install

Post by wurzel »

Hi,

i would prefer the migration. Ohterwise you'll loose old tickets.
You should switch to InnoDB first, and then check if database migration works fine.

Flo
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
aph
Znuny superhero
Posts: 646
Joined: 20 Jun 2014, 12:11
Znuny Version: 3.3.9, 4.x, 5.x

Re: Migration or new install

Post by aph »

wurzel wrote:Hi,

i would prefer the migration. Ohterwise you'll loose old tickets.
You should switch to InnoDB first, and then check if database migration works fine.
I would like to perform a migration as well so as to retain old tickets as I see no other way of transferring them to freshly installed OTRS 4

About switching to InnoDB: The manual mentions:
new tables created in the MySQL UPGRADING process will be created with the default table storage engine set in your MySQL server. In MySQL 5.5 the new default type is InnoDB. If existing tables, e.g. "users", have the table storage engine e.g. MyISAM, then an error will be displayed when creating the foreign key constraints.
I'm however using mysql version 5.1.73 and default storage engine is MyISAM. Do I still have to switch to InnoDB first before migration? I can't really follow.
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
wurzel
Znuny guru
Posts: 3228
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Migration or new install

Post by wurzel »

Hi,

The migration would be the best way. Transferring old tickets to a new OTRS instance is not really possible.


I think you have to switch to InnoDB. But I am not sure (I always switch to InnoDB on <5.5 versions)

Flo
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
Wolfgangf
Znuny ninja
Posts: 1029
Joined: 13 Apr 2009, 12:26
Znuny Version: 6.0.13
Real Name: Wolfgang Fürtbauer
Company: PBS Logitek GmbH
Location: Pinsdorf

Re: Migration or new install

Post by Wolfgangf »

Wolfgangf wrote:definitely a way!
- Fresh install
- transfer config
- transfer config
I just recognized my typo:
- transfer config
- transfer database
- don't forget the /opt/otrs/var/log/TicketCounter.log
in this way you don't loose old tickets

Having said that: I never had any problems by upgrading from older versions.
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
aph
Znuny superhero
Posts: 646
Joined: 20 Jun 2014, 12:11
Znuny Version: 3.3.9, 4.x, 5.x

Re: Migration or new install

Post by aph »

I feel upgrade is definitely the way to go.
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
Post Reply