Update auf 2.4.7 -> HTTP 500

Hilfe zu Znuny Problemen aller Art
Locked
wisno
Znuny newbie
Posts: 9
Joined: 21 Jul 2010, 15:37
Znuny Version: 2.3.4

Update auf 2.4.7 -> HTTP 500

Post by wisno »

Hi zusammen,
ich habe vor kurzem von einem Kollegen das OTRS übernommen, nachdem er das Unternehmen verlassen hat.
Da einige Funktionen der neuen OTRS Version (2.4.7) für uns interessant sein könnten, habe ich auf unserem Testserver (SLES 10) das Update eingespielt. Auch die Updates für das ITSM 2.0.3 habe ich eingebaut.
Nun zu meinem Problem:
Ich möchte gerne ein Ticket erstellen (Telefon oder E-Mail). Hier definiere ich den Typ (Trouble) und wähle einen Kunden aus. Als nächstes hinterlege ich die Queue und wähle einen Besitzer und einen Verantwortlichen aus. Nun noch der Titel und der Text. Bis dahin - alles kein Problem.
Nun klicke ich auf "Erstellen" und bekomme folgende Fehlermeldung:
"HTTP 500 Interner Serverfehler Die Website kann nicht angezeigt werden.
Wahrscheinlichste Ursachen:
- Die Website wird gewartet
- Die Website enthält einen Programmierfehler [...]"
Aktualisiere ich nun die Website (F5) dann komm ich zum Dashboard und sehe dort unter "New Tickets" mein eben angelegtes Ticket. Allerdings ist root Besitzer und Verantwortlicher und nicht die zuvor definierten.
Also klicken ich in das Ticket herein und versuche nun hier den Besitzer zu ändern und bekomme erneut den HTTP 500 Fehler. Nach erneuten aktualisieren komm ich wieder zum Dashboard, die Änderungen hat er aber nicht übernommen.
Wisst ihr woran sowas liegen kann? Hat das was mit Berechtigungen im Dateisystem zu tun?

Vielen Dank für eure Hilfe.
Produktiv: OTRS 2.3.4 ITSM 1.2.3 auf SLES 10
Test: OTRS 2.4.8 ITSM 2.1.1 auf SLES 10
VMware auf Windows Server 2003 R2 x64
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Update auf 2.4.7 -> HTTP 500

Post by jojo »

was steht denn im Apache Error Log?
"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
wisno
Znuny newbie
Posts: 9
Joined: 21 Jul 2010, 15:37
Znuny Version: 2.3.4

Re: Update auf 2.4.7 -> HTTP 500

Post by wisno »

Hi,
danke für die schnelle Antwort.
Also im Log steht folgendes:

Code: Select all

