Code: Select all
Namespace Core.Agent could not be initialized, because Core.UI.IE7Fixes could not be found.
Code: Select all
Core.Agent.Init is not a function
(?)()@http://otrs2.xxxx.local/otrs/index.pl:363:5
Core.App</TargetNS.Ready/<@http://otrs2.xxxx.local/otrs-web/js/Core.App.js:74:21
x.Callbacks/c@http://otrs2.xxxx.local/otrs-web/js/thirdparty/jquery-1.10.0/jquery.js:4:25962
x.Callbacks/p.fireWith@http://otrs2.xxxx.local/otrs-web/js/thirdparty/jquery-1.10.0/jquery.js:4:26772
.ready@http://otrs2.xxxx.local/otrs-web/js/thirdparty/jquery-1.10.0/jquery.js:4:3303
q@http://otrs2.xxxx.local/otrs-web/js/thirdparty/jquery-1.10.0/jquery.js:4:715
Code: Select all
su otrs
otrs@otrs2:/opt/otrs/scripts$ ./DBUpdate-to-3.3.pl
Migration started...
ERROR: Permission denied: /var/www/otrs/Kernel/Config/Files/ZZZAAuto.pm
Step 1 of 13: Refresh configuration cache... ERROR: Permission denied: /var/www/otrs/Kernel/Config/Files/ZZZAAuto.pm
If you see warnings about 'Subroutine Load redefined', that's fine, no need to worry!
done.
Step 2 of 13: Check framework version... done.
Step 3 of 13: Generate MessageID md5sums... [Mon Nov 10 10:23:08 2014] DBUpdate-to-3.3.pl: DBD::mysql::db do failed: Unknown column 'a_message_id_md5' in 'field list' at /opt/otrs/Kernel/System/DB.pm line 499.
ERROR: OTRS-DBUpdate-to-3.3-10 Perl: 5.18.2 OS: linux Time: Mon Nov 10 10:23:08 2014
Message: Unknown column 'a_message_id_md5' in 'field list', SQL: '
UPDATE article
SET a_message_id_md5 = MD5(a_message_id)
WHERE a_message_id IS NOT NULL
'
Traceback (3473):
Module: main::_GenerateMessageIDMD5 (unknown version) Line: 582
Module: ./DBUpdate-to-3.3.pl (unknown version) Line: 99
done.
Step 4 of 13: Migrate old settings... done.
Step 5 of 13: Migrate OTRSExternalTicketNumberRecognition... done.
Step 6 of 13: Checking Standard Template table columns...
Check if 'template_type' columns exists.
'template_type' column exists, set new default value.
ALTER TABLE standard_template CHANGE template_type template_type VARCHAR (100) NULL
ALTER TABLE standard_template ALTER template_type DROP DEFAULT
UPDATE standard_template SET template_type = 'Answer' WHERE template_type IS NULL
ALTER TABLE standard_template CHANGE template_type template_type VARCHAR (100) DEFAULT 'Answer' NOT NULL
done.
Step 7 of 13: Updating Queue Standard Template relations table...
Cleaning queue_standard_template table
Creating new Foreign Keys for queue_standard_template table
--- Note: ---
If you have already run this script before then the Foreign Keys are already set and you might see errors regarding 'duplicate key' or 'constrain already exists', that's fine, no need to worry!
---
ALTER TABLE queue_standard_template ADD CONSTRAINT FK_queue_standard_template_standard_template_id_id FOREIGN KEY (standard_template_id) REFERENCES standard_template (id)
ALTER TABLE queue_standard_template ADD CONSTRAINT FK_queue_standard_template_queue_id_id FOREIGN KEY (queue_id) REFERENCES queue (id)
ALTER TABLE queue_standard_template ADD CONSTRAINT FK_queue_standard_template_create_by_id FOREIGN KEY (create_by) REFERENCES users (id)
ALTER TABLE queue_standard_template ADD CONSTRAINT FK_queue_standard_template_change_by_id FOREIGN KEY (change_by) REFERENCES users (id)
done.
Step 8 of 13: Migrate OTRSGenericStandardTemplates... done.
Step 9 of 13: Checking if ACL tables already exist... Check if ACL table exists.
ACL tables are present, no need to create them.
done.
Step 10 of 13: Uninstall Merged Feature Add-Ons... done.
Step 11 of 13: Delete the files that are not longer needed... done.
Step 12 of 13: Clean up the cache... done.
Step 13 of 13: Refresh configuration cache another time...
If you see warnings about 'Subroutine Load redefined', that's fine, no need to worry!
[Mon Nov 10 10:23:12 2014] DBUpdate-to-3.3.pl: Subroutine Load redefined at /var/www/otrs/Kernel/Config/Files/ZZZAAuto.pm line 7.
done.
Migration completed!
Ich habe die Konfigurationen gesichert, die Datenbank auf den nächst höeren Level aktualisiert, die Konfiguration mit dem otrs.RebuildConfig.pl neu erstellt, wie es in den Dokumentationen beschrieben steht. Da die aktualisierte Datenbank nun offenbar korrupt ist, wollte ich den ursprünglichen Zustand mit der 2.3er Datenbank und dem zugehörigen ORTS in seliber Version wieder reaktivieren. Allerdings erhalte ich die selben Fehler, wie auch mit einer aktuellen ORTS-Version und aktualisierter Datenbank.
Ich vermute, dass bereits in der ursprünglichen Dankbank nach verschiedenen Aktualisierungen, die ich in den vergangenen Jahren durchgeführt habe, beim Updaten beschädigt wurde. Dieser Fehler ist unter Umständen mit weiteren Updates hochgezogen worden, sodass ich die Daten nun nicht mehr hinter das OTRS kriege. Die Datenbank von vor Jahren, als sie augenscheinlich noch in Ordnung war, ist heute natürlich nicht mehr existent und zugleich würden alle gelaufenen und aktuellen Tickets fehlen. Jetzt wäre für mich wünschenswert, dass es ein Skript gibt, das prüft, welche Tabellen und Felder fehlen und diese automatisch ergänzt. Professionellen Support hatte ich natürlich angefragt, allerdings muss ich gestehen, dass 3.300 Euro ein hoher Betrag dafür ist. Zugleich wollte man auch keinen Support gewähren, der stundenweise für die Reparatur berechnet wird. Daher hoffe ich nun noch auf Hilfe aus der Community.