5.0.11 -> 6.0.16 DBUpdate-to-6.pl fails unable to determine Ticket::StorageModule - Gelöst

Hilfe zu OTRS Problemen aller Art
Post Reply
znsnet
Znuny newbie
Posts: 11
Joined: 03 Feb 2019, 22:24
Znuny Version: 6.0.16
Real Name: Zimmermann
Company: Zimmermann Network Solutions GmbH
Contact:

5.0.11 -> 6.0.16 DBUpdate-to-6.pl fails unable to determine Ticket::StorageModule - Gelöst

Post by znsnet »

Hallo,

beim Update von 5.0.11 auf 6.0.16 scheitert das Update:


Ich habe das neue Release in den leeren Ordner otrs entpackt.

Kernel/Config.pm

Kernel/Config/Files/ZZZAuto.pm

und

var/article

wiederhergestellt aus Backup.

Die gesicherte Datenbank wiederhergestellt.

Anschließend die Datei config.pm angepasst:

Code: Select all

    $Self->{'Database'} = 'otrs2';
    $Self->{'DatabaseUser'} = 'otrs';
    $Self->{'DatabasePw'} = 'XXXXXXXXXXXX';
    $Self->{Home} = '/usr/share/otrs';
als root

Code: Select all

bin/otrs.SetPermissions.pl
ausgeführt.

dann
als otrs

Code: Select all

scripts/DBUpdate-to-6.pl
ausgeführt.


Das lief dann fast 2 Tage bei

Code: Select all

 Step 29 of 42: Post changes on article related tables ...
Habe dann in der mysql querry log festgestellt dass das script im Kreis läuft.

Ein Eintrag mit ID 0 war da irgendwie im weg.

Alles auf Anfang, Eintrag gelöscht, 2. Versuch.


Jetzt lief es schon schneller durch und jetzt kommt mein Problem:

Code: Select all

Step 39 of 42: Refresh configuration cache another time ...
Step 40 of 42: Deploy ACLs ...
Step 41 of 42: Deploy processes ...
Step 42 of 42: Check invalid settings ...
Skipping missing settings for now...

Warning: System was unable to determine ValueEntityType for Ticket::StorageModule, skipping...

Following settings were not fixed:
  - Ticket::StorageModule

Please use console command (bin/otrs.Console.pl Admin::Config::Update --help) or GUI to fix them.

Done.

 Migration completed!

Ich habe keine Idee wie ich weiter vorgehen soll.

Vielen Dank

KAI
Last edited by znsnet on 14 Feb 2019, 13:23, edited 1 time in total.
wurzel
Znuny guru
Posts: 3228
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: 5.0.11 -> 6.0.16 DBUpdate-to-6.pl fails unable to determine Ticket::StorageModule

Post by wurzel »

Hi,

Du kannst das mit bin/otrs.Console.pl Admin::Config::Update fixen wenn Du weißt was reingehört (ich weiß es nicht)

Ich würde vor dem backup den Wert in der sysconfig resetten (oder aus der ZZZAuto.pm einfach rauslöschen)
und die Migration erneut probieren.

viele Grüße
Flo
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
znsnet
Znuny newbie
Posts: 11
Joined: 03 Feb 2019, 22:24
Znuny Version: 6.0.16
Real Name: Zimmermann
Company: Zimmermann Network Solutions GmbH
Contact:

Re: 5.0.11 -> 6.0.16 DBUpdate-to-6.pl fails unable to determine Ticket::StorageModule

Post by znsnet »

Danke für die Antwort.

Ich weiß auch nicht was da rein oder raus muss.

Otrs 5 läuft nach Update auf Debian 9 nicht mehr.

Flucht nach vorne - Update auf neuem Server.

Aber ich komme nicht weiter.

Hilft es wenn ich die configs von otrs 5 poste?

Danke

Kai
znsnet
Znuny newbie
Posts: 11
Joined: 03 Feb 2019, 22:24
Znuny Version: 6.0.16
Real Name: Zimmermann
Company: Zimmermann Network Solutions GmbH
Contact:

Re: 5.0.11 -> 6.0.16 DBUpdate-to-6.pl fails unable to determine Ticket::StorageModule

Post by znsnet »

ZZZAuto.pm:

Code: Select all

$Self->{'Ticket::StorageModule'} =  'Kernel::System::Ticket::ArticleStorageFS';
$Self->{'Ticket::IndexModule'} =  'Kernel::System::Ticket::IndexAccelerator::StaticDB';
$Self->{'Ticket::ArchiveSystem'} =  '1';
znsnet
Znuny newbie
Posts: 11
Joined: 03 Feb 2019, 22:24
Znuny Version: 6.0.16
Real Name: Zimmermann
Company: Zimmermann Network Solutions GmbH
Contact:

