Fehler beim Erstellen von neuen E-Mail-Tickets ***SOLVED***

Hilfe zu Znuny Problemen aller Art
Locked
HubertKah
Znuny newbie
Posts: 49
Joined: 04 Nov 2014, 09:57
Znuny Version: 3.3.10

Fehler beim Erstellen von neuen E-Mail-Tickets ***SOLVED***

Post by HubertKah »

Gestern habe ich OTRS von Version 3.1.4 auf 3.2.16 aktualisiert. Das Skript zum hochziehen der Datenbank habe ich laufen lassen. Nun erhalte ich allerdings beim Erstellen eines neuen E-Mail-Tickets die Fehlermeldung

Code: Select all

An error occurred! Do you want to see the complete error message?

Code: Select all

Editor.editor.addCss is not a function

Core.UI.RichTextEditor</TargetNS.Init/<@http://otrs.lubra.local/otrs-web/js/js-cache/CommonJS_7ebb059d9f423d20a96746632fc820a1.js:403:48
f@http://otrs.lubra.local/otrs-web/js/thirdparty/ckeditor-4.0/ckeditor.js:10:42
CKEDITOR.event.prototype</<.fire</<@http://otrs.lubra.local/otrs-web/js/thirdparty/ckeditor-4.0/ckeditor.js:11:394
b@http://otrs.lubra.local/otrs-web/js/thirdparty/ckeditor-4.0/ckeditor.js:172:16
b@http://otrs.lubra.local/otrs-web/js/thirdparty/ckeditor-4.0/ckeditor.js:229:418
CKEDITOR.replace@http://otrs.lubra.local/otrs-web/js/thirdparty/ckeditor-4.0/ckeditor.js:234:334
Core.UI.RichTextEditor</TargetNS.Init@http://otrs.lubra.local/otrs-web/js/js-cache/CommonJS_7ebb059d9f423d20a96746632fc820a1.js:403:123
Core.UI.RichTextEditor</TargetNS.InitAll/<@http://otrs.lubra.local/otrs-web/js/js-cache/CommonJS_7ebb059d9f423d20a96746632fc820a1.js:404:996
f</<.each@http://otrs.lubra.local/otrs-web/js/js-cache/CommonJS_7ebb059d9f423d20a96746632fc820a1.js:33:12793
f</e.prototype.each@http://otrs.lubra.local/otrs-web/js/js-cache/CommonJS_7ebb059d9f423d20a96746632fc820a1.js:33:9368
Core.UI.RichTextEditor</TargetNS.InitAll@http://otrs.lubra.local/otrs-web/js/js-cache/CommonJS_7ebb059d9f423d20a96746632fc820a1.js:404:957
(?)()@http://otrs.lubra.local/otrs/index.pl?Action=AgentTicketEmail:871:5
Core.App</TargetNS.Ready/<@http://otrs.lubra.local/otrs-web/js/js-cache/CommonJS_7ebb059d9f423d20a96746632fc820a1.js:277:173
._Deferred/e.resolveWith@http://otrs.lubra.local/otrs-web/js/js-cache/CommonJS_7ebb059d9f423d20a96746632fc820a1.js:33:15710
f</<.ready@http://otrs.lubra.local/otrs-web/js/js-cache/CommonJS_7ebb059d9f423d20a96746632fc820a1.js:33:10655
f</C@http://otrs.lubra.local/otrs-web/js/js-cache/CommonJS_7ebb059d9f423d20a96746632fc820a1.js:33:15174
Wie kann ich dieses Problem beseitigen?
Last edited by HubertKah on 04 Nov 2014, 16:38, edited 1 time in total.
OTRS Version 3.3.10
Ubuntu 14.04
MySQL 5.5.40
HubertKah
Znuny newbie
Posts: 49
Joined: 04 Nov 2014, 09:57
Znuny Version: 3.3.10

Re: Fehler beim Erstellen von neuen E-Mail-Tickets

Post by HubertKah »

Selbiges Problem auch beim Hinzufügen von Notizen zu einem Ticket oder beim Antworten auf ein Ticket. Irgendwie hängt es (wie oben zu lesen) mit dem RichTextEditor zusammen. Ich weiß es aber nicht zu lösen.
OTRS Version 3.3.10
Ubuntu 14.04
MySQL 5.5.40
NancyL
Znuny expert
Posts: 247
Joined: 05 Aug 2014, 08:13
Znuny Version: 6.0.30
Real Name: Nancy

