How to Migrate OTRS 2.2 from Limux to Winows

Moderator: crythias

Locked
jcom009
Znuny newbie
Posts: 5
Joined: 18 Sep 2010, 14:06
Znuny Version: 2.4.7

How to Migrate OTRS 2.2 from Limux to Winows

Post by jcom009 »

Hi,

Could anyone please give me a guide or the procedure to follow to migrate my OTRS system from a Linux server to a Windows server?

Any help will be much appreciated!

Thank you!
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: How to Migrate OTRS 2.2 from Limux to Winows

Post by crythias »

This isn't the correct forum for this question.

You're going backwards. :)

You should be upgrading to 2.4.8.

OK, enough pontificating.

I believe the short answer is: backup, install, restore.
  • backup your otrs folder and database.
  • Check the OTRS FTP site for an appropriate installer for windows
  • install and verify that otrs runs without your customizations
  • Rename your OTRS folder
  • restore the database from your mysqldump in linux. If you're not using mysql or changing databases, your backup/restore methods will vary, and results are not supported.
  • unzip your backup from linux into [driveletter:]\OTRS
  • edit Kernel/Config.pm and change Home entry to your Windows folder
  • make sure database privileges have been applied for your db login/password combination or change OTRS/Kernel/Config.pm to reflect the Windows db credentials from OTRSrenamed/Kernel/Config.pm
  • test
  • backup the new OTRS folder
  • update to 2.4.8 as soon as feasible reading "UPGRADING" .
there art three parts to the database upgrade:
run the DBUpdate-to-2.3.mysql.sql against your otrs database (check if you have a db that's not mysql and apply appropriately.)
perl DBUpdate-to-2.3.pl to move data
run the DBUpdate-to-2.3-post.mysql.sql against your otrs database

backup the database
run the DBUpdate-to-2.4.mysql.sql against your otrs database (check if you have a db that's not mysql and apply appropriately.)
perl DBUpdate-to-2.4.pl to move data
run the DBUpdate-to-2.4-post.mysql.sql against your otrs database

Certain Custom themes or plugins may not work from 2.2 to 2.4. Read the documentation.

Disclaimers:
Follow this path at your own risk. While efforts have been made to check for accuracy, and are based upon the documentation that is provided, mistakes can occur. If I can provide more assistance, I'll be glad to do so. Since this is a migration, your original files should still work while the upgrade is being performed. Kindly submit further questions in the help or installation/upgrade forum.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
jcom009
Znuny newbie
Posts: 5
Joined: 18 Sep 2010, 14:06
Znuny Version: 2.4.7

Re: How to Migrate OTRS 2.2 from Limux to Winows

Post by jcom009 »

Crythias, thank you very much for your help!!

I upgraded the Windows version of OTRS to 2.4.7 now and all seems to be working fine except for my email notifications..

Do you have any advice on how to set this up?

I checked the Config.pm file and made changes to reflect the changes that were made in the Linux Config.pm file regarding the emailing.

I needed to add the below lines to the windows Config.pm file:

$Self->{'FQDN'} = 'support.mysct.com';
$Self->{'NotificationSenderName'} = 'mySCT Support';
$Self->{'NofificationSenderEmail'} = 'support@<OTRS_CONFIG_FQDN>';

This still did not fix my problem. In the log file (C:\OTRS\OTRS\var\log otrs.log) it says that the email messages are being sent but no email is received.

I also looked through most of the other .pm files to see if some other changes were made regarding the emailing but could not find anything. There was also no changes made in the OTRS SysConfig options on the Linux box so i didn't make any additional ones to OTRS in the Windows system.

If you know of anything else that I could try it would be greatly appreciated!

Thanks!
Locked