AppSuite:Upgrade from 6.22 Debian 6.0: Difference between revisions

From Open-Xchange
(Created page with "This example describes updating some OX 6.22 installation to Appsuite. The OX6 installation used in this example uses the IMAP authentication plugin. We start by adding some ...")
 
No edit summary
Line 26: Line 26:
  # service open-xchange start
  # service open-xchange start


Then connect to the OX6 GUI. First connection try says:
Then connect to the OX6 GUI. First connection try says: Error: updating database, try later. The second try success, GUI looks good.


Error: updating database, try later
Next step is to add the Appsuite GUI.


Second try succeeds, looks good.
# apt-get install open-xchange-appsuite open-xchange-appsuite-backend open-xchange-appsuite-manifest


It them remains to adjust apache's default.conf as well as proxy_ajp.conf.


Basically you need to merge the OX6 and Appsuite versions of those files. This leave enough room to screw things up. Thus I paste my resulting versions of those files here.


Lets try to add the appsuite gui
After this, stop and start the apache2 and open-xchange services. Then you should be able to use the Appsuite UI. (I again encountered a "Upgrading database, try again later" message on the first login try.)
 
 
#apt-get install open-xchange open-xchange-authentication-imap open-xchange-ajp open-xchange-admin open-xchange-appsuite open-xchange-appsuite-backend open-xchange-appsuite-manifest
 
#The next package list will install as much as the previous which is the complete list for a appsuite installation w/ backend
apt-get install open-xchange-appsuite open-xchange-appsuite-backend open-xchange-appsuite-manifest
 
 
so, what do we do next... from our add-ox6-gui-to-appsuite installation we pull our apache default configuration.
 
Executive summary:
- ox6 installation: workee
- update backend to appsuite 7.0.1: workee... ox6 gui still workee with that backend
- add appsuite ui packages to the system, update apache's default.conf to one known to be working for my appsuite installation with added ox6 gui
- appsuite ui not workee, pointing browser to the appsuite ui gives those 3 flashing points#
- firebug console gives errors
 
 
in proxy_ajp.conf, add a section
 
  # OX AppSuite frontend
  <Proxy /appsuite/api>
      ProxyPass balancer://oxcluster/ajax
  </Proxy>
 
under the <Proxy balancer://oxcluster> .. </Proxy> element in the <IfModule mod_proxy_ajp.c> element.

Revision as of 12:50, 8 February 2013

This example describes updating some OX 6.22 installation to Appsuite. The OX6 installation used in this example uses the IMAP authentication plugin.

We start by adding some Appsuite repos to our sources.list.

# adjust this to some final repo location
cat >/etc/apt/sources.list.d/ox-appsuite.list <<EOF
deb http://buildservice.oxoe.int/repos/backend-release-7.0.1/DebianSqueeze/ /
deb http://buildservice.oxoe.int/repos/frontend-release-7.0.1/DebianSqueeze/ /
EOF

Then it continues with the straightforward

# apt-get update
# apt-get upgrade

In my example this upgrades the following packages:

open-xchange open-xchange-admin open-xchange-ajp open-xchange-authentication-imap open-xchange-authorization-standard open-xchange-cluster-discovery-mdns
 open-xchange-core open-xchange-imap open-xchange-mailfilter open-xchange-osgi open-xchange-smtp open-xchange-themes-default open-xchange-xerces-sun

For all config files, chose to install new version. Check later no manual changes have been screwed. You can do this by comparing the new (installed) config file with the dpkg.old files created by dpkg. In my case that looked good (mail.properties, imapauth.properties settings kept preserved.)

# vi /opt/open-xchange/etc/cluster.properties
com.openexchange.cluster.name=oxcluster
# service open-xchange stop
# service open-xchange start

Then connect to the OX6 GUI. First connection try says: Error: updating database, try later. The second try success, GUI looks good.

Next step is to add the Appsuite GUI.

# apt-get install open-xchange-appsuite open-xchange-appsuite-backend open-xchange-appsuite-manifest

It them remains to adjust apache's default.conf as well as proxy_ajp.conf.

Basically you need to merge the OX6 and Appsuite versions of those files. This leave enough room to screw things up. Thus I paste my resulting versions of those files here.

After this, stop and start the apache2 and open-xchange services. Then you should be able to use the Appsuite UI. (I again encountered a "Upgrading database, try again later" message on the first login try.)