Update OTRS from 5.0.24 to 6.0.1
Moderator: crythias
-
- Znuny newbie
- Posts: 9
- Joined: 22 Apr 2016, 08:10
- Znuny Version: OTRS 5.0.9
- Real Name: Nikolay
Update OTRS from 5.0.24 to 6.0.1
Good day,
I encountered a problem when updating the OTRS from version 5.0.24 to 6.0.1
I follow the instructions of the Administrator of errors in the process of updating the database and there is no software installation. BUT after starting the updated version there is an error: file error - JSDataInsert: not found
and nothing happens ... What went wrong?
I encountered a problem when updating the OTRS from version 5.0.24 to 6.0.1
I follow the instructions of the Administrator of errors in the process of updating the database and there is no software installation. BUT after starting the updated version there is an error: file error - JSDataInsert: not found
and nothing happens ... What went wrong?
-
- Znuny newbie
- Posts: 24
- Joined: 10 Oct 2017, 13:45
- Znuny Version: 6.0.30
- Real Name: NB
- Company: montova
Re: Update OTRS from 5.0.24 to 6.0.1
Do you have Znuny addons in your local repository ?
I encountered the same issue, removed all local Znuny addons before performing the upgrade and no issue now.
I encountered the same issue, removed all local Znuny addons before performing the upgrade and no issue now.
Running OTRS 6 Community Edition (6.0.30) on CentOS 7.9/MYSQL/Apache2
-
- Administrator
- Posts: 3957
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Update OTRS from 5.0.24 to 6.0.1
Hi,S1lv3rW1z4rd wrote:I encountered the same issue, removed all local Znuny addons before performing the upgrade and no issue now.
I'm pretty sure this can be a reason but does not must. We've upgraded many systems and never had this error.
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Re: Update OTRS from 5.0.24 to 6.0.1
Hello and thanks for the Tip about the Znuny Packages. I had to remove every Znuny package including the Znuny Repo package to be able to login to OTRS 6. You can remove them via the command line when the update to OTRS 6 was already done.
1) Login to console as user 'otrs'.
2) List all Znuny Packages
3)Remove every package, the last package should be 'Znuny-Repo' since all packages have a dependency on that one.
Now you can login to OTRS and go to Package Manager to reinstall the Znuny Packages.
1) Login to console as user 'otrs'.
2) List all Znuny Packages
Code: Select all
/opt/otrs/bin/otrs.Console.pl Admin::Package::List -package-name Znuny
Code: Select all
/opt/otrs/bin/otrs.Console.pl Admin::Package::Uninstall Znuny4OTRS-Repo
Znuny 6.5 LTS - Ubuntu 20.04 x64, Azure Database for MySQL server 5.7, Perl 5.22.1, Apache/2.4.18
-
- Administrator
- Posts: 3957
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Update OTRS from 5.0.24 to 6.0.1
Upgrading Znuny4OTRS-Repo via console command (as OTRS user) should be sufficient:tpsupport wrote: 3)Remove every package, the last package should be 'Znuny-Repo' since all packages have a dependency on that one.Now you can login to OTRS and go to Package Manager to reinstall the Znuny Packages.Code: Select all
/opt/otrs/bin/otrs.Console.pl Admin::Package::Uninstall Znuny4OTRS-Repo
Code: Select all
bin/otrs.Console.pl Admin::Package::Upgrade https://addons.znuny.com/api/addon_repos/public/1029/:latest
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Re: Update OTRS from 5.0.24 to 6.0.1
it doesn't work for me, although "Admin::Package::List" doesn't show me any package....i noticed run on Console.pl Admin i see:
bye
anyway i think, in my case, that's not the only issue.Znuny4OTRS
Znuny4OTRS::DefaultColumnsScreen::Add - Updates the 'DynamicField' config of all DefaultColumnsScreens configs accordingly
Znuny4OTRS::DefaultColumnsScreen::Remove - Removes the 'DynamicField' config of all DefaultColumnsScreens configs accordingly
Znuny4OTRS::DynamicFieldScreen::Add - Updates the 'DynamicField' config of all Ticket::Frontend::ACTIONS configs accordingly
Znuny4OTRS::DynamicFieldScreen::Remove - Removes the 'DynamicField' config of all Ticket::Frontend::ACTIONS configs accordingly.
Znuny4OTRS::Repo::DynamicFieldsConfigExport - Exports configuration of all dynamic fields. Output can formatted as YAML or Perl which can be used as parameter for ZnunyHelper::_DynamicFieldsCreate().
Znuny4OTRS::Repo::PostMasterFilterConfigExport - Exports configuration of all postmaster filter. Output can formatted as YAML or Perl which can be used as parameter for ZnunyHelper::_PostMasterFilterC
bye
-
- Administrator
- Posts: 3957
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Update OTRS from 5.0.24 to 6.0.1
The commands you see where provided by Znuny4OTRS-Repo and if the repo is installed in 5 you can upgrade also with --force. Anyway, I solved the error you showed on more than one system by package upgrading.
- Roy
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?