Upgrade/Migrate trouble-free from Znuny 6.4 to Znuny 6.5

In this article you will find tools and paths how to ensure a clean migration from Znuny 6.4 to Znuny 6.5 under Ubuntu 20.04 and 22.04.

How to get started?

In the article Prepare / start a upgrade / migration of OTRS / Znuny all steps are explained.
Read and execute them carefully to avoid data or e-mail losses!

Doing the migration from Znuny 6.4 to 6.5

The migration is separated into 3 steps.

Migration preparation

Now let us prepare the migration steps.
First you have to check your installed packages in Znuny. In all our tests the autoupgrade of the packages failed, even if this feature shall work from the commit history.
Therefore best way is to note your custom installed packages and to uninstall them. You can later reinstall them easily.
Go to /otrs/index.pl?Action=AdminPackageManager or manually via navigating to Admin > Package Manager
Under Local Repository you will find your installed Packages.

Fetch the migration script

We have provided you the steps as a script to avoid typos or common mistakes.
First we ensure our required packages are installed.

sudo apt install wget findutils git screen

Now fetch the script

cd /opt
git clone https://github.com/itgovernanceportal/otrs-znuny-helpers.git
cd /opt/otrs-znuny-helpers/migrationHelpers/znuny64_2_znuny65

Starting the migration from OTRS to Znuny

Now we can start with the migration itself.

screen

Now run the download znuny and integrate our prior backuped configuration files

sudo ./10_migrationZnuny.sh

Even with big installations 10 million tickets this migration shall only take a few minutes.

    Step 12 of 16: Clean up the cache ...
    Step 13 of 16: Rebuild configuration another time ...
    Step 14 of 16: Deploy ACLs ...
    Step 15 of 16: Deploy processes ...
    Step 16 of 16: Check invalid settings ...



 Migration completed! 

clean caches
Deleting cache...
Done.
Deleting all sessions...
  AcRvjSWN1ujVuz4TEPfLuekVrppw6CcL
  fq92CBy9dJ0khxSKpdKwHMwILAPH0wIi
  QOUpkv495r5y57SJsQLUXijilSExMEPH
Done.
upgrading installed packages
Fetching online repositories...
  Freebie Features... Done
  Znuny Open Source Add-ons... Done

Upgrading installed packages...

If you are lucky the migration went through without any issues. If not see the related articles, if some of your issues is already covered there.

Reinstall your packages

Reinstall your packages

Now reinstall your uninstalled packages and you are done with your migration

Related articles

Prepare / start a upgrade / migration of OTRS / Znuny
Upgrade/Migrate trouble-free from OTRS 5 to OTRS/Znuny 6
Upgrade/Migrate trouble-free from Znuny 6.0 to Znuny 6.1
Upgrade/Migrate trouble-free from Znuny 6.1 to Znuny 6.2
Upgrade/Migrate trouble-free from Znuny 6.2 to Znuny 6.3
Upgrade/Migrate trouble-free from Znuny 6.3 to Znuny 6.4
Upgrade/Migrate trouble-free from Znuny 6.4 to Znuny 6.5

 

Do you need help with Znuny / OTRS?
We have lot of experiences with OTRS and Znuny and can help you with your issues. Get in touch with us and we will check if and how we can help you.

Leave a Comment

Do you need help with Znuny / OTRS?​

We have lot of experiences with OTRS and Znuny.
We can help you with your issues to solve them.

From giving you support up to implementing integrations to your existing systems.

Get in touch with us and we will check if and how we can help you.​

Get OTRS/Znuny/OTOBO Support
Step 1 of 2
To get a quick and efficient clearance of your needs, our experts will call you.
We communicate in English.
Maybe we can communicate in your native language too. So please let us know your native written and spoken language.

Your environment

We have different partners for different tasks and company sizes.
To assign you the right partner and thus the proper system engineers, we would like to ask you for more details about your environment.
The more details we get the quicker we can narrow down to the right persons.