ich habe kürzlich ein Upgrade von 2.3 auf 3.0.2 durchgeführt, welches soweit auch erfolgreich war.
Im neuen OTRS habe ich die Speicherung der Attachments von DB auf FS umgestellt.
Da meine DB mittlerweile ca. 8 GB groß ist, wollte ich sie mit dem Skript otrs.ArticleStorageSwitch.pl von allen Anhängen befreien.
Folgende Fehlermeldungen bekomme ich beim Befehl: bin/otrs.ArticleStorageSwitch.pl -s ArticleStorageDB -d ArticleStorageFS
Nach einem Versuch folgendes duchzuführen:
ERROR: OTRS-otrs.ArticleStorageSwitch.pl-10 Perl: 5.10.0 OS: linux Time: Wed Dec 1 08:13:46 2010
Message: Need UserID!
Traceback (26856):
Module: Kernel::System::Ticket::Article::ArticleAttachmentIndex (v1.260) Line: 3147
Module: bin/otrs.ArticleStorageSwitch.pl (v1.10) Line: 172
ERROR: OTRS-otrs.ArticleStorageSwitch.pl-10 Perl: 5.10.0 OS: linux Time: Wed Dec 1 08:13:46 2010
Message: Need UserID!
Traceback (26856):
Module: Kernel::System::Ticket::Article::ArticleAttachmentIndex (v1.260) Line: 3147
Module: bin/otrs.ArticleStorageSwitch.pl (v1.10) Line: 105
In Zeile 105 von
auf# read source attachments
my %Index = $TicketObjectSource->ArticleAttachmentIndex(
ArticleID => $ArticleID,
OnlyMyBackend => 1,
);
Und das gleiche in Zeile Zeile 172:# read source attachments
my %Index = $TicketObjectSource->ArticleAttachmentIndex(
ArticleID => $ArticleID,
OnlyMyBackend => 1,
UserID => 1,
);
# verify destination attachments
%Index = $TicketObjectDestination->ArticleAttachmentIndex(
ArticleID => $ArticleID,
OnlyMyBackend => 1,
);
bekomme ich dann diese Meldung:
# verify destination attachments
%Index = $TicketObjectDestination->ArticleAttachmentIndex(
ArticleID => $ArticleID,
OnlyMyBackend => 1,
UserID => 1,
);
Bitte helfenERROR: OTRS-otrs.ArticleStorageSwitch.pl-10 Perl: 5.10.0 OS: linux Time: Wed Dec 1 08:33:42 2010
Message: Need Value!
Traceback (28010):
Module: Kernel::System::CacheInternal::Set (v1.Line: 123
Module: Kernel::System::Ticket::Article::ArticleGetContentPath (v1.260) Line: 755
Module: Kernel::System::Ticket::ArticleStorageDB::ArticleAttachmentIndexRaw (v1.76) Line: 336
Module: Kernel::System::Ticket::Article::ArticleAttachmentIndex (v1.260) Line: 3153
Module: bin/otrs.ArticleStorageSwitch.pl (v1.10) Line: 105
ERROR: OTRS-otrs.ArticleStorageSwitch.pl-10 Perl: 5.10.0 OS: linux Time: Wed Dec 1 08:33:42 2010
Message: Need Value!
Traceback (28010):
Module: Kernel::System::CacheInternal::Set (v1.Line: 123
Module: Kernel::System::Ticket::Article::ArticleGetContentPath (v1.260) Line: 755
Module: Kernel::System::Ticket::ArticleStorageFS::ArticleAttachmentIndexRaw (v1.74) Line: 411
Module: Kernel::System::Ticket::Article::ArticleAttachmentIndex (v1.260) Line: 3153
Module: bin/otrs.ArticleStorageSwitch.pl (v1.10) Line: 173
Use of uninitialized value $ContentPath in concatenation (.) or string at /opt/otrs/Kernel/System/Ticket/ArticleStorageFS.pm line 416.