[Wed Aug 11 14:56:39 2010] [error] [client x.x.x.x] ERROR: OTRS-CGI-28 Perl: 5.8.8 OS: linux Time: Wed Aug 11 14:56:39 2010, referer: http://otrs-test/otrs/index.pl?Action=AgentTicketOwner&TicketID=2438
[Wed Aug 11 14:56:39 2010] [error] [client x.x.x.x] , referer: http://otrs-test/otrs/index.pl?Action=AgentTicketOwner&TicketID=2438
[Wed Aug 11 14:56:39 2010] [error] [client x.x.x.x]  Message: Module Kernel/System/Email/DoNoSendEmail.pm not found!, referer: http://otrs-test/otrs/index.pl?Action=AgentTicketOwner&TicketID=2438
[Wed Aug 11 14:56:39 2010] [error] [client x.x.x.x] , referer: http://otrs-test/otrs/index.pl?Action=AgentTicketOwner&TicketID=2438
[Wed Aug 11 14:56:39 2010] [error] [client x.x.x.x]  Traceback (21612): , referer: http://otrs-test/otrs/index.pl?Action=AgentTicketOwner&TicketID=2438
[Wed Aug 11 14:56:39 2010] [error] [client x.x.x.x]    Module: Kernel::System::Email::new (v1.64.2.1) Line: 105, referer: http://otrs-test/otrs/index.pl?Action=AgentTicketOwner&TicketID=2438
[Wed Aug 11 14:56:39 2010] [error] [client x.x.x.x]    Module: Kernel::System::Ticket::new (v1.416.2.10) Line: 151, referer: http://otrs-test/otrs/index.pl?Action=AgentTicketOwner&TicketID=2438
[Wed Aug 11 14:56:39 2010] [error] [client x.x.x.x]    Module: Kernel::System::Web::InterfaceAgent::Run (v1.43.2.1) Line: 162, referer: http://otrs-test/otrs/index.pl?Action=AgentTicketOwner&TicketID=2438
[Wed Aug 11 14:56:39 2010] [error] [client x.x.x.x]    Module: /opt/otrs/bin/cgi-bin/index.pl (v1.88) Line: 48, referer: http://otrs-test/otrs/index.pl?Action=AgentTicketOwner&TicketID=2438
[Wed Aug 11 14:56:39 2010] [error] [client x.x.x.x] , referer: http://otrs-test/otrs/index.pl?Action=AgentTicketOwner&TicketID=2438
[Wed Aug 11 14:56:39 2010] [error] [client x.x.x.x] [Wed Aug 11 14:56:39 2010] index.pl: Got no SendmailObject! at ../..//Kernel/System/Ticket/Event/ResponsibleAutoSet.pm line 28., referer: http://otrs-test/otrs/index.pl?Action=AgentTicketOwner&TicketID=2438
[Wed Aug 11 14:56:39 2010] [error] [client x.x.x.x] [Wed Aug 11 14:56:39 2010] index.pl: \t(in cleanup) Got no SendmailObject! at ../..//Kernel/System/Ticket/Event/NotificationEvent.pm line 33., referer: http://otrs-test/otrs/index.pl?Action=AgentTicketOwner&TicketID=2438
Ich vermute, ich weiß schon warum der rum meckert. Ich wollte nicht, dass der E-Mails raussendet und hab im Sysconfig (core::sendmail) von "SMTP" auf "DoNotSendEmail" geändert. Könnte das damit zusammenhängen?

Zusätzlich schmeißt apache noch die Medlung das für die Module im Dashboard keine Übesetzungen verfügbar sind:

Code: Select all

[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x] 
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x]  Traceback (21610): 
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x]    Module: Kernel::System::Email::new (v1.64.2.1) Line: 105
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x]    Module: Kernel::System::Ticket::new (v1.416.2.10) Line: 151
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x]    Module: Kernel::System::Web::InterfaceAgent::Run (v1.43.2.1) Line: 162
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x]    Module: /opt/otrs/bin/cgi-bin/index.pl (v1.88) Line: 48
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x] 
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x] No translation available for 'Arabic (Saudi Arabia)'
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x] No translation available for 'Bulgarian (Български)'
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x] No translation available for 'Català'
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x] No translation available for 'Chinese (Sim.) (简体中文)'
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x] No translation available for 'Chinese (Tradi.) (正體中文)'
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x] No translation available for 'Czech (Česky)'
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x] No translation available for 'Dansk'
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x] No translation available for 'Deutsch'
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x] No translation available for 'Eesti'
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x] No translation available for 'English (Canada)'
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x] No translation available for 'English (United Kingdom)'
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x] No translation available for 'English (United States)'
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x] No translation available for 'Español'
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x] No translation available for 'Français'
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x] No translation available for 'Greek (Ελληνικά)'
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x] No translation available for 'Italiano'
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x] No translation available for 'Latvijas'
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x] No translation available for 'Magyar'
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x] No translation available for 'Nederlands'
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x] No translation available for 'Norsk bokmål'
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x] No translation available for 'Persian (فارسى)'
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x] No translation available for 'Polski'
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x] No translation available for 'Português'
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x] No translation available for 'Português Brasileiro'
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x] No translation available for 'Russian (Русский)'
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x] No translation available for 'Slovak (Slovenčina)'
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x] No translation available for 'Suomi'
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x] No translation available for 'Svenska'
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x] No translation available for 'Türkçe'
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x] No translation available for 'Ukrainian (Українська)'
[Wed Aug 11 14:56:37 2010] [error] [client x.x.x.x] No translation available for 'Vietnam (ViɆt Nam)'
Hat das mit dem SendMail etwas mit dieser Fehlermeldung zu tun?