Re: Fehler beim Erstellen von neuen E-Mail-Tickets

Post by NancyL »

Internexplorer?

Setzt mal die Einstellungen in der Kompatiblitätsansicht Haken raus bei Kompatiblitätslisten von MS verwenden und Intranetsites im Kompatiblitätsmodus anzeigen.
Ich glaube das hatte ich auch mal vor längerer Zeit
Last edited by NancyL on 04 Nov 2014, 11:23, edited 1 time in total.
OTRS 6.0.30 /OS: Ubuntu/ Mysql
reneeb
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: Fehler beim Erstellen von neuen E-Mail-Tickets

Post by reneeb »

Caches gelöscht? Konfig neu gebaut? (otrs.DeleteCache.pl und otrs.RebuildConfig.pl ausgeführt?)
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
HubertKah
Znuny newbie
Posts: 49
Joined: 04 Nov 2014, 09:57
Znuny Version: 3.3.10

Re: Fehler beim Erstellen von neuen E-Mail-Tickets

Post by HubertKah »

Nein, nicht Internet Explorer. Firefox.
OTRS Version 3.3.10
Ubuntu 14.04
MySQL 5.5.40
HubertKah
Znuny newbie
Posts: 49
Joined: 04 Nov 2014, 09:57
Znuny Version: 3.3.10

Re: Fehler beim Erstellen von neuen E-Mail-Tickets

Post by HubertKah »

Cache war vorher gelöscht wie auch die Konfiguration neu gebaut. Ich habe das sicherheitshalber jetzt nochmal ausprobiert, allerdings mit dem selben Ergebnis.
OTRS Version 3.3.10
Ubuntu 14.04
MySQL 5.5.40
HubertKah
Znuny newbie
Posts: 49
Joined: 04 Nov 2014, 09:57
Znuny Version: 3.3.10

Re: Fehler beim Erstellen von neuen E-Mail-Tickets

Post by HubertKah »

Merkwürdig ist auch, dass wenn ich nach dem Klicken auf Neues E-Mail-Ticket und die Fehlermeldung mit Abbrechen wegklicke, dass dann kein Link mehr anklickbar ist.
Last edited by HubertKah on 04 Nov 2014, 12:23, edited 1 time in total.
OTRS Version 3.3.10
Ubuntu 14.04
MySQL 5.5.40
HubertKah
Znuny newbie
Posts: 49
Joined: 04 Nov 2014, 09:57
Znuny Version: 3.3.10

Re: Fehler beim Erstellen von neuen E-Mail-Tickets

Post by HubertKah »

Und die Fehlermeldungen sind im Firefox und Chrome auch recht anders! :shock:

Firefox:
1.png
Chrome:
2.png
You do not have the required permissions to view the files attached to this post.
OTRS Version 3.3.10
Ubuntu 14.04
MySQL 5.5.40
HubertKah
Znuny newbie
Posts: 49
Joined: 04 Nov 2014, 09:57
Znuny Version: 3.3.10

Re: Fehler beim Erstellen von neuen E-Mail-Tickets

Post by HubertKah »

Und ich finde gerade in dem sonst absolut sauberen (mit der älternen OTRS-Version) Systemprotokoll folgende Meldung:
Table 'otrs.standard_response' doesn't exist, SQL: 'SELECT sr.id, sr.name FROM standard_response sr, queue_standard_response qsr WHERE qsr.queue_id IN (2) AND qsr.standard_response_id = sr.id AND sr.valid_id IN ( 1 ) ORDER BY sr.name'
WIESO? Dort scheint das Update-Skript doch wohl einen Fehler gehabt zu haben. Wie bekomme ich nun diese Tabelle hinzu? Das Update-Skript könnte ich nochmal laufen lassen, vermute dann aber andere Fehler oder Gefahren.
OTRS Version 3.3.10
Ubuntu 14.04
MySQL 5.5.40
HubertKah
Znuny newbie
Posts: 49
Joined: 04 Nov 2014, 09:57
Znuny Version: 3.3.10

Re: Fehler beim Erstellen von neuen E-Mail-Tickets

Post by HubertKah »

