Kopano WebApp login not possible after upgrade from 4.1.4 to 4.2.1

kopano

#1

Hi,

i am getting the Error Unbekannter MAPI Fehler: MAPI_E_NOT_FOUND.

I see that there is another upgrade for kopano webapp from 3.2 to 3.3. When i try to install it, it tells me that i would need to install kopano core first, but this is installed and there is no update available. Its version is 8.1.1.10-8.1.3
Current WebApp Version is 3.2.0.335-19.1-2. Target version is 3.3.0.610.

Kind Regards,

Tobias Lorentz


#2

you’ll have to remove all kopano apps through app center and reinstall them through app center - you would not lose anything (no config no mailstore hook will be removed)

I had this to do on many of my updates from 4.1-4 to 4.2

rg
Christian


#3

Hi Christian,

i tried to do it via webapp, but that was not possible:

An unknown error with status code 504 occurred while connecting to the server, please try again later

So i checked it via univention-app command from the backend. There non of the 3 apps (core, webapp, z-push) had been listed.
Therefore i installed them again. But the webapp still shows the old number and still the same error.
When i try to execute kopano-admin, then i get the following error:

root@ucs:/home/tobias# kopano-admin
kopano-admin: /usr/lib/libkcarchiver.so.0: version `KC_8.3' not found (required by kopano-admin)
kopano-admin: /usr/lib/libkcutil.so.0: version `KC_8.2.1' not found (required by /usr/lib/libkcarchiver.so.0)
kopano-admin: /usr/lib/libkcmapi.so.0: version `KC_8.2.1' not found (required by /usr/lib/libkcarchiver.so.0)
kopano-admin: /usr/lib/libmapi.so.1: version `EC_8.2.1' not found (required by /usr/lib/libkcarchiver.so.0)

What was also strange, was some red output while installing core and webapp:

Trigger fĂĽr libapache2-mod-php5 (5.6.30+dfsg-0+deb8u1) werden verarbeitet ...
Traceback (most recent call last):
  File "/usr/sbin/univention-pkgdb-scan", line 37, in <module>
    univention.pkgdb.main()
  File "/usr/lib/pymodules/python2.7/univention/pkgdb.py", line 616, in main
    return action_scan(connection, cursor, config_registry)
  File "/usr/lib/pymodules/python2.7/univention/pkgdb.py", line 527, in action_s                                                                                                                                                             can
    scan_and_store_packages(cursor, sysname, fake_null, architecture)
  File "/usr/lib/pymodules/python2.7/univention/pkgdb.py", line 453, in scan_and                                                                                                                                                             _store_packages
    cursor.execute(delete_packages, {'sysname': sysname, })
  File "/usr/lib/python2.7/dist-packages/pgdb.py", line 259, in execute
    self.executemany(operation, (params,))
  File "/usr/lib/python2.7/dist-packages/pgdb.py", line 291, in executemany
    raise OperationalError("internal error in '%s': %s" % (sql, err))
pg.OperationalError: internal error in '
        DELETE FROM packages_on_systems
           WHERE sysname = 'ucs'
        ': SSL error: tlsv1 alert protocol version

close failed in file object destructor:
sys.excepthook is missing
lost sys.stderr

Don’t know if that is relevant…

Kind Regards,

Tobi


#4

Ok,
seems you had some kopano packages not removed after uninstalling the kopano-apps

after removing the kopano-apps from univention-app center got to package manager in web ui and search for kopano - deinstall all remaining kopano packages and then reinstall the kopano apps through app center

rg

Christian


#5

Hi Christian,

thank you very much for your help! Kopano-Core and WebApp are running now again!!!
I just do not get the Z-Push installed. It seems that there is no package for it. Here the trace for installing it via univention-app command line command:


root@ucs:/home/tobias# univention-install z-push-kopano
Ign http://updates.software-univention.de 4.0-0/all/ InRelease
Holen: 1 https://appcenter.software-univention.de kopano-core_20170530164016/all/ InRelease [285 B]
Ign https://appcenter.software-univention.de kopano-core_20170530164016/all/ InRelease
Holen: 2 https://appcenter.software-univention.de kopano-core_20170530164016/amd64/ InRelease [287 B]
Ign https://appcenter.software-univention.de kopano-core_20170530164016/amd64/ InRelease
Ign http://updates.software-univention.de 4.0-0/amd64/ InRelease
Holen: 3 https://appcenter.software-univention.de kopano-webapp_20170530164135/all/ InRelease [287 B]
Ign https://appcenter.software-univention.de kopano-webapp_20170530164135/all/ InRelease
Holen: 4 https://appcenter.software-univention.de kopano-webapp_20170530164135/amd64/ InRelease [289 B]
Ign https://appcenter.software-univention.de kopano-webapp_20170530164135/amd64/ InRelease
OK   https://appcenter.software-univention.de kopano-core_20170530164016/all/ Release.gpg
OK   https://appcenter.software-univention.de kopano-core_20170530164016/amd64/ Release.gpg
Ign http://updates.software-univention.de 4.0-1/all/ InRelease
OK   https://appcenter.software-univention.de kopano-webapp_20170530164135/all/ Release.gpg
OK   https://appcenter.software-univention.de kopano-webapp_20170530164135/amd64/ Release.gpg
OK   https://appcenter.software-univention.de kopano-core_20170530164016/all/ Release
Ign http://updates.software-univention.de 4.0-1/amd64/ InRelease
OK   https://appcenter.software-univention.de kopano-core_20170530164016/amd64/ Release
OK   https://appcenter.software-univention.de kopano-webapp_20170530164135/all/ Release
OK   https://appcenter.software-univention.de kopano-webapp_20170530164135/amd64/ Release
Ign http://updates.software-univention.de 4.0-2/all/ InRelease
OK   https://appcenter.software-univention.de kopano-core_20170530164016/all/ Packages
Ign http://updates.software-univention.de 4.0-2/amd64/ InRelease
OK   https://appcenter.software-univention.de kopano-core_20170530164016/amd64/ Packages
OK   https://appcenter.software-univention.de kopano-webapp_20170530164135/all/ Packages
Ign http://updates.software-univention.de 4.0-3/all/ InRelease
OK   https://appcenter.software-univention.de kopano-webapp_20170530164135/amd64/ Packages
Ign http://updates.software-univention.de 4.0-3/amd64/ InRelease
Ign http://updates.software-univention.de 4.0-4/all/ InRelease
Ign http://updates.software-univention.de 4.0-4/amd64/ InRelease
Ign http://updates.software-univention.de 4.0-5/all/ InRelease
Ign http://updates.software-univention.de 4.0-5/amd64/ InRelease
Ign http://updates.software-univention.de 4.1-0/all/ InRelease
Ign http://updates.software-univention.de 4.1-0/amd64/ InRelease
Ign http://updates.software-univention.de 4.1-1/all/ InRelease
Ign http://updates.software-univention.de 4.1-1/amd64/ InRelease
Ign http://updates.software-univention.de 4.1-2/all/ InRelease
Ign http://updates.software-univention.de 4.1-2/amd64/ InRelease
Ign http://updates.software-univention.de 4.1-3/all/ InRelease
Ign http://updates.software-univention.de 4.1-3/amd64/ InRelease
Ign http://updates.software-univention.de 4.1-4/all/ InRelease
Ign http://updates.software-univention.de 4.1-4/amd64/ InRelease
Ign http://updates.software-univention.de 4.2-0/all/ InRelease
Ign http://updates.software-univention.de 4.2-0/amd64/ InRelease
Ign http://updates.software-univention.de 4.2-1/all/ InRelease
Ign http://updates.software-univention.de 4.2-1/amd64/ InRelease
Ign http://updates.software-univention.de 4.2-1-errata/all/ InRelease
Ign http://updates.software-univention.de 4.2-1-errata/amd64/ InRelease
Ign http://updates.software-univention.de 4.0-4-errata/all/ InRelease
Ign http://updates.software-univention.de 4.0-4-errata/amd64/ InRelease
Ign http://updates.software-univention.de 4.1-4-errata/all/ InRelease
Ign http://updates.software-univention.de 4.1-4-errata/amd64/ InRelease
OK   http://updates.software-univention.de 4.0-0/all/ Release.gpg
OK   http://updates.software-univention.de 4.0-0/amd64/ Release.gpg
OK   http://updates.software-univention.de 4.0-1/all/ Release.gpg
OK   http://updates.software-univention.de 4.0-1/amd64/ Release.gpg
OK   http://updates.software-univention.de 4.0-2/all/ Release.gpg
OK   http://updates.software-univention.de 4.0-2/amd64/ Release.gpg
OK   http://updates.software-univention.de 4.0-3/all/ Release.gpg
OK   http://updates.software-univention.de 4.0-3/amd64/ Release.gpg
OK   http://updates.software-univention.de 4.0-4/all/ Release.gpg
OK   http://updates.software-univention.de 4.0-4/amd64/ Release.gpg
OK   http://updates.software-univention.de 4.0-5/all/ Release.gpg
OK   http://updates.software-univention.de 4.0-5/amd64/ Release.gpg
OK   http://updates.software-univention.de 4.1-0/all/ Release.gpg
OK   http://updates.software-univention.de 4.1-0/amd64/ Release.gpg
OK   http://updates.software-univention.de 4.1-1/all/ Release.gpg
OK   http://updates.software-univention.de 4.1-1/amd64/ Release.gpg
OK   http://updates.software-univention.de 4.1-2/all/ Release.gpg
OK   http://updates.software-univention.de 4.1-2/amd64/ Release.gpg
OK   http://updates.software-univention.de 4.1-3/all/ Release.gpg
OK   http://updates.software-univention.de 4.1-3/amd64/ Release.gpg
OK   http://updates.software-univention.de 4.1-4/all/ Release.gpg
OK   http://updates.software-univention.de 4.1-4/amd64/ Release.gpg
OK   http://updates.software-univention.de 4.2-0/all/ Release.gpg
OK   http://updates.software-univention.de 4.2-0/amd64/ Release.gpg
OK   http://updates.software-univention.de 4.2-1/all/ Release.gpg
OK   http://updates.software-univention.de 4.2-1/amd64/ Release.gpg
OK   http://updates.software-univention.de 4.2-1-errata/all/ Release.gpg
OK   http://updates.software-univention.de 4.2-1-errata/amd64/ Release.gpg
OK   http://updates.software-univention.de 4.0-4-errata/all/ Release.gpg
OK   http://updates.software-univention.de 4.0-4-errata/amd64/ Release.gpg
OK   http://updates.software-univention.de 4.1-4-errata/all/ Release.gpg
OK   http://updates.software-univention.de 4.1-4-errata/amd64/ Release.gpg
OK   http://updates.software-univention.de 4.0-0/all/ Release
OK   http://updates.software-univention.de 4.0-0/amd64/ Release
OK   http://updates.software-univention.de 4.0-1/all/ Release
OK   http://updates.software-univention.de 4.0-1/amd64/ Release
OK   http://updates.software-univention.de 4.0-2/all/ Release
OK   http://updates.software-univention.de 4.0-2/amd64/ Release
OK   http://updates.software-univention.de 4.0-3/all/ Release
OK   http://updates.software-univention.de 4.0-3/amd64/ Release
OK   http://updates.software-univention.de 4.0-4/all/ Release
OK   http://updates.software-univention.de 4.0-4/amd64/ Release
OK   http://updates.software-univention.de 4.0-5/all/ Release
OK   http://updates.software-univention.de 4.0-5/amd64/ Release
OK   http://updates.software-univention.de 4.1-0/all/ Release
OK   http://updates.software-univention.de 4.1-0/amd64/ Release
OK   http://updates.software-univention.de 4.1-1/all/ Release
OK   http://updates.software-univention.de 4.1-1/amd64/ Release
OK   http://updates.software-univention.de 4.1-2/all/ Release
OK   http://updates.software-univention.de 4.1-2/amd64/ Release
OK   http://updates.software-univention.de 4.1-3/all/ Release
OK   http://updates.software-univention.de 4.1-3/amd64/ Release
OK   http://updates.software-univention.de 4.1-4/all/ Release
OK   http://updates.software-univention.de 4.1-4/amd64/ Release
OK   http://updates.software-univention.de 4.2-0/all/ Release
OK   http://updates.software-univention.de 4.2-0/amd64/ Release
OK   http://updates.software-univention.de 4.2-1/all/ Release
OK   http://updates.software-univention.de 4.2-1/amd64/ Release
OK   http://updates.software-univention.de 4.2-1-errata/all/ Release
OK   http://updates.software-univention.de 4.2-1-errata/amd64/ Release
OK   http://updates.software-univention.de 4.0-4-errata/all/ Release
OK   http://updates.software-univention.de 4.0-4-errata/amd64/ Release
OK   http://updates.software-univention.de 4.1-4-errata/all/ Release
OK   http://updates.software-univention.de 4.1-4-errata/amd64/ Release
OK   http://updates.software-univention.de 4.0-0/all/ Packages
OK   http://updates.software-univention.de 4.0-0/amd64/ Packages
OK   http://updates.software-univention.de 4.0-1/all/ Packages
OK   http://updates.software-univention.de 4.0-1/amd64/ Packages
OK   http://updates.software-univention.de 4.0-2/all/ Packages
OK   http://updates.software-univention.de 4.0-2/amd64/ Packages
OK   http://updates.software-univention.de 4.0-3/all/ Packages
OK   http://updates.software-univention.de 4.0-3/amd64/ Packages
OK   http://updates.software-univention.de 4.0-4/all/ Packages
OK   http://updates.software-univention.de 4.0-4/amd64/ Packages
OK   http://updates.software-univention.de 4.0-5/all/ Packages
OK   http://updates.software-univention.de 4.0-5/amd64/ Packages
OK   http://updates.software-univention.de 4.1-0/all/ Packages
OK   http://updates.software-univention.de 4.1-0/amd64/ Packages
OK   http://updates.software-univention.de 4.1-1/all/ Packages
OK   http://updates.software-univention.de 4.1-1/amd64/ Packages
OK   http://updates.software-univention.de 4.1-2/all/ Packages
OK   http://updates.software-univention.de 4.1-2/amd64/ Packages
OK   http://updates.software-univention.de 4.1-3/all/ Packages
OK   http://updates.software-univention.de 4.1-3/amd64/ Packages
OK   http://updates.software-univention.de 4.1-4/all/ Packages
OK   http://updates.software-univention.de 4.1-4/amd64/ Packages
OK   http://updates.software-univention.de 4.2-0/all/ Packages
OK   http://updates.software-univention.de 4.2-0/amd64/ Packages
OK   http://updates.software-univention.de 4.2-1/all/ Packages
OK   http://updates.software-univention.de 4.2-1/amd64/ Packages
OK   http://updates.software-univention.de 4.2-1-errata/all/ Packages
OK   http://updates.software-univention.de 4.2-1-errata/amd64/ Packages
OK   http://updates.software-univention.de 4.0-4-errata/all/ Packages
OK   http://updates.software-univention.de 4.0-4-errata/amd64/ Packages
OK   http://updates.software-univention.de 4.1-4-errata/all/ Packages
OK   http://updates.software-univention.de 4.1-4-errata/amd64/ Packages
Paketlisten werden gelesen...
Paketlisten werden gelesen...
Abhängigkeitsbaum wird aufgebaut....
Statusinformationen werden eingelesen....
Package z-push-kopano is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'z-push-kopano' has no installation candidate

Kind Regards,

Tobi


#6

From command line you’ll have to use the following command:

univention-app install z-push-kopano

not univention-install as this will only install packages not apps

also check that all old z-push packages are removed and the app is not in the installed ones on the univention web gui

rg
Christian


#7

Hi Christian,

thank you very much. I am so blind. As written above, i used always the univention-app command, but the autocompletion seem to have changed that here to univention-install… Simple mistake, but impact…

Kind Regards,

Tobi


#8

perfect that it works now :slight_smile:

rg
Christian