Re: 5.0.11 -> 6.0.16 DBUpdate-to-6.pl fails unable to determine Ticket::StorageModule

Post by znsnet »

Ich habe mich mal durch die Datenbank gegraben.

Im Speziellen die 4 Sysconfig Tabellen.

Dort fand ich dann in sysconfig_default 4 x den Eintrag Ticket::Article::Backend::MIMEBase::ArticleStorage mit 2 Verschiedenen Werten
2 x --- Kernel::System::Ticket::Article::Backend::MIMEBase::ArticleStorageFS
2 x --- Kernel::System::Ticket::Article::Backend::MIMEBase::ArticleStorageDB

3 x löschen, ältesten mit --- Kernel::System::Ticket::Article::Backend::MIMEBase::ArticleStorageFS behalten.

Code: Select all

otrs@srv6:~$ bin/otrs.Console.pl Admin::Config::Read --setting-name Ticket::Article::Backend::MIMEBase::ArticleStorage
Gathering setting value...

Setting: Ticket::Article::Backend::MIMEBase::ArticleStorage
Kernel::System::Ticket::Article::Backend::MIMEBase::ArticleStorageFS

Done.
Sieht jetzt schon mal gut aus.....


Internal Server Error


Can't locate Kernel/System/Web/InterfaceAgent.pm in @INC (you may need to install the Kernel::System::Web::InterfaceAgent module) (@INC contains: /usr/sbin/../../Custom /usr/sbin/../../Kernel/cpan-lib /usr/sbin/../.. /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1

in DB Tabelle sysconfig_default_version
Daemon::PID::Path doppelt vorhanden. /opt/otrs und einmal /usr/share/otrs

/opt/otrs gelöscht.


/var/tmp geleert

Code: Select all

bin/otrs.Console.pl Maint::Config::Rebuild

Internal Server Error


Can't locate Kernel/System/Web/InterfaceAgent.pm in ...... /opt/otrs


Woher holt sich der den Pfad?


Gute Nacht!
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: 5.0.11 -> 6.0.16 DBUpdate-to-6.pl fails unable to determine Ticket::StorageModule

Post by reneeb »

Wenn Du OTRS nicht nach /opt/otrs installiert hast, musst Du das in der Apache-Konfiguration anpassen.
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
znsnet
Znuny newbie
Posts: 11
Joined: 03 Feb 2019, 22:24
Znuny Version: 6.0.16
Real Name: Zimmermann
Company: Zimmermann Network Solutions GmbH
Contact:

Re: 5.0.11 -> 6.0.16 DBUpdate-to-6.pl fails unable to determine Ticket::StorageModule

Post by znsnet »

Guten Morgen,

In der Apache configs sind alle Angaben richtig.

Alles verweist nach /usr/Share/otrs

Habe explizit nach /opt/otrs gesucht und nicht gefunden.
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: 5.0.11 -> 6.0.16 DBUpdate-to-6.pl fails unable to determine Ticket::StorageModule

Post by reneeb »

Den Apachen neu gestartet?
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
znsnet
Znuny newbie
Posts: 11
Joined: 03 Feb 2019, 22:24
Znuny Version: 6.0.16
Real Name: Zimmermann
Company: Zimmermann Network Solutions GmbH
Contact:

Re: 5.0.11 -> 6.0.16 DBUpdate-to-6.pl fails unable to determine Ticket::StorageModule

Post by znsnet »

Hab ich schon - sogar den Server.

Keine Änderung.
wurzel
Znuny guru
Posts: 3228
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: 5.0.11 -> 6.0.16 DBUpdate-to-6.pl fails unable to determine Ticket::StorageModule

Post by wurzel »

Hi,

hast Du OTRS aus dem debian repository installiert?

Flo
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
wurzel
Znuny guru
Posts: 3228
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: 5.0.11 -> 6.0.16 DBUpdate-to-6.pl fails unable to determine Ticket::StorageModule

Post by wurzel »

Hi,

Ich würd' vorschlagen
am Besten machst Du ein Restore von Deinem System auf den Ursprungszustand... dann haste erstmal keinen Stress mehr.
Danach setzte einen neuen Server auf und machst dort die Migration.

Flo
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
znsnet
Znuny newbie
Posts: 11
Joined: 03 Feb 2019, 22:24
Znuny Version: 6.0.16
Real Name: Zimmermann
Company: Zimmermann Network Solutions GmbH
Contact:

Re: 5.0.11 -> 6.0.16 DBUpdate-to-6.pl fails unable to determine Ticket::StorageModule

Post by znsnet »

So hab ichs jetzt nochmal gemacht.

Alles weg, alles neu aus release + Datensicherung wiederhergestellt.


Läuft!


Vielen Dank
Post Reply