Hallo,
ich kämpfe seit einiger Zeit mit diesem Fehler in meinen Systemen (6.06 und 6.10):
[Error][Kernel::System::Ticket::Article::Backend::MIMEBase::ArticleUpdate][Line:960]: Cannot add or update a child row: a foreign key constraint fails (`otrs`.`article_data_mime`, CONSTRAINT `FK_article_data_mime_change_by_id` FOREIGN KEY (`change_by`) REFERENCES `users` (`id`)), SQL: '#012 UPDATE article_data_mime#012 SET a_body = ?, change_time = '2018-06-07 15:35:44', change_by = ?#012 WHERE article_id = ?#012
Bevor der Fehler auftrat, hatte ich diesen Fehler:
[Error][Kernel::System::Crypt::SMIME::Sign][Line:457]: Can't sign: unable to write 'random state'#012! (Command: smime -sign -in /opt/otrs/var/tmp/Gsd96Y38Mb.tmp -out /opt/otrs/var/tmp/WVaeBCKffY.tmp -signer /opt/otrs/var/tmp/yB5wll6D_t.tmp -inkey /opt/otrs/var/tmp/ELKpSWjXuM.tmp -text -binary -passin file:/opt/otrs/var/tmp/jxGJWsCTmn.tmp)
Auch hier taucht dieser ominöse Wert #012 auf.
Der Fehler kommt nur beim Aufruf von CustomerTicketZoom.
Weiß jemand die Ursache dafür? Was verbirgt sich hinter #012?
Kann es daran liegen, dass nicht alle Nutzer ein Zertifikat im System hinterlegt haben und nicht vorhandene Zertifikate zu dem Fehler führen?
Danke.
SMIME und "Foreign key constraint fails"
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: SMIME und "Foreign key constraint fails"
Das #012 ist nur im Syslog nur die Maskierung für "Newline", also den Zeilenumbruch, weil hier alles als eine Zeile dargestellt wird (im Gegensatz zum Apache error.log).
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny newbie
- Posts: 17
- Joined: 24 Nov 2017, 14:45
- Znuny Version: 5.0.20
Re: SMIME und "Foreign key constraint fails"
Danke für den Bugfix, der hat einen Live-Gang mit OTRS 6 ermöglicht, uff.
Leider ist er weder in 6.0.14 noch in 6.0.15 enthalten, so dass wir manuell gepatched haben.
Gibt es einen Zeithorizont, wann der Patch es in einen offiziellen Release schafft?
Leider ist er weder in 6.0.14 noch in 6.0.15 enthalten, so dass wir manuell gepatched haben.
Gibt es einen Zeithorizont, wann der Patch es in einen offiziellen Release schafft?
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: SMIME und "Foreign key constraint fails"
Das ist wohl in 6.0.16 drin: https://github.com/OTRS/otrs/blob/rel-6_0/CHANGES.md
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de