Also, mit welcher Version ist denn die Tabelle standard_response eingeflossen? Und wieso ist die bei mir nicht vorhanden?

Alle Fragen bitte vergessen! Übrig bleibt nur diese: Wie bekomme ich nun die Tabelle standard_response und alle weiteren fehlenden Inhalte ins OTRS? In irgendeinem Skript muss es doch einen MySQL-Befehl geben, der die Tabelle mit allen nötigen Inhalten anlegt.
OTRS Version 3.3.10
Ubuntu 14.04
MySQL 5.5.40
HubertKah
Znuny newbie
Posts: 49
Joined: 04 Nov 2014, 09:57
Znuny Version: 3.3.10

Re: Fehler beim Erstellen von neuen E-Mail-Tickets

Post by HubertKah »

Ok... Habe nun im Web für OTRS 2.3.3 den folgenden Befehl gefunden:

Code: Select all

CREATE TABLE standard_response (
  id smallint(6) NOT NULL auto_increment,
  name varchar(80) NOT NULL default '',
  text mediumtext NOT NULL,
  comment varchar(80) default NULL,
  valid_id smallint(6) NOT NULL default '0',
  create_time datetime NOT NULL default '0000-00-00 00:00:00',
  create_by int(11) NOT NULL default '0',
  change_time datetime NOT NULL default '0000-00-00 00:00:00',
  change_by int(11) NOT NULL default '0',
  PRIMARY KEY  (id),
  UNIQUE KEY name (name)
) TYPE=MyISAM;
Hier habe ich allerdings TYPE=InnoDB gesetzt. Die Tabelle ist nun da, allerdings funktioniert das Anlegen der Tickets noch immer nicht. Hat ja offenbar auch eher etwas mit dem Editor zu tun. (siehe oben)
OTRS Version 3.3.10
Ubuntu 14.04
MySQL 5.5.40
HubertKah
Znuny newbie
Posts: 49
Joined: 04 Nov 2014, 09:57
Znuny Version: 3.3.10

Re: Fehler beim Erstellen von neuen E-Mail-Tickets

Post by HubertKah »

Nachtrag:
Jetzt folgt der nächste Fehler:

Code: Select all

Table 'otrs.queue_standard_response' doesn't exist, SQL: 'SELECT sr.id, sr.name FROM standard_response sr, queue_standard_response qsr WHERE qsr.queue_id IN (2) AND qsr.standard_response_id = sr.id AND sr.valid_id IN ( 1 ) ORDER BY sr.name'
Ich vermute mal, dass ich mich nun so weiter an den Problemen entlang arbeiten müsste.

Hat denn niemand eine Idee, was nun genau hier für ein Problem mit dem JavaScript/RichtTextEditor vorliegt und wieso ständig Tabellen in meiner Datenbank fehlen? Wie kann man das lösen?
OTRS Version 3.3.10
Ubuntu 14.04
MySQL 5.5.40
reneeb
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: Fehler beim Erstellen von neuen E-Mail-Tickets

Post by reneeb »

Da ist wohl beim Upgrade etwas/einiges schiefgelaufen. Tipp: Backup einspielen und Upgrade nochmal machen...
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
HubertKah
Znuny newbie
Posts: 49
Joined: 04 Nov 2014, 09:57
Znuny Version: 3.3.10

Re: Fehler beim Erstellen von neuen E-Mail-Tickets

Post by HubertKah »

Hier im Forum hatte ich nicht gelesen, dass man auch das Verzeichnis otrs/var mitsichern soll, was ich allerdings im Internet gelesen hatte, dass es mitzusichern ist. Ist das so? Nur die Konfigdateien sichern?
OTRS Version 3.3.10
Ubuntu 14.04
MySQL 5.5.40
reneeb
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: Fehler beim Erstellen von neuen E-Mail-Tickets

Post by reneeb »

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
HubertKah
Znuny newbie
Posts: 49
Joined: 04 Nov 2014, 09:57
Znuny Version: 3.3.10

Re: Fehler beim Erstellen von neuen E-Mail-Tickets

Post by HubertKah »

Oh, ja. Das war genau die Stelle, wo ich es las. Hatte nicht direkt vor Augen, dass das auf github war.

Danke für den Hinweis!
OTRS Version 3.3.10
Ubuntu 14.04
MySQL 5.5.40
Locked