Hi everyone,
I am trying to perform an update to OTRS 6 from the latest OTRS 5 stable release but when I try to run the DB Update script I receive this error:
Step 16 of 33: Add basic appointment notification for
reminders ...
[Thu Oct 12 11:42:25 2017] DBUpdate-to-6.pl: DBD::mysql::db do
failed: Incorrect string value: '\xE2\x96\xA0</s...' for column
'text' at row 1 at
/home/otrs/domains/support.crazynetwork.it/private_html/Kernel/System/DB.pm
line 470.
ERROR: OTRS-otrs.Console.pl-Maint::Database::Check-00 Perl: 5.16.3
OS: linux Time: Thu Oct 12 11:42:25 2017
Message: Incorrect string value: '\xE2\x96\xA0</s...' for
column 'text' at row 1, SQL: '
INSERT INTO notification_event_message
(notification_id, subject, text, content_type,
language)
VALUES (?, ?, ?, ?, ?)'
Traceback (16155):
Module: Kernel::System::NotificationEvent::NotificationAdd
Line: 404
Module:
scripts::DBUpdateTo6::AddAppointmentCalendarNotification::Run
Line: 162
Module: scripts::DBUpdateTo6::_ExecuteComponent Line: 157
Module: scripts::DBUpdateTo6::Run Line: 69
Module: ./DBUpdate-to-6.pl Line: 82
My system specs are:
mysql Ver 15.1 Distrib 10.2.9-MariaDB, for Linux (x86_64) using
readline 5.1
Server version: Apache/2.4.28 (Unix)
nginx version: nginx/1.13.5 (As proxy to Apache)
Does anyone can help me out with this?
Thanks
Best regards
My system specs are:
Thanks
Best regards
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
Not really a dev environment but my OTRS istance never went live and I
have backups :)
I managed to pass that bit just now, apparently I had to convert
everything in the DB from utf8 to utf8mk4 and now I am facing a new
stopping error:
Step 25 of 33: Post changes on article related tables ...
[Thu Oct 12 16:45:01 2017] DBUpdate-to-6.pl: DBD::mysql::db do failed:
Cannot delete or update a parent row: a foreign key constraint fails at
/home/otrs/domains/support.crazynetwork.it/private_html/Kernel/System/DB.pm
line 470.
ERROR: OTRS-otrs.Console.pl-Maint::Database::Check-00 Perl: 5.16.3 OS:
linux Time: Thu Oct 12 16:45:01 2017
Message: Cannot delete or update a parent row: a foreign key
constraint fails, SQL: 'DROP TABLE IF EXISTS article_type'
Traceback (9504):
Module: scripts::DBUpdateTo6::Base::ExecuteXMLDBString Line: 349
Module: scripts::DBUpdateTo6::Base::ExecuteXMLDBArray Line: 297
Module:
scripts::DBUpdateTo6::PostArticleTableStructureChanges::_DropArticleTypeTable
Line: 445
Module: scripts::DBUpdateTo6::PostArticleTableStructureChanges::Run
Line: 71
Module: scripts::DBUpdateTo6::_ExecuteComponent Line: 157
Module: scripts::DBUpdateTo6::Run Line: 69
Module: ./DBUpdate-to-6.pl Line: 82
ERROR: OTRS-otrs.Console.pl-Maint::Database::Check-00 Perl: 5.16.3 OS:
linux Time: Thu Oct 12 16:45:01 2017
Message: Error during execution of 'DROP TABLE IF EXISTS article_type'!
Traceback (9504):
Module: scripts::DBUpdateTo6::Base::ExecuteXMLDBString Line: 352
Module: scripts::DBUpdateTo6::Base::ExecuteXMLDBArray Line: 297
Module:
scripts::DBUpdateTo6::PostArticleTableStructureChanges::_DropArticleTypeTable
Line: 445
Module: scripts::DBUpdateTo6::PostArticleTableStructureChanges::Run
Line: 71
Module: scripts::DBUpdateTo6::_ExecuteComponent Line: 157
Module: scripts::DBUpdateTo6::Run Line: 69
Module: ./DBUpdate-to-6.pl Line: 82
I know is not table, but I wanted to look what's new and still an
"external tester" can always be useful to devs and others, so for the
first bit the issue was the charset, maybe the update script should
manage to change it.
Regarding the latest error I am receiving, I have tryed to disable the
foreign key check but it didn't actually help.
Any idea? :)
On 12/10/2017 15:49, Diego Chacón wrote:
> OTRS 6 is not yet a stable version
>
> I assume (hopefully) that you are testing it in a development environment
>
> --
> /Diego Chacón Rojas/
> /* E-mail: di...@gridshield.net <mailto:di...@gridshield.net>/
Ticket raised on OTRS Bug site.
It's actually strange that utf8mb4 is not supported but it's the
"workaround" that fixed the first issue
Regarding your question, how can I check that? I have some modules
installed which can somehow be the cause, basically all the modules
available on otrs website.
My understanding is that those modules are now part of OTRS6, so it may
be something on that "upgrade" process?
Thanks
Best regards