Upgrade from 3.3 to 4
Moderator: crythias
Upgrade from 3.3 to 4
hi i'm getting this error when i'm upgradeing from 3.3 -> 4
any ideas?
C:\otrs\scripts>perl DBUpdate-to-4.pl
Base class package "Template::Provider" is empty.
(Perhaps you need to 'use' the module which defines that package first,
or make that module available in @INC (@INC contains: C:/otrs/Custom C:/otrs
/Kernel/cpan-lib C:/otrs C:/otrs/Perl/site/lib C:/otrs/Perl/lib .).
at C:/otrs/Kernel/Output/Template/Provider.pm line 17
BEGIN failed--compilation aborted at C:/otrs/Kernel/Output/Template/Provider.pm
line 17.
Compilation failed in require at DBUpdate-to-4.pl line 33.
BEGIN failed--compilation aborted at DBUpdate-to-4.pl line 33.
any ideas?
C:\otrs\scripts>perl DBUpdate-to-4.pl
Base class package "Template::Provider" is empty.
(Perhaps you need to 'use' the module which defines that package first,
or make that module available in @INC (@INC contains: C:/otrs/Custom C:/otrs
/Kernel/cpan-lib C:/otrs C:/otrs/Perl/site/lib C:/otrs/Perl/lib .).
at C:/otrs/Kernel/Output/Template/Provider.pm line 17
BEGIN failed--compilation aborted at C:/otrs/Kernel/Output/Template/Provider.pm
line 17.
Compilation failed in require at DBUpdate-to-4.pl line 33.
BEGIN failed--compilation aborted at DBUpdate-to-4.pl line 33.
-
- Znuny guru
- Posts: 2210
- Joined: 13 Mar 2014, 09:16
- Znuny Version: 6.0.14
- Real Name: Rolf Straub
Re: Upgrade from 3.3 to 4
I'd guess this has to do with the template-toolkit package which is required for OTRS 4.
Did you install that package for your perl ?
Did you install that package for your perl ?
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Re: Upgrade from 3.3 to 4
run the bin/otrs.CheckModules.pl script to see which Perl modules are needed (besides the already mentioned Temmplate Toolkit)
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: Upgrade from 3.3 to 4
thank you, installing the template toolkit worked 
now i need to move the database from old OTRS server (windows - mysql) to new one (Ubuntu)
how do you recommend i do this?

now i need to move the database from old OTRS server (windows - mysql) to new one (Ubuntu)
how do you recommend i do this?
Re: Upgrade from 3.3 to 4
dump it with mysqldump and import on the new server
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: Upgrade from 3.3 to 4
ok, what about the framework and the other stuff, is it enough to just copy the otrs folder over with all the config?
Re: Upgrade from 3.3 to 4
normally you will just need the
- Kernel/Config.pm
- Kernel/Config/Files/ZZZAuto.pm
- Kernel/Config/GenericAgent.pm
- Kernel/Config.pm
- Kernel/Config/Files/ZZZAuto.pm
- Kernel/Config/GenericAgent.pm
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: Upgrade from 3.3 to 4
yes ofcourse... 
thank you for your help

thank you for your help
Re: Upgrade from 3.3 to 4
i'm curious about which way would you update the OTRS if your moving from windows to Linux?
task:upgrade from 3.0 to 4.0
would you:
A) Upgrade 3.0->3.1 ->3.2 ->3.3 ->3.4 and then migrate the DB to the new OTRS server (Linux running OTRS 4) ?
or
B) move DB to new Linux machine (Running OTRS 3.0) and upgrade from there? 3.0 -> 3.1 -> 3.2 ->3.3 -> 4 ?
does it matter which way i go?
task:upgrade from 3.0 to 4.0
would you:
A) Upgrade 3.0->3.1 ->3.2 ->3.3 ->3.4 and then migrate the DB to the new OTRS server (Linux running OTRS 4) ?
or
B) move DB to new Linux machine (Running OTRS 3.0) and upgrade from there? 3.0 -> 3.1 -> 3.2 ->3.3 -> 4 ?
does it matter which way i go?
Re: Upgrade from 3.3 to 4
it does not matter, but for me B would be less painful
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com