Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

HideElements
metastrue
commentstrue
childpagestrue
watchtrue
likestrue

Table of Contents

 

 

Note

The rollback function is not available anymore because the Zarafa packages are not available anymore.

Info

If you've come here looking for a way to switch to Kopano on a Univention system, please follow https://wiki.z-hub.io/display/K4U/Migrating+from+the+old+Zarafa+Univention+Apps+to+Kopano4UCS instead,

Disclaimer

Use the script at your own risk and only if you know what the script is doing .

...

Requirements

The migration script needs the following dependencies

The following distributions are supported :

  • Debian 7 (amd64)
  • Debian 8 (amd64)
  • Ubuntu 14.04 (amd64)
  • RHEL/CentOS 6 (x86_64) 
  • RHEL/CentOS 7 (x86_64) 

Kopano

The latest final version of Kopano will always be installed from https://download.kopano.io/supported/core:/final/ 
Repositories will be added to your system in order to install Kopano Core and WebApp

Parameters

The following parameter are available. 

Code Block
languagetext
Options:
  -b, --backup          Location to backup.
  -c, --scl             Use software collections in RHEL
  -h, --help            Show this help message and exit
  -r, --run-script      Run the scipt

 

The script

The script will perform the following tasks;

  1. backup /etc/zarafa
  2. stop zarafa services
  3. remove Zarafa
  4. add Kopano Core and Webapp repositories
  5. install Kopano
  6. migrate configuration files
  7. chown /var/lib/zarafa to kopano
  8. start kopano services

 

Bitbucket Server file
repoSlugmigrate
branchIdrefs/heads/master
projectKeyKSC
filepathzcp2kc.sh
showLineNumberstrue
progLangbash
collapsibletrue

or use git 

Code Block
git clone https://stash.kopano.io/scm/ksc/migrate.git

 

ZCP version 

The script is able to migrate from the latest ZCP 7.1.x and ZCP 7.2.x final version.
If you are running a beta version the rollback function will not work. 

Starting the script

By default the script will start in dryrun mode, which means that it will not change anything on the system and only print the things it would do.
Running the script with parameter  -r will start the migration. 

Rollback

If for some reason the script fails, an automatic rollback will be triggered that will reinstall ZCP. The rollback function is only available if there was a final version of ZCP installed, rollbacks to beta versions are not supported.

For RHEL/CentOS users, the rollback function will not work if epel is installed. This is because a zcp version is available in the EPEL repository