thx & greetz
wisno
Produktiv: OTRS 2.3.4 ITSM 1.2.3 auf SLES 10
Test: OTRS 2.4.8 ITSM 2.1.1 auf SLES 10
VMware auf Windows Server 2003 R2 x64
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Update auf 2.4.7 -> HTTP 500

Post by jojo »

es sieht so aus, als wäre Dein Update schief gegangen. Bitte für mal die bin/RebuildConfig.pl aus
"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
wisno
Znuny newbie
Posts: 9
Joined: 21 Jul 2010, 15:37
Znuny Version: 2.3.4

Re: Update auf 2.4.7 -> HTTP 500

Post by wisno »

Hi jojo,
woran erkennt man denn so etwas noch? eigentlich sah alles gut aus.
ich habe das script otrs.RebuildConfig.pl ausgeführt (als root).
hier das Ergebnis:

Code: Select all

otrs-test:/opt/otrs/bin # ./otrs.RebuildConfig.pl
otrs.RebuildConfig.pl <Revision 1.12> - OTRS rebuild default conifg
Copyright (C) 2001-2009 xxx, http://otrs.org/
otrs-test:/opt/otrs/bin #
muss ich das als otrs-user ausführen?
nach dem rebuild habe ich die Dienste (otrs, apache2 und mysql) neugestartet und mich neu am OTRS angemeldet. Immer noch die gleiche Meldung.

nun habe ich den rebuild noch mal mit "sudo -u otrs" ausgeführt.
auch nach dem restart der dienste geht es nicht besser.

Haste noch ne idee?
Produktiv: OTRS 2.3.4 ITSM 1.2.3 auf SLES 10
Test: OTRS 2.4.8 ITSM 2.1.1 auf SLES 10
VMware auf Windows Server 2003 R2 x64
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Update auf 2.4.7 -> HTTP 500

Post by jojo »

dann ist wohl das Update fehlgeschlagen..
"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
wisno
Znuny newbie
Posts: 9
Joined: 21 Jul 2010, 15:37
Znuny Version: 2.3.4

Re: Update auf 2.4.7 -> HTTP 500

Post by wisno »

kann ich dann das update noch einmal ausführen oder muss ich mir den testserver neubauen?
ich habe das update gemäß der bei dem installationspaket beiliegenden "UPDATING"-Datei durchgeführt.
scheinbar habe ich da etwas falsch gemacht.
kannst du anhand der vorliegenden daten feststellen woran das update gescheitert ist?
thx
Produktiv: OTRS 2.3.4 ITSM 1.2.3 auf SLES 10
Test: OTRS 2.4.8 ITSM 2.1.1 auf SLES 10
VMware auf Windows Server 2003 R2 x64
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Update auf 2.4.7 -> HTTP 500

Post by jojo »

ich würde frisch anfangen, es sieht so aus als wäre das rpm Update (rpm -uvh ?) fehlgeschlagen da Dateien fehlen
"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
wisno
Znuny newbie
Posts: 9
Joined: 21 Jul 2010, 15:37
Znuny Version: 2.3.4

Re: Update auf 2.4.7 -> HTTP 500

Post by wisno »

So... jetzt habe ich das Produktivsystem nochmal in ne andere VM kopiert und versuche nun nochmal das update auf dem neuen Testsystem.
Danke für deine Hilfe.
Produktiv: OTRS 2.3.4 ITSM 1.2.3 auf SLES 10
Test: OTRS 2.4.8 ITSM 2.1.1 auf SLES 10
VMware auf Windows Server 2003 R2 x64
wisno
Znuny newbie
Posts: 9
Joined: 21 Jul 2010, 15:37
Znuny Version: 2.3.4

Re: Update auf 2.4.7 -> HTTP 500

Post by wisno »

Boah... hat das lang gedauert ;-)
Endlich habe ich es geschafft das Update erneut durch zu führen (auf nem Testsystem) und siehe da -> es läuft alles super!

Da hab ich scheinbar beim Update-Vorgang etwas vergessen oder nicht beachtet.
Danke nochmals für eure Hilfe.
Grüße
Wis
Produktiv: OTRS 2.3.4 ITSM 1.2.3 auf SLES 10
Test: OTRS 2.4.8 ITSM 2.1.1 auf SLES 10
VMware auf Windows Server 2003 R2 x64
Locked