Question about the upgrade process: overwrite previous version files or create a new tree?

Hi all, I'm managing an Otrs 2.3.4 instance running flawlessly for almost 2 years on Ubuntu 8.04 LTS, and now I'm planning the upgrade to 3.0.4, with an intermediate upgrade to 2.4.9. We have some OPM package installed: Calendar version 1.8.3, FAQ version 1.5.4 and Support version 1.0.13. The upgrade will be done through the tar.gz source package. My doubt about the upgrade process is the following: do we have to * overwrite* the files in the /opt/otrs directory of the current 2.3.4 with the files from the 2.4.9 tarball *or* it is better something like this: - unpack the .tar.gz of 2.4.9 in /opt/src - mv /opt/otrs /opt/old-otrs-2.3.4 # rename the current production instance - cp -a /opt/src/otrs-2.4.9 /opt/otrs-2.4.9 # clone the source in its own tree - ln -s /opt/otrs-2.4.9 /opt/otrs # sym link to the current version - copy Kernel/Config.pm Kernel/Config/GenericAgent.pm Kernel/Config/Files/ZZZAuto.pm from the 2.3.4 old version to the new version 2.4.9 tree in /opt/otrs - set file permissions - run the database upgrade scripts In this case the problem I see is that the extra installed packages will be missing, so the question is: is it sufficient to reinstall them? even if the database has been already modified? Are there any other files beside Kernel/Config.pm Kernel/Config/GenericAgent.pm Kernel/Config/Files/ZZZAuto.pm that need to be ported from previous version? something in /opt/otrs/var ? The same process will be repeated from 2.4.9 to 3.0.4, obviously. Thanks in advance for any help. Cheers, Luca

Hi Luca, Can't help with your general question, but, f.y.i., the Calendar module is not available for 3.x, as far as I am aware. Regards Rudolf Von: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] Im Auftrag von Luca Maranzano Gesendet: Dienstag, 11. Januar 2011 15:33 An: User questions and discussions about OTRS.org Betreff: [otrs] Question about the upgrade process: overwrite previous version files or create a new tree? Hi all, I'm managing an Otrs 2.3.4 instance running flawlessly for almost 2 years on Ubuntu 8.04 LTS, and now I'm planning the upgrade to 3.0.4, with an intermediate upgrade to 2.4.9. We have some OPM package installed: Calendar version 1.8.3, FAQ version 1.5.4 and Support version 1.0.13. The upgrade will be done through the tar.gz source package. My doubt about the upgrade process is the following: do we have to overwrite the files in the /opt/otrs directory of the current 2.3.4 with the files from the 2.4.9 tarball or it is better something like this: * unpack the .tar.gz of 2.4.9 in /opt/src * mv /opt/otrs /opt/old-otrs-2.3.4 # rename the current production instance * cp -a /opt/src/otrs-2.4.9 /opt/otrs-2.4.9 # clone the source in its own tree * ln -s /opt/otrs-2.4.9 /opt/otrs # sym link to the current version * copy Kernel/Config.pm Kernel/Config/GenericAgent.pm Kernel/Config/Files/ZZZAuto.pm from the 2.3.4 old version to the new version 2.4.9 tree in /opt/otrs * set file permissions * run the database upgrade scripts In this case the problem I see is that the extra installed packages will be missing, so the question is: is it sufficient to reinstall them? even if the database has been already modified? Are there any other files beside Kernel/Config.pm Kernel/Config/GenericAgent.pm Kernel/Config/Files/ZZZAuto.pm that need to be ported from previous version? something in /opt/otrs/var ? The same process will be repeated from 2.4.9 to 3.0.4, obviously. Thanks in advance for any help. Cheers, Luca
participants (2)
-
Luca Maranzano
-
Rudolf Bargholz