Hi,
We use OTRS since couple last versions and I must say that upgrading is
not simple but transferring tickets from old version to new will be even
harder.
What I do is set up small virtual server just for me (takes 30min) then
I set up current otrs (unpack the buckup and sql
otrs<backup/database.sql also packed in buckup.) and then test the
upgrade and prepere upgrade procedure.
I takes ad day or two all together but you get stable and reliable way
to upgrade working envirement.
Right now we also use 3.3 version and tomorow I am upgrading to 3.4.
This is how you can do it:
*echo 'drop database otrs;' | mysql
echo 'create database otrs;' | mysql
cd /opt/otrs
tar -zxf /backup/otrs/2009-09-03_04-30/Application.tar.gz
tar -zxf /backup/otrs/2009-09-03_04-30/Config.tar.gz
gunzip /backup/otrs/2009-09-03_04-30/DatabaseBackup.sql.gz
mysql otrs < /backup/otrs/2009-09-03_04-30/DatabaseBackup.sql
cp -rf /usr/src/otrs-2.4.3/* ./
cat scripts/DBUpdate-to-2.4.mysql.sql | mysql -f -u root otrs***
*scripts/DBUpdate-to-2.4.pl
**#if you get only errors you need to repeat from **mysql otrs <
/backup/otrs/2009-09-03_04-30/DatabaseBackup.sql*
*cat scripts/DBUpdate-to-2.4-post.mysql.sql | mysql -f -u root otrs
bin/SetPermissions.pl --otrs-user=otrs --web-user=wwwrun /opt/otrs
chown -R otrs:www /opt/otrs/
#I do not know why this is needed.
/etc/init.d/apache2 restart
#the rest is only needed if you use ITSM packages
set konfguration repository for itsm
ftp://ftp.otrs.org/pub/otrs/itsm/packages13/
reinstal packeges tarting from
GeneralCatalog
ITSMCore
ITSMConfigurationManagement*
good luck
Adam
Grzegorz Dajuk pisze:
Lars Monsees pisze:
I think that the best is to install new otrs and then sync the files.
I've made many changes in configuration of otrs. For example create
clients,groups,roles, queues, autoresponds. and the Sysconfig options.
I
clients, etc. is stored in the DB, so syncing the files would have no
effect.
don't remember all of them, and I don;t wont to configure it from the
beginnig.
The config is stored in:
/opt/otrs/Kernel/Config.pm
/opt/otrs/Kernel/Config/Files/ZZZAuto.pm
My version of otrs is: otrs-2.3.4. I saw that the newest
version is: otrs-2.4.4. Could I safely install the new version and
sync
only my files - templates/remaked configs, and insert old database?
no, you have to update your database structure and the old templates are
not compatible with the new OTRS version.
Mh... I think that I'm too new to otrs, to make upgrade without any
system crashes :))
It;s a production envirement so I can't make any mistake.
I suppose, that it's better to me, to make a fresh install of otrs and
copy only tickets.
Don;t you think so?
How can I copy only the tickets?
__________ Informacja programu ESET NOD32 Antivirus, wersja bazy sygnatur
wirusow 4392 (20090903) __________
Wiadomosc zostala sprawdzona przez program ESET NOD32 Antivirus.
http://www.eset.pl lub http://www.eset.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
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/