Hallo,
seit dem Update von 2.0.4 auf 2.2.2 bekomme ich bei den Eskalationsmails folgenden Fehler im System log.
Tue Sep 11 16:45:03 2007 notice OTRS-PendingJobs-0 Sent agent 'PendingReminder' notification to 'abc@domäne.de'.
Tue Sep 11 16:45:03 2007 error OTRS-PendingJobs-0 Need User or UserID!
Beispiel für UnlockTickets.pl
UnlockTickets.pl <Revision 1.24> - unlock tickets
Copyright (c) 2001-2006 OTRS GmbH, http//otrs.org/
Unlock old tickets:
ERROR: OTRS-UnlockTickets-0 Perl: 5.8.8 OS: linux Time: Tue Sep 11 18:06:37 2007
Message: Need User or UserID!
Traceback (7226):
Module: Kernel::System::User::GetUserData (v1.64) Line: 126
Module: Kernel::System::Ticket::Article::SendAgentNotification (v1.144) Line: 1785
Module: Kernel::System::Ticket::LockSet (v1.269) Line: 4041
Module: ./UnlockTickets.pl (v1.24) Line: 136
Unlocking ticket id 015682 ... done.
Wo könnte hier die Ursache liegen?
Gelöst: Need User or UserID! bei PendingJobs.pl, UnlockTicke
Gelöst: Need User or UserID! bei PendingJobs.pl, UnlockTicke
Last edited by Benjamin on 16 Oct 2007, 16:03, edited 2 times in total.
Error Need User or UserID! bei PendingJobs.pl, UnlockTickets
GELÖST:
Hi nach ein bisschen Unterstützung von otrs habe ich es herausgefunden.
Das Problem liegt in der Ticket Tabelle. Dort gibt es eine Spalte/Feld namens responsible_user_id.
Alle neuen Tickets haben einen korrekten Wert >= 1
Alle alten Tickets haben den Wert 0, aber 0 ist nicht definiert in der system_user tabelle.
Ein Update Statement auf responsible_user_id bringt die Lösung!
Alle Einträge die als Wert 0 haben auf 1 ändern.
SQL-Befehl auf der OTRS Datenbank:
UPDATE ticket SET responsible_user_id = replace( responsible_user_id, 0, 1 )
Hi nach ein bisschen Unterstützung von otrs habe ich es herausgefunden.
Das Problem liegt in der Ticket Tabelle. Dort gibt es eine Spalte/Feld namens responsible_user_id.
Alle neuen Tickets haben einen korrekten Wert >= 1
Alle alten Tickets haben den Wert 0, aber 0 ist nicht definiert in der system_user tabelle.
Ein Update Statement auf responsible_user_id bringt die Lösung!
Alle Einträge die als Wert 0 haben auf 1 ändern.
SQL-Befehl auf der OTRS Datenbank:
UPDATE ticket SET responsible_user_id = replace( responsible_user_id, 0, 1 )
-
- Znuny guru
- Posts: 2189
- Joined: 08 Dec 2005, 17:01
- Znuny Version: 5.0.x
- Real Name: André Bauer
- Company: Magix Software GmbH
- Location: Dresden
- Contact:
Gelöst: Need User or UserID! bei PendingJobs.pl, UnlockTicke
Eventuell wäre das dann ja einen Bugreport wert, wenn es in 2.2.3 auch so ist...
Prod: Ubuntu Server 16.04 / Zammad 1.2
DO NOT PM ME WITH OTRS RELATED QUESTIONS! ASK IN THE FORUMS!
OtterHub.org
DO NOT PM ME WITH OTRS RELATED QUESTIONS! ASK IN THE FORUMS!
OtterHub.org
Gelöst: Need User or UserID! bei PendingJobs.pl, UnlockTicke
Hi monotek,
jo hab ich auch schon lange laufen.
http://bugs.otrs.org/show_bug.cgi?id=2275
Grüße
Benjamin
jo hab ich auch schon lange laufen.
http://bugs.otrs.org/show_bug.cgi?id=2275
Grüße
Benjamin
-
- Znuny guru
- Posts: 2189
- Joined: 08 Dec 2005, 17:01
- Znuny Version: 5.0.x
- Real Name: André Bauer
- Company: Magix Software GmbH
- Location: Dresden
- Contact:
Gelöst: Need User or UserID! bei PendingJobs.pl, UnlockTicke
Hast Du es schon in OTRS 2.2.4 probiert?
Prod: Ubuntu Server 16.04 / Zammad 1.2
DO NOT PM ME WITH OTRS RELATED QUESTIONS! ASK IN THE FORUMS!
OtterHub.org
DO NOT PM ME WITH OTRS RELATED QUESTIONS! ASK IN THE FORUMS!
OtterHub.org
Gelöst: Need User or UserID! bei PendingJobs.pl, UnlockTicke
Nein noch nicht. Ich vermute aber das hier noch keine Änderung erfolgt ist.
Der Bugreport ist noch nicht als Fixed markiert.
Der Bugreport ist noch nicht als Fixed markiert.