Hallo Mailing-Liste,
Ich versuche mein OTRS von 3.0.4 auf 3.0.11 upzugraden.
Wenn ich die Datenbank updaten möchte kommt bei folgendem Befehl ein Fehler:
OTRS:/opt/otrs# scripts/DBUpdate-to-3.0.pl
Migration started...
Step 1 of 4: Refresh configuration cache... done.
DBD::mysql::st execute failed: Table 'otrs.theme' doesn't exist at /opt/otrs/Kernel/System/DB.pm line 553.
ERROR: OTRS-DBUpdate-to-3.0-10 Perl: 5.10.0 OS: linux Time: Tue Nov 15 10:03:59 2011
Message: Table 'otrs.theme' doesn't exist, SQL: 'SELECT theme, valid_id FROM theme '
Traceback (1570):
Module: Kernel::System::DB::GetTableData (v1.127) Line: 868
Module: main::MigrateThemes (v1.4) Line: 149
Module: scripts/DBUpdate-to-3.0.pl (v1.4) Line: 77
DBD::mysql::st fetchrow_array failed: fetch() without execute() at /opt/otrs/Kernel/System/DB.pm line 616.
ERROR: reading themes from database.
Migration halted.
In der DB.pm steht folgendes:
# fetch first not used rows
if ( $Self->{LimitStart} ) {
for ( 1 .. $Self->{LimitStart} ) {
if ( !$Self->{Cursor}->fetchrow_array() ) {
$Self->{LimitStart} = 0;
return ();
}
$Self->{LimitCounter}++;
}
$Self->{LimitStart} = 0;
}
# return
my @Row = $Self->{Cursor}->fetchrow_array(); [Zeile 616 ist hier]
if ( !$Self->{Backend}->{'DB::Encode'} ) {
return @Row;
}
# e. g. set utf-8 flag
my $Counter = 0;
ELEMENT:
for my $Element (@Row) {
if ( !$Element ) {
next ELEMENT;
}
Da das OTRS Seit Dezember 2010 kein Update mehr gesehen hat würde ich wirklich gerne mal das Ganze mit Erfolg beenden und erhoffe mir Hilfe von euch.
Mit freundlichen Grüßen
Thomas Pahl
Stadt Lauda-Königshofen
Marktplatz 1
97922 Lauda-Königshofen
Tel.: 09343 / 501 102
Fax: 09343 / 501 100
Email:
thomas.pahl@lauda-koenigshofen.de
Internet: www.lauda-koenigshofen.de