Migrate OTRS from windows to linux.

Hello First, I have searched a lot on how to make this but no success. We want to migrate our lovely OTRS 3.0 from a windows server to a new CentOS 6 linux server. I have installed the same version of OTRS (3.0) on the linux side as well as the same version of iTSM. Both servers has the same version of OTRS's software. I have made a dump of the database on the windows side to a sql file. But, not sure if I have to: - Drop database on the linux side and import the sql file from the windows server. - Overwrite this files in the linux server. * Kernel/Config.pm * Kernel/Config/GenericAgent.pm * Kernel/Config/Files/ZZZAuto.pm * var/* - Export Setting on ADMIN/SysConfig TAB on the windows and imported on the ADMIN/SysConfig TAB on the linux side. Is it enough to make the migration? Thanks much! Regards Israel.

Hi Israel, your proposal sounds good. Am 20.08.12 16:06, schrieb Israel Garcia:
I have made a dump of the database on the windows side to a sql file. But, not sure if I have to:
- Drop database on the linux side and import the sql file from the windows server. Yes. - Overwrite this files in the linux server.
* |Kernel/Config.pm| * |Kernel/Config/GenericAgent.pm| * |Kernel/Config/Files/ZZZAuto.pm| * |var/*|
Yes.
- Export Setting on ADMIN/SysConfig TAB on the windows and imported on the ADMIN/SysConfig TAB on the linux side. That should not be needed because you already did that in the step above.
If you run otrs.RebuildConfig.pl and otrs.DeleteCache.pl, things should be fine. Let us know how you get along! Best regards, mg -- Martin Gruner Senior Developer R&D OTRS AG Europaring 4 94315 Straubing T: +49 (0)6172 681988 0 F: +49 (0)9421 56818 18 I: www.otrs.com/ Geschäftssitz: Bad Homburg, Amtsgericht: Bad Homburg, HRB 10751, USt-Nr.: DE256610065 Aufsichtsratsvorsitzender: Burchard Steinbild, Vorstand: André Mindermann (Vorsitzender), Christopher Kuhn, Sabine Riedel Verbinden wir uns! OTRS 3.1 schafft einfachere Integration mit Drittapplikationen -- Für Frühbucher zum Vorzugspreis: http://www.otrs.com/index.php?id=2361&L=1

Hi Martin, really appreciate your time to respond my email. I'll migrate soon and I'll let the list know if it was successful or not. Will also try to send a step by step tutorial.
Thanks much!
________________________________
De: Martin Gruner
- Drop database on the linux side and import the sql file from the windows server.
Yes. - Overwrite this files in the linux server.
* Kernel/Config.pm * Kernel/Config/GenericAgent.pm * Kernel/Config/Files/ZZZAuto.pm * var/*
Yes. - Export Setting on ADMIN/SysConfig TAB on the windows and imported on the ADMIN/SysConfig TAB on the linux side. That should not be needed because you already did that in the step above. If you run otrs.RebuildConfig.pl and otrs.DeleteCache.pl, things should be fine. Let us know how you get along! Best regards, mg -- Martin Gruner Senior Developer R&D OTRS AG Europaring 4 94315 Straubing T: +49 (0)6172 681988 0 F: +49 (0)9421 56818 18 I: www.otrs.com/ Geschäftssitz: Bad Homburg, Amtsgericht: Bad Homburg, HRB 10751, USt-Nr.: DE256610065 Aufsichtsratsvorsitzender: Burchard Steinbild, Vorstand: André Mindermann (Vorsitzender), Christopher Kuhn, Sabine Riedel Verbinden wir uns! OTRS 3.1 schafft einfachere Integration mit Drittapplikationen – Für Frühbucher zum Vorzugspreis: http://www.otrs.com/index.php?id=2361&L=1

Hi Martin, Have just started the migration ;) What do you mean by "If you run otrs.RebuildConfig.pl and otrs.DeleteCache.pl, things should be fine"?. Do I have to run this two scripts on the linux side after finished all steps we have talked about? Thanks in advance... Israel. Best regards, mg -- Martin Gruner Senior Developer R&D OTRS AG Europaring 4 94315 Straubing T: +49 (0)6172 681988 0 F: +49 (0)9421 56818 18 I: www.otrs.com/ Geschäftssitz: Bad Homburg, Amtsgericht: Bad Homburg, HRB 10751, USt-Nr.: DE256610065 Aufsichtsratsvorsitzender: Burchard Steinbild, Vorstand: André Mindermann (Vorsitzender), Christopher Kuhn, Sabine Riedel Verbinden wir uns! OTRS 3.1 schafft einfachere Integration mit Drittapplikationen – Für Frühbucher zum Vorzugspreis: http://www.otrs.com/index.php?id=2361&L=1

Yes, run those on the Linux side of things before you try to connect
to OTRS and it will ensure the config is OK and any old sessions are
removed from the database.
Steve
On 21 August 2012 09:57, Israel Garcia
Hi Martin,
Have just started the migration ;)
What do you mean by "If you run otrs.RebuildConfig.pl and otrs.DeleteCache.pl, things should be fine"?.
Do I have to run this two scripts on the linux side after finished all steps we have talked about?
Thanks in advance... Israel.
Best regards, mg
-- Martin Gruner Senior Developer R&D
OTRS AG Europaring 4 94315 Straubing
T: +49 (0)6172 681988 0 F: +49 (0)9421 56818 18 I: www.otrs.com/
Geschäftssitz: Bad Homburg, Amtsgericht: Bad Homburg, HRB 10751, USt-Nr.: DE256610065 Aufsichtsratsvorsitzender: Burchard Steinbild, Vorstand: André Mindermann (Vorsitzender), Christopher Kuhn, Sabine Riedel
Verbinden wir uns! OTRS 3.1 schafft einfachere Integration mit Drittapplikationen – Für Frühbucher zum Vorzugspreis: http://www.otrs.com/index.php?id=2361&L=1
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Perfect!!
Thanks much.
________________________________
De: Steven Carr
Hi Martin,
Have just started the migration ;)
What do you mean by "If you run otrs.RebuildConfig.pl and otrs.DeleteCache.pl, things should be fine"?.
Do I have to run this two scripts on the linux side after finished all steps we have talked about?
Thanks in advance... Israel.
Best regards, mg
-- Martin Gruner Senior Developer R&D
OTRS AG Europaring 4 94315 Straubing
T: +49 (0)6172 681988 0 F: +49 (0)9421 56818 18 I: www.otrs.com/
Geschäftssitz: Bad Homburg, Amtsgericht: Bad Homburg, HRB 10751, USt-Nr.: DE256610065 Aufsichtsratsvorsitzender: Burchard Steinbild, Vorstand: André Mindermann (Vorsitzender), Christopher Kuhn, Sabine Riedel
Verbinden wir uns! OTRS 3.1 schafft einfachere Integration mit Drittapplikationen – Für Frühbucher zum Vorzugspreis: http://www.otrs.com/index.php?id=2361&L=1
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Hi Steve,
I have done all steps talked in this thread but when run this two scripts see he error:
[root@otrs2 var]# /opt/otrs/bin/otrs.RebuildConfig.pl
ERROR: Can't read C:/ARCHIV~1/OTRS/OTRS/RELEASE: No such file or directory This file is needed by central system parts of OTRS, the system will not work without this file.
Died at /opt/otrs/Kernel/Config/Defaults.pm line 2183.
[root@otrs2 var]# /opt/otrs/bin/otrs.DeleteCache.pl
ERROR: Can't read C:/ARCHIV~1/OTRS/OTRS/RELEASE: No such file or directory This file is needed by central system parts of OTRS, the system will not work without this file.
Died at /opt/otrs/Kernel/Config/Defaults.pm line 2183.
I think it's reading a file from the windows server... any idea on how to solve this...
Thanks tons..
________________________________
De: Steven Carr
Hi Martin,
Have just started the migration ;)
What do you mean by "If you run otrs.RebuildConfig.pl and otrs.DeleteCache.pl, things should be fine"?.
Do I have to run this two scripts on the linux side after finished all steps we have talked about?
Thanks in advance... Israel.
Best regards, mg
-- Martin Gruner Senior Developer R&D
OTRS AG Europaring 4 94315 Straubing
T: +49 (0)6172 681988 0 F: +49 (0)9421 56818 18 I: www.otrs.com/
Geschäftssitz: Bad Homburg, Amtsgericht: Bad Homburg, HRB 10751, USt-Nr.: DE256610065 Aufsichtsratsvorsitzender: Burchard Steinbild, Vorstand: André Mindermann (Vorsitzender), Christopher Kuhn, Sabine Riedel
Verbinden wir uns! OTRS 3.1 schafft einfachere Integration mit Drittapplikationen – Für Frühbucher zum Vorzugspreis: http://www.otrs.com/index.php?id=2361&L=1
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
participants (3)
-
Israel Garcia
-
Martin Gruner
-
Steven Carr