OTRS Update 4 auf 5 schlägt fehl

Hilfe zu Znuny Problemen aller Art
Locked
cr1zz
Znuny newbie
Posts: 67
Joined: 03 Sep 2013, 12:14
Znuny Version: 3.2.10

OTRS Update 4 auf 5 schlägt fehl

Post by cr1zz »

Hallo zusammen,

ich teste grade das Update von OTRS 4 auf 5 auf einer Debian Wheezy Maschine.
Leider schlägt dies schon beim Datenbankupdate mit folgendem Fehler fehl:

Code: Select all

Step 12 of 17: Fixup statistics time field configuration where the time interval is too small...
ERROR: OTRS-DBUpdate-to-5.pl-31 Perl: 5.20.2 OS: linux Time: Wed Jun  8 13:21:44 2016

 Message: No existing template directory found ('/opt/otrs/Kernel/Output/HTML/Standard')! Check your Home in Kernel/Config.pm

 Traceback (35550):
   Module: Kernel::Output::HTML::Layout::new Line: 381
   Module: Kernel::System::ObjectManager::_ObjectBuild Line: 226
   Module: Kernel::System::ObjectManager::Get Line: 180
   Module: Kernel::Output::HTML::Statistics::View::_TimeScaleYAxis Line: 2151
   Module: Kernel::Output::HTML::Statistics::View::_TimeScale Line: 2131
   Module: main::_FixupStatsTimeInterval Line: 1999
   Module: scripts/DBUpdate-to-5.pl Line: 162

No existing template directory found ('/opt/otrs/Kernel/Output/HTML/Standard')! Check your Home in Kernel/Config.pm at /opt/otrs/Custom/Kernel/Output/HTML/Layout.pm line 909.
/opt/otrs > root@OTRS-Linux [php:5.3.29-phpbrew]
Was mache ich hier falsch. Dieses Verzeichnis scheint es bei der 5er Version nicht mehr zu geben?
Ich bin folgenden Leitfaden gefolgt: https://otrs.github.io/doc/manual/admin ... ading.html

Ich danke im Voraus.
Produktiv: OTRS 3.2.10 - OS: Windows Server 2008 R2 Datacenter - MySQL 5.1.51
Testing: OTRS 4.0.11 - OS: Debian Jessie - MySQL 5.5.43
wurzel
Znuny guru
Posts: 3273
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: OTRS Update 4 auf 5 schlägt fehl

Post by wurzel »

Hi,

what is your $HOME of otrs user?

and do you have installed otrs in /opt/otrs ? or from debian repos?

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

-- 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.
cr1zz
Znuny newbie
Posts: 67
Joined: 03 Sep 2013, 12:14
Znuny Version: 3.2.10

Re: OTRS Update 4 auf 5 schlägt fehl

Post by cr1zz »

Hi wurzel,

$HOME of otrs user -> /home/otrs/

Installed in /opt/otrs (Upgraded vom 3.2.10 -> 3.3.14 -> 4.0.12 without problems)
Produktiv: OTRS 3.2.10 - OS: Windows Server 2008 R2 Datacenter - MySQL 5.1.51
Testing: OTRS 4.0.11 - OS: Debian Jessie - MySQL 5.5.43
KlausNehrer
Znuny ninja
Posts: 1312
Joined: 25 May 2012, 08:51
Znuny Version: OTRS 4
Real Name: Klaus Nehrer

Re: OTRS Update 4 auf 5 schlägt fehl

Post by KlausNehrer »

Steht das home in der passwd und in der config.pm?
cr1zz
Znuny newbie
Posts: 67
Joined: 03 Sep 2013, 12:14
Znuny Version: 3.2.10

Re: OTRS Update 4 auf 5 schlägt fehl

Post by cr1zz »

Code: Select all

 $Self->{Home} = '/opt/otrs';
Ich hatte mich oben vertan. Natürlich ist das $home /opt/otrs.

Und wie gesagt: Alle Upgrades davor haben ohne Probleme geklappt. Beim Upgrade auf 5 versucht das DBUpdate das Verzeichnis /opt/otrs/Kernel/Output/HTML/Standard zu finden. Dieses gibt es aber nicht in den Sourcen für OTRS 5.
Produktiv: OTRS 3.2.10 - OS: Windows Server 2008 R2 Datacenter - MySQL 5.1.51
Testing: OTRS 4.0.11 - OS: Debian Jessie - MySQL 5.5.43
wurzel
Znuny guru
Posts: 3273
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: OTRS Update 4 auf 5 schlägt fehl

Post by wurzel »

Hi,

und ich hatte mich in der Sprache vertan. Sorry.

Die ZZZAuto.pm haste mit den korrekten Rechten korrekt restored?
Hast Du eigene Templates da drin? ggf. kannst Du die mal rausnehmen?

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

-- 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.
cr1zz
Znuny newbie
Posts: 67
Joined: 03 Sep 2013, 12:14
Znuny Version: 3.2.10

Re: OTRS Update 4 auf 5 schlägt fehl

Post by cr1zz »

Die ZZZAuto.pm wurde restored. Die Rechte wurden gesetzt.
Es werden keine anderen Templates benutzt, nur das Standard Template mit einer zusätzlichen css Datei.
Produktiv: OTRS 3.2.10 - OS: Windows Server 2008 R2 Datacenter - MySQL 5.1.51
Testing: OTRS 4.0.11 - OS: Debian Jessie - MySQL 5.5.43
cr1zz
Znuny newbie
Posts: 67
Joined: 03 Sep 2013, 12:14
Znuny Version: 3.2.10

Re: OTRS Update 4 auf 5 schlägt fehl

Post by cr1zz »

Hallo zusammen,

ich habe jetzt gesehen dass bei OTRS 5 das Verzeichnis 'Standard' in folgendem Verzeichnis liegt:

/opt/otrs/Kernel/Output/HTML/Template (und nicht mehr wie vorher in /opt/otrs/Kernel/Output/HTML/Standard).

Wie kann ich nun die Zuordnung wieder richten, weil das $HOME ja korrekt in der Config.pm steht.
Produktiv: OTRS 3.2.10 - OS: Windows Server 2008 R2 Datacenter - MySQL 5.1.51
Testing: OTRS 4.0.11 - OS: Debian Jessie - MySQL 5.5.43
Locked