OTRS upgrade
1.2.4 -> 1.3.2
RedHat 9
Backing up the MySQL data should not be a problem: you can simply copy the complete MySQL OTRS data directory including all the data (.MYD files) to another directory. You should backup you data on a daily bases: make a cron job for the mysqldump command (see http://dev.mysql.com/doc/mysql/en/mysqldump.html) It's very easy and should not be a problem. I'm not a Linux expert, but this is simple and powerful.
I assume you have downloaded the new 1.3.2 OTRS RH8 rpm.
1. stop all services ("service otrs stop")
2. backup everything (I did not need the backup files at all, but you never know....) : OTRS is in /opt/otrs. Copy the complete directory structure (I did this with Midnight Commander (mc) utility) to f.i. /otrs124
3. backup MySQL data (/var/lib/mysql/otrs/*.MYD files)
4. install the new RPM (rpm -ivh --force otrsxxxxxx.rpm) I had to use --force so all the old files were rewritten, when I didn't I got a lot of error messages)
5. update the database changes with:
MySQL: cat /opt/otrs/scripts/DBUpdate-to-x.y.mysql.sql | mysql -p -f -u root otrs
6. execute (from /bin !!) /opt/otrs/bin/SetPermissions.sh otrs apache apache apache apache
7. I changed in /etc/sysconfig/otrs the OTRS_DB_RUNNING=1 to =0 because on RH the mysqld check does not work properly
8. restart the services:
service httpd restart
service mysql start
service otrs start
this did the job for me :-)
regards,
Peter
________________________________________
Van: otrs-bounces(a)otrs.org [mailto:otrs-bounces@otrs.org] Namens Cobb
Verzonden: zaterdag 22 januari 2005 18:25
Aan: User questions and discussions about OTRS.
Onderwerp: Re: [otrs] Procedure for upgrading OTRS from source?
If you could provide me with a step-by-step of what you did, I would really appreciate it. Mainly, I'm concerned with backing up the databases and converting them, as I haven't had luck with backing up mysql db's before.
Peter van Beugen wrote:
Already solved or do you need extra explanation?
I also did an upgrade on RH9 from 1.2.4 to 1.3.2 a few months ago.
Regards,
Peter
-----Oorspronkelijk bericht-----
Van: otrs-bounces(a)otrs.org [mailto:otrs-bounces@otrs.org] Namens shar0119(a)yahoo.com
Verzonden: donderdag 20 januari 2005 8:14
Aan: User questions and discussions about OTRS.
Onderwerp: Re: [otrs] Procedure for upgrading OTRS from source?
I think you can just download the latest RPM and
update it.
Chris
--- Cobb <cobbjb1(a)cox.net> wrote:
Can anyone help out with this?
Cobb wrote:
Can anyone tell me how to upgrade from OTRS 1.2 to
1.3 from source?
Consider it's installed in /opt/otrs on a RH9
system.
_______________________________________________
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
Support oder Consulting für Ihr OTRS System?
=> http://www.otrs.de/
_______________________________________________
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
Support oder Consulting für Ihr OTRS System?
=> http://www.otrs.de/
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com
_______________________________________________
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
Support oder Consulting für Ihr OTRS System?
=> http://www.otrs.de/
_______________________________________________
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
Support oder Consulting für Ihr OTRS System?
=http://www.otrs.de/
Has anyone been using OTRS for change management or
non-IT related purposes?
__________________________________
Do you Yahoo!?
All your favorites on one personal page � Try My Yahoo!
http://my.yahoo.com