I have an error message when I update znuny 6.3.4 to 6.4.5
I follow the following tutorial: https://doc.znuny.org/manual/releases/i ... e-6.4.html
and here are all my command lines with at the end the error on the command: scripts/MigrateToZnuny6_4.pl
Code: Select all
systemctl stop apache2
systemctl stop exim4
su -c 'bin/Cron.sh stop' - otrs
su -c 'bin/otrs.Daemon.pl stop' - otrs
cd /opt
wget https://download.znuny.org/releases/znuny-latest-6.4.tar.gz
/opt/znuny-6.4.5/bin/otrs.SetPermissions.pl
cp -av /opt/otrs/Kernel/Config.pm /opt/znuny-6.4.5/Kernel/
mv /opt/otrs/var/article/* /opt/znuny-6.4.5/var/article/
for f in $(find -L /opt/otrs -maxdepth 1 -type f -name .\* -not -name \*.dist); do cp -av "$f" /opt/znuny-6.4.5/; done
for f in $(find -L /opt/otrs/var/cron -maxdepth 1 -type f -name .\* -not -name \*.dist); do cp -av "$f" /opt/znuny-6.4.5/var/cron/; done
/opt/otrs/bin/otrs.CheckModules.pl --all
## error##
o Crypt::JWT.......................Not installed! To install, you can use: 'apt-get install -y libcrypt-jwt-perl'. (optional - JSON web token support.)
o Crypt::OpenSSL::X509.............Not installed! To install, you can use: 'apt-get install -y libcrypt-openssl-x509-perl'. (optional - X509 certificate support.)
o DBD::Oracle......................Not installed! (optional - Required to connect to a Oracle database.)
o iCal::Parser.....................Not installed! To install, you can use: 'apt-get install -y libical-parser-perl'. (required - Required for calendar events.)
o Jq...............................Not installed! (optional - Support for extended condition checking via Jq for the generic interface.)
apt-get install -y libical-parser-perl
apt-get install -y libcrypt-jwt-perl
apt-get install -y libcrypt-openssl-x509-perl
/opt/otrs/bin/otrs.CheckModules.pl --all
## only errors remain for optional modulesl##
o DBD::Oracle......................Not installed! (optional - Required to connect to a Oracle database.)
o Jq...............................Not installed! (optional - Support for extended condition checking via Jq for the generic interface.)
su - otrs
$ scripts/MigrateToZnuny6_4.pl
Migration started ...
Checking requirements ...
Requirement check for: Check required Perl version ...
Requirement check for: Check required database version ...
Requirement check for: Check database charset ...
Requirement check for: Check required Perl modules ...
Requirement check for: Check if database has been backed up ...
Did you backup the database? [Y]es/[N]o: y
Requirement check for: Upgrade database structure ...
Requirement check for: Migrate SysConfig settings ...
Should the SysConfig be migrated? [Y]es/[N]o: y
Executing tasks ...
Step 1 of 19: Check required Perl version ...
Step 2 of 19: Check required database version ...
Step 3 of 19: Check database charset ...
Step 4 of 19: Check required Perl modules ...
Step 5 of 19: Check installed CPAN modules for known vulnerabilities ...
Step 6 of 19: Check if database has been backed up ...
Step 7 of 19: Upgrade database structure ...
Step 8 of 19: Rebuild configuration ...
Step 9 of 19: Migrate SysConfig settings ...
Step 10 of 19: Reindex S/MIME certificates ...
[Thu Jan 12 14:14:28 2023] MigrateToZnuny6_4.pl: Use of uninitialized value in -e at /opt/znuny-6.4.5/Kernel/System/Crypt/SMIME.pm line 87.
[Thu Jan 12 14:14:28 2023] MigrateToZnuny6_4.pl: Use of uninitialized value in concatenation (.) or string at /opt/znuny-6.4.5/Kernel/System/Crypt/SMIME.pm line 88.
ERROR: OTRS-otrs.Console.pl-Dev::Code::CPANAudit-38 Perl: 5.32.1 OS: linux Time: Thu Jan 12 14:14:28 2023
Message: No such !
Traceback (31766):
Module: Kernel::System::Crypt::SMIME::Check Line: 88
Module: Kernel::System::Crypt::SMIME::new Line: 57
Module: Kernel::System::ObjectManager::_ObjectBuild Line: 307
Module: Kernel::System::ObjectManager::Get Line: 201
Module: scripts::Migration::Znuny::ReindexSMIMECertificates::Run Line: 36
Module: scripts::Migration::_ExecuteComponent Line: 167
Module: scripts::Migration::Run Line: 77
Module: scripts/MigrateToZnuny6_4.pl Line: 82
[Thu Jan 12 14:14:28 2023] MigrateToZnuny6_4.pl: Use of uninitialized value in concatenation (.) or string at /opt/znuny-6.4.5/Kernel/System/Crypt/SMIME.pm line 92.
Can't locate object method "ReIndexCertificate" via package "0" (perhaps you forgot to load "0"?) at /opt/znuny-6.4.5/scripts/Migration/Znuny/ReindexSMIMECertificates.pm line 4 0.
Greetings