Announcement

Collapse
No announcement yet.

Internal server error after an upgrade

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Internal server error after an upgrade

    Hi, after an upgrade of open-xchange made on 28 october 2011 I cannot login to the web interface.

    I see the "Internal server error message" and on the /var/log/open-xchange/open-xchange.log.0 I see these:

    SEVERE: Logged at: com.openexchange.ajp13.coyote.AjpProcessor.process (AjpProcessor.java:806)
    ajpprocessor.request.process: request-URI=''/ajax/login'', query-string=''action=login&modules=true&client=com.open exchange.ox.gui.dhtml&version=6.20.0%20Rev30&authI d=6155a807-f779-4679-838d-5bd5ff740000''
    com.openexchange.ajp13.remoteAddress=127.0.0.1
    java.lang.IncompatibleClassChangeError: Found interface com.openexchange.groupware.settings.Setting, but class was expected
    at com.openexchange.contactcollector.preferences.Cont actCollectOnMailAccess$1.getValue(ContactCollectOn MailAccess.java:86)
    at com.openexchange.groupware.settings.impl.RdbSettin gStorage.readSharedValue(RdbSettingStorage.java:35 5)
    at com.openexchange.groupware.settings.impl.RdbSettin gStorage.readValues(RdbSettingStorage.java:299)
    at com.openexchange.groupware.settings.impl.RdbSettin gStorage.readSubValues(RdbSettingStorage.java:408)
    at com.openexchange.groupware.settings.impl.RdbSettin gStorage.readValues(RdbSettingStorage.java:295)
    at com.openexchange.groupware.settings.impl.RdbSettin gStorage.readSubValues(RdbSettingStorage.java:408)
    at com.openexchange.groupware.settings.impl.RdbSettin gStorage.readValues(RdbSettingStorage.java:295)
    at com.openexchange.ajax.Login.appendModules(Login.ja va:1033)
    at com.openexchange.ajax.Login.doLogin(Login.java:864 )
    at com.openexchange.ajax.Login$1.handleRequest(Login. java:177)
    at com.openexchange.ajax.Login.doJSONAuth(Login.java: 704)
    at com.openexchange.ajax.Login.doGet(Login.java:691)
    at com.openexchange.ajax.Login.doPost(Login.java:815)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:727)
    at com.openexchange.ajax.AJAXServlet.service(AJAXServ let.java:417)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:820)
    at com.openexchange.ajp13.coyote.AjpProcessor.process (AjpProcessor.java:793)
    at com.openexchange.ajp13.coyote.sockethandler.Coyote Task.call(CoyoteTask.java:165)
    at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.jav a:138)
    at com.openexchange.threadpool.internal.CustomThreadP oolExecutor$Worker.runTask(CustomThreadPoolExecuto r.java:750)
    at com.openexchange.threadpool.internal.CustomThreadP oolExecutor$Worker.run(CustomThreadPoolExecutor.ja va:776)
    at java.lang.Thread.run(Thread.java:662)

    The problem occurred after updating from repository "/ OX6/snapshot/DebianSqueeze".

    I'm using these repositories instead of the stable version because the stable version does not handle properly the external phone connection via ldap and have some other little bugs resolved by snapshot version.

    This is the list of installed package:
    # dpkg -l | grep open-xchange
    ii open-xchange 6.20.0.0-30 Open-Xchange server scripts and configuration
    ii open-xchange-activation 6.20.0.0-27 Bundled version of the Java Activation Framework
    ii open-xchange-admin 6.20.0.0-27 Open Xchange Admin Daemon containing commandline tools and provisioning interface
    ii open-xchange-admin-client 6.20.0.0-27 The Open Xchange Admin Daemon RMI client library
    ii open-xchange-admin-doc 6.20.0.0-27 Documentation for the Open Xchange RMI client library.
    ii open-xchange-admin-lib 6.20.0.0-27 The Open Xchange Admin Daemon Bundle client library
    ii open-xchange-admin-plugin-hosting 6.20.0.0-27 Open Xchange Admin Hosting Plugin
    ii open-xchange-admin-plugin-hosting-client 6.20.0.0-27 The Open Xchange Admin Hosting RMI client library
    ii open-xchange-admin-plugin-hosting-doc 6.20.0.0-27 Documentation for the Open Xchange RMI client library.
    ii open-xchange-admin-plugin-hosting-lib 6.20.0.0-27 The Open Xchange Admin Hosting Bundle client library
    ii open-xchange-ajp 6.20.0.0-27 The Open-Xchange AJP bundle
    ii open-xchange-authentication-imap 6.20.0.0-27 The Open-Xchange IMAP Authentication. Now with multiple Server Support
    ii open-xchange-authorization-standard 6.20.0.0-27 Default Open-Xchange Authorization implementation
    ii open-xchange-cache 6.20.0.0-27 The Open-Xchange Server Caching Bundle
    ii open-xchange-caldav 6.20.0.0-11 The Open-Xchange Caldav server
    ii open-xchange-calendar 6.20.0.0-27 Calendar Module
    ii open-xchange-calendar-printing 6.20.0.0-27 Printing calendars via templating
    ii open-xchange-carddav 6.20.0.0-10 The Open-Xchange Carddav server
    ii open-xchange-charset 6.20.0.0-27 charset bundle
    ii open-xchange-common 6.20.0.0-27 jar files and OSGi bundles commonly used by all open-xchange packages
    ii open-xchange-config-cascade 6.20.0.0-27 The Open-Xchange Server Config Cascade Bundle
    ii open-xchange-config-cascade-context 6.20.0.0-27 The Open-Xchange Server Config Cascade Bundle
    ii open-xchange-config-cascade-user 6.20.0.0-27 The Open-Xchange Server Config Cascade Bundle
    ii open-xchange-configread 6.20.0.0-27 The Open-Xchange Server Config Bundle
    ii open-xchange-contactcollector 6.20.0.0-27 The contact collector collects eMail addresses in a custom contact folder
    ii open-xchange-contacts-ldap 6.20.0.0-27 This bundle provides a global LDAP address book
    ii open-xchange-control 6.20.0.0-27 The Open-Xchange Server Control Bundle
    ii open-xchange-conversion 6.20.0.0-27 The Open-Xchange Conversion Bundle
    ii open-xchange-conversion-engine 6.20.0.0-27 The Open-Xchange Conversion Engine Bundle
    ii open-xchange-conversion-servlet 6.20.0.0-27 The Open-Xchange Conversion Servlet
    ii open-xchange-crypto 6.20.0.0-27 Provides cryptography services to bundles in the OX server
    ii open-xchange-data-conversion-ical4j 6.20.0.0-27 The Open-Xchange data conversion iCal4j implementation
    ii open-xchange-dataretention 6.20.0.0-27 The Open-Xchange Server Data Retention Bundle
    ii open-xchange-file-storage 6.20.0.0-27 The Open-Xchange File Storage Bundle
    ii open-xchange-file-storage-composition 6.20.0.0-27 The Open-Xchange File Storage Composition Bundle
    ii open-xchange-file-storage-config 6.20.0.0-27 The Open-Xchange File Storage Config Bundle
    ii open-xchange-file-storage-generic 6.20.0.0-27 The Open-Xchange File Storage Generic Bundle
    ii open-xchange-file-storage-infostore 6.20.0.0-27 The Open-Xchange File Storage Infostore Bundle
    ii open-xchange-file-storage-json 6.20.0.0-27 The Open-Xchange File Storage JSON Bundle
    ii open-xchange-file-storage-webdav 6.20.0.0-27 The Open-Xchange File Storage WebDAV Bundle
    ii open-xchange-folder-json 6.20.0.0-27 The Open-Xchange folder JSON interface bundle
    ii open-xchange-frontend-uwa 6.20.0.0-27 Management of UWA Widgets
    ii open-xchange-frontend-uwa-json 6.20.0.0-27 The Open-Xchange File Storage JSON Bundle
    ii open-xchange-genconf 6.20.0.0-27 The Open-Xchange Server Generic Configuration Bundle
    ii open-xchange-genconf-mysql 6.20.0.0-27 Stores a set of generic options in the mysql database
    ii open-xchange-global 6.20.0.0-28 global bundle
    ii open-xchange-group-managerequest 6.20.0.0-27 The Open-Xchange Server Group Management Request Bundle
    ii open-xchange-gui 6.20.0.0-32 Package containing the AJAX gui
    ii open-xchange-gui-ie6-compat 6.8.1-152 Package containing the AJAX gui
    ii open-xchange-gui-lang-it-it 6.20.0.0-28 Package containing translation for it_IT
    ii open-xchange-gui-loading-theme-default 6.20.0.0-32 Package containing the default loading theme
    ii open-xchange-gui-login-theme-default 6.20.0.0-32 Package containing the default login theme
    ii open-xchange-gui-themes-default 6.20.0.0-32 Package containing the default themes
    ii open-xchange-gui-wizard-plugin 6.20.0.0-29 Open-Xchange GUI Wizard Server Plug-In.
    ii open-xchange-gui-wizard-plugin-gui 6.20.0.0-29 Open-Xchange GUI Wizard Plug-In.
    ii open-xchange-html 6.20.0.0-27 The Open-Xchange HTML Bundle
    ii open-xchange-http-deferrer 6.20.0.0-20 The Open-Xchange Deferrer Servlet
    ii open-xchange-i18n 6.20.0.0-27 The Open-Xchange i18n Bundle
    ii open-xchange-imap 6.20.0.0-27 The Open-Xchange Server IMAP Bundle
    ii open-xchange-jcharset 6.20.0.0-27 jcharset bundle
    ii open-xchange-lang 6.20.0.0-28 Package containing i18n helper functions
    ii open-xchange-lang-it-it 6.20.0.0-28 Package containing translation for it_IT
    ii open-xchange-logging 6.20.0.0-27 The Open-Xchange Logging Configuration
    ii open-xchange-mailfilter 6.20.0.0-27 Open Xchange Mailfilter Plugin
    ii open-xchange-management 6.20.0.0-27 The Open-Xchange Management Bundle
    ii open-xchange-messaging 6.20.0.0-27 The Open-Xchange Messaging Bundle
    ii open-xchange-messaging-facebook 6.20.0.0-27 The Open-Xchange Messaging Facebook Bundle
    ii open-xchange-messaging-generic 6.20.0.0-27 The Open-Xchange Messaging Generic Bundle
    ii open-xchange-messaging-json 6.20.0.0-27 The Open-Xchange Messaging JSON Bundle
    ii open-xchange-messaging-rss 6.20.0.0-28 The Open-Xchange Messaging RSS Bundle
    ii open-xchange-messaging-twitter 6.20.0.0-28 The Open-Xchange Messaging Twitter Bundle
    ii open-xchange-meta-admin 6.20.0.0-27 The Open-Xchange Meta package for User/Group Provisioning
    ii open-xchange-meta-gui 6.20.0.0-27 The Open-Xchange Meta package for OX GUI
    ii open-xchange-meta-messaging 6.20.0.0-27 The Open-Xchange Meta package for Messaging
    ii open-xchange-meta-pubsub 6.20.0.0-27 The Open-Xchange Meta package for Publish and Subscribe
    ii open-xchange-meta-server 6.20.0.0-27 The Open-Xchange Meta package for OX Backend
    ii open-xchange-meta-singleserver 6.20.0.0-27 The Open-Xchange Meta package for OX on a single server
    ii open-xchange-modules-json 6.20.0.0-27 The Open-Xchange generic JSON interface bundle
    ii open-xchange-modules-model 6.20.0.0-27 Base classes for attribute based programming
    ii open-xchange-modules-storage 6.20.0.0-27 Helper classes for common storage tasks
    ii open-xchange-monitoring 6.20.0.0-27 The Open-Xchange Monitoring Bundle
    ii open-xchange-oauth 6.20.0.0-27 OAuth Service
    ii open-xchange-oauth-facebook 6.20.0.0-27 Facebook via OAuth for Open-Xchange Server 6
    ii open-xchange-oauth-json 6.20.0.0-27 The Open-Xchange OAuth JSON interface bundle
    ii open-xchange-oauth-linkedin 6.20.0.0-27 LinkedIn via OAuth for Open-Xchange Server 6
    ii open-xchange-oauth-msn 6.20.0.0-21 WindowsLive / MSN via OAuth for Open-Xchange Server 6
    ii open-xchange-oauth-twitter 6.20.0.0-27 Twitter via OAuth for Open-Xchange Server 6
    ii open-xchange-online-help-de-de 6.20.0.0-27 Package containing german OX online help
    ii open-xchange-online-help-en-us 6.20.0.0-27 Package containing english OX online help
    ii open-xchange-online-help-fr-fr 6.20.0.0-27 Package containing french OX online help
    ii open-xchange-pop3 6.20.0.0-27 The Open-Xchange Server POP3 Bundle
    ii open-xchange-proxy 6.20.0.0-27 The Open-Xchange Proxy Bundle
    ii open-xchange-proxy-servlet 6.20.0.0-27 The Open-Xchange Proxy Servlet Bundle
    ii open-xchange-publish 6.20.0.0-27 Interfaces defining the OX publication API
    ii open-xchange-publish-basic 6.20.0.0-27 Basic OSGi based implementation of the publication infrastructure
    ii open-xchange-publish-infostore-online 6.20.0.0-26 Publishes a single infostore document externally
    ii open-xchange-publish-json 6.20.0.0-26 HTTP-API Interface implementation for publication services
    ii open-xchange-publish-microformats 6.20.0.0-26 Publishes a set of objects in OXMF externally
    ii open-xchange-push 6.20.0.0-27 The Open-Xchange Push Bundle
    ii open-xchange-push-udp 6.20.0.0-27 The Open-Xchange Server Push UDP Bundle
    ii open-xchange-report-client 6.20.0.0-27 Open-Xchange reporting client.
    ii open-xchange-resource-managerequest 6.20.0.0-27 The Open-Xchange Server Resource Manage Request Bundle
    ii open-xchange-secret 6.20.0.0-27 Creates plugin architecture for supplying the application with secret strings used for encryption and decryption.
    ii open-xchange-secret-recovery 6.20.0.0-26 Recovery for saved encrypted strings when changing the secret.
    ii open-xchange-secret-recovery-json 6.20.0.0-26 Recovery for saved encrypted strings when changing the secret in Mail Accounts.
    ii open-xchange-secret-recovery-mail 6.20.0.0-26 Recovery for saved encrypted strings when changing the secret in Mail Accounts.
    ii open-xchange-server 6.20.0.0-30 The Open-Xchange Server Bundle
    ii open-xchange-sessiond 6.20.0.0-27 The Open-Xchange Server Session Daemon
    ii open-xchange-settings-extensions 6.20.0.0-27 The Open-Xchange Settings Extensions
    ii open-xchange-smtp 6.20.0.0-27 The Open-Xchange Server SMTP Bundle
    ii open-xchange-spamhandler-default 6.20.0.0-27 The Open-Xchange Default Spam Handler
    ii open-xchange-sql 6.20.0.0-27 SQL Builder API
    ii open-xchange-subscribe 6.20.0.0-27 Basic OSGi based implementation of the subscription infrastructure
    ii open-xchange-subscribe-crawler 6.20.0.0-27 Subscribe Crawler feeds
    ii open-xchange-subscribe-facebook 6.20.0.0-27 Facebook Subscription Source for Open-Xchange Server 6
    ii open-xchange-subscribe-json 6.20.0.0-27 HTTP-API Interface implementation for subscription services
    ii open-xchange-subscribe-linkedin 6.20.0.0-27 LinkedIn Subscription Source for Open-Xchange Server 6
    ii open-xchange-subscribe-microformats 6.20.0.0-27 Subscribe Microformat feeds
    ii open-xchange-subscribe-msn 6.20.0.0-21 MSN Subscription Source for Open-Xchange Server 6
    ii open-xchange-templating 6.20.0.0-26 Provides access to the templating subsystem
    ii open-xchange-templating-json 6.20.0.0-26 Provides access to template names via the HTTP-API
    ii open-xchange-threadpool 6.20.0.0-27 The Open-Xchange Thread Pool Bundle
    ii open-xchange-twitter 6.20.0.0-27 The Open-Xchange Twitter Bundle
    ii open-xchange-tx 6.20.0.0-27 Transaction Services
    ii open-xchange-unifiedinbox 6.20.0.0-27 The Open-Xchange Server Unified INBOX Bundle
    ii open-xchange-user-json 6.20.0.0-27 The Open-Xchange user JSON interface bundle
    ii open-xchange-webdav-acl 6.20.0.0-10 The Open-Xchange WebDAV ACL interface
    ii open-xchange-webdav-directory 6.20.0.0-10 The Open-Xchange WebDAV directory bundle
    ii open-xchange-xerces-sun 6.20.0.0-27 Xerces Compat for Sun Java
    ii open-xchange-xml 6.20.0.0-27 XML Service

    Any suggestion is welcome, thank you.
    Last edited by comunelevico; 10-28-2011, 08:23 PM.

  • #2
    Hi,

    it's possible that these releases are not stable, they are automatically built (that's why we call them snapshot). Please update to the next snapshot version and check if the issue has been resolved in the meantime. Perhaps not all packages got upgraded? Thanks for the hint however.

    Comment


    • #3
      Hi Martin, thanks for your reply.

      I know that the snapshot version must be intended for "not use in a production environment" :-)

      After an upgrade, 5 minute ago, the error message and the log message on /var/log/open-xchange.log.0 are the same.
      'll try again in a couple of days.

      I have a questions about best practice when I want upgrade with standard command on my debian (apt-get update, apt-upgrade):
      - it's a good idea to stop /etc/init.d/open-xchange-admin and /etc/init.d/open-xchange-groupware before start to an upgrade ?

      thanks.

      Comment


      • #4
        Originally posted by Martin Braun View Post
        Hi,

        Perhaps not all packages got upgraded?
        I forgot to say.... no all the packages seem to be upgraded.

        Comment


        • #5
          Hi,

          it does not matter wether the services are running during an update. However, you should restart them afterwards to avoid confusion due to configuration changes. Please update using "apt-get dist-upgrade".

          Comment


          • #6
            You can try the following command:

            aptitude clean && aptitude update && aptitude -y upgrade && dpkg --get-selections | grep open-xchange | cut -f 1 | xargs aptitude reinstall && aptitude clean

            This ensures that all open-xchange packages will be reinstalled.
            Markus Wagner
            Open-Xchange Quality Assurance

            Comment


            • #7
              Originally posted by Markus Wagner View Post
              You can try the following command:

              aptitude clean && aptitude update && aptitude -y upgrade && dpkg --get-selections | grep open-xchange | cut -f 1 | xargs aptitude reinstall && aptitude clean

              This ensures that all open-xchange packages will be reinstalled.
              Fantastic ! ...problem resolved.

              I've copy and paste your script on my documentation for future use :-)

              thank you very much.

              Comment

              Working...
              X