
On 2011-12-06 06:41, Luca Domenella wrote:
Hi, i installed from source OTRS, the other stuff from rpm
Ok, I installed via RPM (RHEL5), so YMMV, but here is what I did: On the old server: - Create a backup using /opt/otrs/scripts/backup.pl On the new server: - install perl-LDAP, mysql-server, httpd - copy the 2.3 rpm from old server - install the 2.3 rpm - edit my.cnf to set max_allowed_packet=512M and query_cache_size=48M (this is a server dedicated to otrs) - start mysql - create the mysql user - enable port 80, 443, 3306 in iptables - run the restore script (/opt/otrs/scripts/restore.pl -b /root/2011-07-04_05-11/ -d /opt/otrs/) - /opt/otrs/bin/otrs.RebuildConfig.pl - start httpd - est if index.pl is working - make sure all services come up at boot Then, cycle through the upgrade operations - install new dependencies perl-Net-DNS perl-XML-Parser - upgrade the rpm to 2.4 (rpm -Uvhf) - run the DBUpdate-to-2.4.mysql.sql script - get back to root and run /opt/otrs/bin/SetPermissions.sh /opt/otrs/ otrs apache apache apache - su - otrs - run the DBUpdate-do-2.4.pl script - test done for 2.4, repeat for 3.0 (dependency: perl-TimeDate) Other stuff for 3.0 - Change the otrs DB and tables to UTF-8 charset - test - Go to the admin interface, support assessment and fix things there Optional: - Go to the - install perl-GD perl-GDGraph perl-GDTextUtil perl-JSON-XS perl-Apache-DBI If something looks broken, try: /opt/otrs/bin/otrs.RebuildConfig.pl restart apache Of course, you may have to adapt this procedure to your environment, but it should help.