Upgrade 2.4.5 - 2.4.6

Hilfe zu OTRS Problemen aller Art
Post Reply
skyman2000
Znuny newbie
Posts: 13
Joined: 19 Jan 2010, 10:16
Znuny Version: 2.4.5

Upgrade 2.4.5 - 2.4.6

Post by skyman2000 »

Hallo kann jemand mal schreiben wie man am besten ein kleines Update von 2.4.5 auf 2.4.6 macht. Wenn man nach der Anleitung vorgeht kommen etliche Fehler.

Wäre super danke
:o
Gruß
Holger
Holger


Produktiv": OTRS: 2.4.6,
OS: OpenSuse 11.2 auf Vmware Vsphere 4.0
Apache2/MySQL 5
baron
Znuny newbie
Posts: 4
Joined: 06 Sep 2008, 21:27
Znuny Version: CVS

Upgrade 2.4.5 - 2.4.6

Post by baron »

welche Anleitung hast Du denn genommen ?
skyman2000
Znuny newbie
Posts: 13
Joined: 19 Jan 2010, 10:16
Znuny Version: 2.4.5

Upgrade 2.4.5 - 2.4.6

Post by skyman2000 »

Die aus der Dokumentation von der Webseite....

3.3.2. Upgrading RPM

This section shows you how to upgrade OTRS from "2.3" to "2.4" with .rpm.

Stop all your services

e. g. (depends on used services):

shell> /etc/init.d/cron stop
shell> /etc/init.d/postfix stop
shell> /etc/init.d/apache stop
shell> /etc/init.d/mysql stop
Backup everything below $OTRS_HOME (default: OTRS_HOME=/opt/otrs). Kernel/Config.pm, Kernel/Config/GenericAgent.pm, Kernel/Config/Files/ZZZAuto.pm, var/*, as well as the database.

Make sure that you have backed up everything.

Try this install on a separate machine, on a test machine first.

Install the new release RPM

shell> rpm -Uvh otrs-2.4.x-noarch.rpm
Note: The OTRS themes between 2.3 and 2.4 are _not_ compatible (don't use the old themes)!

Update the database changes with (part 1)

MySQL: cat $OTRS_HOME/scripts/DBUpdate-to-2.4.mysql.sql | mysql -p -f -u root otrs

PostgreSQL: cat $OTRS_HOME/scripts/DBUpdate-to-2.4.postgresql.sql | psql otrs

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. Run $OTRS_HOME/scripts/DBUpdate-to-2.4.pl!

Update the database changes with (part 2):

MySQL: cat $OTRS_HOME/scripts/DBUpdate-to-2.4-post.mysql.sql | mysql -p -f -u root otrs

PostgreSQL: cat $OTRS_HOME/scripts/DBUpdate-to-2.4-post.postgresql.sql | psql otrs

Restart your services

e. g. (depends on used services):

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

gabs noch eine andere? :(
Holger


Produktiv": OTRS: 2.4.6,
OS: OpenSuse 11.2 auf Vmware Vsphere 4.0
Apache2/MySQL 5
maxbacks
Znuny wizard
Posts: 326
Joined: 30 Jan 2008, 14:59
Znuny Version: 6.0.19
Real Name: Max Hendrik Backs

Upgrade 2.4.5 - 2.4.6

Post by maxbacks »

welche fehler bekommst du den angezeigt?
Ticket-System
Ubuntu 18.04
OTRS 6.0.19
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Upgrade 2.4.5 - 2.4.6

Post by jojo »

Der Satz "This section shows you how to upgrade OTRS from "2.3" to "2.4" with .rpm." sagt doch das diese Anleitung nur für den Spruch von 2.3 auf 2.4. ist!

Beim Updaten innerhalb eines Minorreleases muss nur das rpm erneuert werden (rpm -Uvh otrs-xyz.rpm)

Und bitte noch Deine Signatur ausfüllen
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
skyman2000
Znuny newbie
Posts: 13
Joined: 19 Jan 2010, 10:16
Znuny Version: 2.4.5

Upgrade 2.4.5 - 2.4.6

Post by skyman2000 »

Bedeutet:
keine Datenbansicherung notwendig (eigentlich - zur Sicherheit ist klar!!) und auch sonst müssen keine Daten rückkopiert etc. werden?

einfach den Befehl ausführen und dann eventuell den Patch wegen dem Versand der Anhänge noch ändern?

Problem:
(Öffentlich) This is caused by a change in the upload web cache in OTRS 2.4.6.
Lösung:
(Öffentlich) Excitingly OTRS 2.4.6 systems can be patched by replacing the file
Kernel/System/Web/UploadCache/DB.pm

with the file attached to this FAQ article. If you run OTRS with
mod_perl but without Apache::Reload you would need to restart the
server before the changes take effect.

Danke für die Info

Gruß
Holger
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Upgrade 2.4.5 - 2.4.6

Post by jojo »

genau, Backup als Versicherung
RPM Upgrade
Danach den Patch einspielen
Sicherheitshalber Apache neustarten
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
baron
Znuny newbie
Posts: 4
Joined: 06 Sep 2008, 21:27
Znuny Version: CVS

Upgrade 2.4.5 - 2.4.6

Post by baron »

Produktiv: OTRS 2.4.x, OTRS::ITSM 1.3.x
Testing: OTRS CVS
System: Debian 5.0, Mac OS X 10.6
Webserver: Apache2
Database: MySQL 5

Niemals die Defaults.pm ändern! :: as JoJo said :-)
Professioneller Support, Consulting und Entwicklung: http://www.otrs.com/de :: Bei weiteren Fragen: enjoy@otrs.com hilft gerne
skyman2000
Znuny newbie
Posts: 13
Joined: 19 Jan 2010, 10:16
Znuny Version: 2.4.5

Upgrade 2.4.5 - 2.4.6

Post by skyman2000 »

eine letzte Frage!!
Bei der Installation meldet er immer mysql-shared würde fehlen. Leider habe ich bis heute dafür keine Lösung gefunden.

Deswegen stand in einem anderen Artikel man soll mit --nodeps installieren. Würde diese Erweiterung bei dem Befehl rpm -Uvh otrs-xyz.rpm
zu einem Konflikt führen oder kann man diesen ohne Bedenken verwenden?

rpm -Uvh --nodeps otrs-xyz.rpm

Danke für die schnelle und tolle Hilfe bislang!

Gruß
Holger
Holger


Produktiv": OTRS: 2.4.6,
OS: OpenSuse 11.2 auf Vmware Vsphere 4.0
Apache2/MySQL 5
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Upgrade 2.4.5 - 2.4.6

Post by jojo »

Du solltest das Paket für OpenSuse 11 nehmen, dann gehts auch ohne nodeps: http://ftp.otrs.org/pub/otrs/RPMS/suse/11.0/
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
chappy
Znuny newbie
Posts: 11
Joined: 10 Mar 2010, 12:06
Znuny Version: 2.4.7

Re: Upgrade 2.4.5 - 2.4.6

Post by chappy »

Hi,

kann mir eventuell einer erklären wie solch ein "kleines Update" durchgeführt werden müsste, wenn man keine .rpm Packages verwendet, sondern mit dem tar.gz Archiv arbeitet?

Vielen, lieben Dank.
OTRS 2.4.7 unter Debian
Post Reply