Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default Migration of OX 6.4.2 (CVS) to 6.5.0 (packages)

    Hi all,

    as you may have noticed, Open-Xchange did a big step forward to provide their software to the opensource community. We recently started the public beta of Open-Xchange 6.5 and this will be the most up to date release. Starting with this public beta, we're maintaining software packages for various platforms, such as debian, ubuntu, opensuse/sles, centos/fedora/rhel.

    Compared with the installation process based on CVS checkouts and compiling this one offers a much more stable and convenient way to administrate the Open-Xchange server. For all those fellow heroes out there who managed to set up their server based on CVS sources, this short manual should provide some guidance when moving to the packaged version.

    Before you start, please notice: Open-Xchange is a Groupware, not a Mailserver. If you've used the installer scripts or the installation guide at the wiki, you may already have set up a OX:EE flavor environment. One major thing needs to be considered before migrating.
    - There is no Admin GUI (was a unique feature of OX:EE, but not a core part of Open-Xchange)

    Generally speaking you'll get a plain Groupware Server with a user interface but no graphical administration tools. This is not to upset anybody, but the Admin GUI was a unique feature of OX:EE and is not longer actively maintained with Open-Xchange 6.5. Of course there is still a very powerful command line interface that can do much more than the UI ever could.

    The good news:
    We're working on a integrated group/resource management plugin which allows to do most groupware related configuration right off the Groupware UI, without the need of a additional interface, this feature will be added with a upcoming release candidate or the final release fo Open-Xchange 6.5.

    The following guide is very straightforward, if there are any detailed questions, don't hesitate to ask.
    Code:
    /etc/init.d/open-xchange-groupware stop
    /etc/init.d/open-xchange-admin stop
    
    cp -r /opt/open-xchange/etc/ ~/oxconfig-backup
    
    rm -rf /opt/open-xchange/
    rm -rf /var/www/ox
    
    vim /etc/apt/sources.list
    
    deb http://software.open-xchange.com/OXSE/SP4/Beta/DebianEtch/ /
    
    apt-get update
    apt-get install open-xchange-admin-client \
    open-xchange-admin-doc open-xchange-admin-plugin-hosting-doc \
    open-xchange-admin-plugin-hosting open-xchange-admin-soap open-xchange-admin \
    open-xchange-authentication-database open-xchange-axis2 open-xchange-cache \
    open-xchange-charset open-xchange-common open-xchange-configjump-generic \
    open-xchange-configread open-xchange-control open-xchange-data-conversion-ical4j \
    open-xchange-global open-xchange-group-managerequest open-xchange-gui \
    open-xchange-i18n open-xchange-imap open-xchange-jcharset open-xchange-mailfilter \
    open-xchange-management open-xchange-monitoring open-xchange-online-help-he-de \
    open-xchange-online-help-he-en open-xchange-online-help-he-fr \
    open-xchange-passwordchange-database open-xchange-passwordchange-servlet \
    open-xchange-push-udp open-xchange-resource-managerequest open-xchange-server \
    open-xchange-sessiond open-xchange-settings-extensions open-xchange-smtp \
    open-xchange-spamhandler-default open-xchange
    
    
    Configuration file `/etc/init.d/open-xchange-groupware'
     ==> File on system created by you or by a script.
     ==> File also in package provided by package maintainer.
    *** open-xchange-groupware (Y/I/N/O/D/Z) [default=N] ?
    -> Y
    
    Configuration file `/etc/init.d/open-xchange-admin'
    -> Y
    
    grep SERVER_NAME ~/oxconfig-backup/groupware/system.properties
    
    /opt/open-xchange/sbin/oxinstaller --servername=SERVER_NAME --configdb-pass=YOUR_OLD_PASS --master-pass=YOUR_OLD_PASS
    
    chown -R open-xchange:open-xchange /var/opt/open-xchange/
    chown -R open-xchange:open-xchange /var/log/open-xchange/
    chown -R open-xchange:open-xchange /tmp/.OX/
    
    cp ~/oxconfig-backup/admindaemon/procmailrc /opt/open-xchange/etc/admindaemon/
    
    /etc/init.d/open-xchange-groupware start
    /etc/init.d/open-xchange-admin start
    
    
    /opt/open-xchange/sbin/changeuser -c 1 -i 4 --imaplogin testuser -A oxadmin -P secret
    
    http://your-server.ox/ox6/
    After this steps are done, you should be able to login again.
    Last edited by Martin Heiland; 08-26-2008 at 12:10 PM.

  2. #2
    thoand Guest

    Default

    Hi Martin,

    what does


    Code:
    /opt/open-xchange/sbin/changeuser -c 1 -i 4 --imaplogin testuser -A oxadmin -P secret
    exactly do? Do I create a new user with this command? Is that needed to make the old logins work?

    regards, michael

  3. #3
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    Hi Michael,

    this changes the database property "imaplogin" of the user with user id 4 to the users username. Previously another login mechanism was used because the mailserver authenticated against pam->ox database, now the groupware needs to authenticate via a ordinary imap login, just like any other imap client does. This needs to be done for every user.

    Greetings
    Last edited by Martin Heiland; 07-14-2008 at 07:41 PM.

  4. #4
    batnator Guest

    Default

    after the update to the package based installation, the groupware process crash instantly after startup. Here is the output from open-xchange-console.log.

    Code:
    !SESSION 2008-08-28 14:48:31.508 -----------------------------------------------
    eclipse.buildId=unknown
    java.version=1.5.0_12
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86, WS=motif, NL=de_DE
    Command-line arguments:  -configuration file:/opt/open-xchange/etc/groupware/osgi
    
    !ENTRY org.eclipse.osgi 4 0 2008-08-28 14:48:32.031
    !MESSAGE Error reading configuration: /opt/open-xchange/etc/groupware/osgi/org.eclipse.osgi/.manager/.fileTableLock (No such file or directory)
    !STACK 0
    java.io.FileNotFoundException: /opt/open-xchange/etc/groupware/osgi/org.eclipse.osgi/.manager/.fileTableLock (No such file or directory)
            at java.io.RandomAccessFile.open(Native Method)
            at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
            at org.eclipse.core.runtime.internal.adaptor.Locker_JavaNio.lock(Locker_JavaNio.java:32)
            at org.eclipse.osgi.storagemanager.StorageManager.lock(StorageManager.java:388)
            at org.eclipse.osgi.storagemanager.StorageManager.open(StorageManager.java:695)
            at org.eclipse.osgi.internal.baseadaptor.BaseStorage.initFileManager(BaseStorage.java:162)
            at org.eclipse.osgi.internal.baseadaptor.BaseStorage.initialize(BaseStorage.java:139)
            at org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorage(BaseAdaptor.java:124)
            at org.eclipse.osgi.framework.internal.core.Framework.initialize(Framework.java:174)
            at org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:147)
            at org.eclipse.osgi.framework.internal.core.OSGi.createFramework(OSGi.java:90)
            at org.eclipse.osgi.framework.internal.core.OSGi.<init>(OSGi.java:31)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:283)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:172)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.main(EclipseStarter.java:149)

  5. #5
    quentin Guest

    Default Probelm after update

    Hi, after update I got problem when running:
    /opt/open-xchange/sbin/changeuser -c 1 -i 4 --imaplogin testuser -A oxadmin -P secret

    Server response:
    Database is locked or is now beeing updated, please try again later

    Log
    SEVERE: Database is locked or is now beeing updated, please try again later
    com.openexchange.admin.rmi.exceptions.DatabaseUpda teException: Database is locked or is now beeing updated, please try again later
    at com.openexchange.admin.rmi.impl.OXUser.checkSchema BeingLocked(OXUser.java:1288)
    at com.openexchange.admin.rmi.impl.OXUser.list(OXUser .java:1065)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastSe rverRef.java:294)
    at sun.rmi.transport.Transport$1.run(Transport.java:1 53)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport. java:149)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages( TCPTransport.java:466)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandl er.run(TCPTransport.java:707)
    at java.lang.Thread.run(Thread.java:595)

    Have you any solution, thanks

  6. #6
    Join Date
    Jul 2008
    Location
    Hamburg, Germany
    Posts
    50

    Default

    Hi quentin,

    please try to log in into web ui as oxadmin.

    Then try 'changeuser' again.

    Might help (did for me).

    Sven

  7. #7
    quentin Guest

    Default RE:

    It is the same....
    :-(


    Quote Originally Posted by svensen View Post
    Hi quentin,

    please try to log in into web ui as oxadmin.

    Then try 'changeuser' again.

    Might help (did for me).

    Sven

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •