Actualizar OTRS 2.4.5 a 3.0.2 Linux suse 10

Locked
carlos3007
Znuny newbie
Posts: 2
Joined: 19 Nov 2010, 22:44
Znuny Version: 2.4.5

Actualizar OTRS 2.4.5 a 3.0.2 Linux suse 10

Post by carlos3007 »

buenos dias alguein me puede indicar algun manual o pasos a seguir para actualizar mi otrs version 2.4.5 a la version 3.0.2, mi sistema lo tengo en la version 10 de suse enterprise.. agradeceria mucho la ayuda brindada.
yulena
Znuny newbie
Posts: 9
Joined: 23 Apr 2010, 22:28
Znuny Version: 2.4.7

Re: Actualizar OTRS 2.4.5 a 3.0.2 Linux suse 10

Post by yulena »

Hola que tal!!
No se si le hallas hechado un ojo al manual de administración de OTRS 3 (http://doc.otrs.org/3.0/en/html/), dentro del documento de la administracion de otrs ,en la sección de instalación y actualización te dice que es lo que se necesita hacer.

En mi caso tengo instalados modulos ITSM y Survey, despues de hacer la transicion de una version 2.4 a la 3.02 estos
modulos ya no son compatibles, y presisamente por eso entre a este foro a buscar algo al respecto jeje, lo bueno de todo es que lo tengo en una maquina virtual para hacer la prueba.

Siguiendo con los paso para actualizar de versión.

Primer paso detienener los servicios, cron, mysql, apache y si ocupas el postfix ps tambien

shell> /etc/init.d/cron stop
shell> /etc/init.d/postfix stop
shell> /etc/init.d/apache stop
shell> /etc/init.d/mysql stop

se hace respaldo de
Kernel/Config.pm,Kernel/Config/GenericAgent.pm, Kernel/Config/Files/ZZZAuto.pm, var/*, y de la base de datos.

Nota: Hace recomendación de que primero se haga una prueba.

Si se hace la instalacion desde una archivo tar.gz entonces ..
-With the tarball:
shell> cd /opt
shell> tar -xzf otrs-x.x.x.tar.gz
shell> ln -s otrs-x.x.x otrs

Se restauran los archivos de configuración de la versión anterior.
Restore old config files.
o Kernel/Config.pm
o Kernel/Config/GenericAgent.pm
o Kernel/Config/Files/ZZZAuto.pm

Si se hace la instalación con un RPM
-With the RPM:
shell> rpm -Uvh otrs-x.x.x.-01.rpm
Restore old config files not needed, done by RPM.


• Own themes
Note: The OTRS themes between 2.4 and 3.0 are _not_ compatible (don’t use the old themes)!
Themes are located under $OTRS_HOME/Kernel/Output/HTML/*/*.dtl (default:
OTRS_HOME=/opt/otrs)

Se ejecuta este comando para establecer permisos a los archivos del nuevo OTRS.
• Set file permissions
If tarball is used, execute $OTRS_HOME/bin/otrs.SetPermissions.pl!

Se aplican cambios a la base de datos
• Apply the database changes (part 1/2)
shell> cd /opt/otrs/
MySQL:
shell> cat scripts/DBUpdate-to-3.0.mysql.sql | mysql -p -f -u root otrs
PostgreSQL:
shell> cat scripts/DBUpdate-to-3.0.postgresql.sql | psql otrs

Se corre el script de migración
• Run the migration script (as OTRS user, _not_ as root): You must execute the migration script to
migrate some data from the old database structure to the new one. Please run
shell> scripts/DBUpdate-to-3.0.pl

• Apply the database changes (part 2/2):
MySQL:
shell> cat scripts/DBUpdate-to-3.0-post.mysql.sql | mysql -p -f -u root otrs
PostgreSQL:
shell> cat scripts/DBUpdate-to-3.0-post.postgresql.sql | psql otrs

Se refresca la configuración y se borran caches.
• Refresh the configuration and delete caches. Please run:
shell> bin/otrs.RebuildConfig.pl
shell> bin/otrs.DeleteCache.pl

Reiniciando servicios
• Restart your services
shell> /etc/init.d/cron start
shell> /etc/init.d/postfix start
shell> /etc/init.d/apache start
shell> /etc/init.d/mysql start


• Check for encoding issues
With OTRS 3.0, the default charset of OTRS was changed from "iso-8859-1" to "utf-8".
This will only affect you if you didn’t specify a charset in Kernel/Config.pm (all installations that were
made with the web installer have a custom setting there) or if you didn’t change the default charset in
the AdminSysConfig.
If you experience problems with the new charset, add this line to Kernel/Config.pm:
$Self->{’DefaultCharset’} = ’iso-8859-1’;
In general, using "utf-8" is the recommended mode of running OTRS, and switching from
"iso-8859-1" should work well.


De todas maneras no estaria mal que revisaras la doc, espero que este comentario te halla servido y espero no haberte confundido.

SAludos!!
carlos3007
Znuny newbie
Posts: 2
Joined: 19 Nov 2010, 22:44
Znuny Version: 2.4.5

Re: Actualizar OTRS 2.4.5 a 3.0.2 Linux suse 10

Post by carlos3007 »

Gracias por la ayuda, todo salio muy bien. de nueva cuenta gracias..
Locked