In this article you will find tools and paths how to ensure a clean migration from Znuny 6.3 to Znuny 6.4 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.3 to 6.4
The migration is separated into 3 steps.
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/znuny63_2_znuny64
Starting the migration from OTRS to Znuny
Now we can start with the migration itself.
Now run the download znuny and integrate our prior backuped configuration files
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
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