This manual is deprecated. Please visit https://groupoffice.readthedocs.io for the latest documentation.

Upgrading

From Group-Office Groupware and CRM Documentation
Revision as of 09:54, 28 August 2013 by Admin (Talk | contribs) (Using the Debian/Ubuntu packages)

Jump to: navigation, search

Backup your data first! Follow the instructions here: Moving or backup an installation

Using the Debian/Ubuntu packages

If you are using the professional version or billing module make sure you download the new 4.2 license files first from https://shop.group-office.com/Download and put them in /usr/share/groupoffice.

Then change /etc/apt/sources.list:

deb http://repos.groupoffice.eu/ someversion main

into:

deb http://repos.groupoffice.eu/ fourtwo main

Then update the package info:

apt-get update

After changing to repository and updating the package list you still have to upgrade your machine, The following command will upgrade all packages you have installed that have new versions available including Group-Office.

apt-get upgrade

If you do not want to install all updates available for your machine you can only upgrade the Group-Office packages as well, this is not advised and you also need to know what packages there are installed on your system. The following command will upgrade the main Group-Office installation.

Example if you have Group-Office Community and Group-Office professional installed:

apt-get install groupoffice-com groupoffice-pro

When you are also using other Group-Office packages or the groupoffice-pro package you will have to upgrade these as well.

If you run into an error after upgrading please try to Rebuild the search cache and run the database check at Start menu -> System tools

Manual upgrade

If you are using the professional version download the license file and tarbal packages from https://shop.group-office.com/Download. If you use the Community version download the packages from http://sourceforge.net/projects/group-office/.

Take the following steps:

  1. Backup your database
  2. Move away your old source files.
  3. Put the new files at the right location. (including any extra modules like Billing)
  4. If exists copy your old config.php to the new files.
  5. Launch Group-Office in your browser and it will perform a system upgrade.
  6. If z-push is installed you'll need to upgrade it manually as described at the ActiveSync page.

Downloading packages from the shop on the command line

You may want to automate stuff. You can download the tar archives from the shop using a Group-Office CLI command:

php groupofficecli.php -r=maintenance/downloadFromShop --shopuser=[USERNAME] --shoppass=[PASSWORD] --packages=groupoffice-pro-4.0,billing-4.0,documents-4.0 --unpack=1

Or to replace an installation:

php groupofficecli.php -r=maintenance/downloadFromShop --shopuser=[USERNAME] --shoppass=[PASSWORD] --packages=groupoffice-pro-4.0,billing-4.0,documents-4.0 --replacefolder=/path/to/groupoffice

This will save all packages in the current working directory.

From the Community to Professional version

If you are using the professional version or billing module make sure you download the license files first from https://shop.group-office.com/Download and put them in /usr/share/groupoffice. Then run:

apt-get install groupoffice-pro

If you are using the tar packages download the package from the shop and replace the files.

After this you can login to Group-Office and install the professional modules at Start menu -> Modules.