After upgrade to 4.4.0 a python script is not working

After upgrading my UCS to 4.4.0 my script for cleanup old mails in the trash of Kopano isn’t working anymore.

In the beginning of the well known script kopano-cleanup.py the module kopano should be imported. But it appears a “ImportError: No module named kopano” and the script is not working anymore

Is this a problem

  • of UCS, because before the upgrade there was no problem?
  • of Kopano?
  • of anyone other?

Heiko

Hi @Heiko,

I have collected a list of commands to collect data in case of such questions: https://wiki.z-hub.io/display/K4U/Debugging+Kopano+on+Univention

The short answer to your question is: youre missing python-kopano (and it was probably already missing before the upgrade)

Hallo Felix,

kopano-cleanup.py runs yesterday morning the last time which i can see in the log. In the afternoon i upgraded UCS without any problems so far i can see. Nothing special in all logs until now. Only the mail with the errors of the script in the morning today.

The output of some tips from your collection:

root@server2:~# dpkg -l | grep -w ‘kopano4ucs|kopano-server-packages|kopano-webapp|z-push-kopano’
ii kopano-server-packages 8.7.0.0-0+1.1 all Metapackage to install the entire Kopano Core stack
ii kopano-webapp 3.5.3.2209+89.1 all New and improved WebApp for Kopano
ii kopano-webapp-plugin-desktopnotifications 2.0.2.23+28.3 all Kopano WebApp Desktop notifications plugin
ii kopano-webapp-plugin-filepreviewer 2.1.0.26+20.4 all Kopano File previewer plugin
ii kopano-webapp-plugin-files 2.1.5.305+93.1 all Adds Files functionality to Kopano enabling access to WebDAV and other files backends.
ii kopano-webapp-plugin-filesbackend-owncloud 2.1.0.87+41.1 all Adds Owncloud specific functionality to Kopano Files plugin.
ii kopano-webapp-plugin-filesbackend-smb 2.1.0.50+30.1 all Adds Samba specific functionality to Kopano Files plugin.
ii kopano-webapp-plugin-folderwidgets 3.5.3.2209+89.1 all Kopano WebApp folder widgets plugin
ii kopano-webapp-plugin-mdm 2.1.0.97+33.1 all Kopano WebApp MDM plugin
ii kopano-webapp-plugin-smime 2.2.1.223+22.1 all Kopano WebApp S/MIME plugin
ii kopano-webapp-plugin-spell 2.0.0.19+37.3 all Kopano WebApp Spellchecker plugin
ii kopano-webapp-plugin-spell-de-de 2.0.0.3+34.3 all Kopano WebApp Spellchecker German dictionary plugin
ii kopano-webapp-plugin-spell-en 2.0.0.1+34.3 all Kopano WebApp Spellchecker English dictionary plugin
ii kopano-webapp-plugin-spell-nl 2.0.0.1+35.3 all Kopano WebApp Spellchecker Dutch dictionary plugin
ii kopano-webapp-plugin-titlecounter 3.5.3.2209+89.1 all Kopano WebApp Titlecounter plugin
ii kopano-webapp-plugin-webappmanual 3.5.3.2209+89.1 all Kopano WebApp Manual plugin
ii kopano4ucs 1.5.13 all Kopano4ucs integration package for Univention Corporate Server
ii kopano4ucs-lib 1.5.27 all Library package for common Kopano4ucs functions
ii kopano4ucs-schema 1.5.13 all LDAP schema for the Kopano4ucs integration
ii kopano4ucs-udm 1.5.13 all UDM extensions for the Kopano4ucs integration
ii kopano4ucs-webapp 1.5.27 all Kopano4ucs kopano-webapp integration package for Univention Corporate Server
ii kopano4ucs-z-push 1.4.18 all Meta package for Z-Push installation
ii z-push-kopano 2.4.5+0-0 all Z-Push for Kopano
ii z-push-kopano-gabsync 2.4.5+0-0 all GAB sync for Kopano
root@server2:~# univention-app info
UCS: 4.4-0 errata5
Installed: admindiary-backend=1.0 admindiary-frontend=1.0 fetchmail=6.3.26 kopano-core=8.6.8.2 kopano-webapp=3.5.2.2146 letsencrypt=1.2.2-8 samba4=4.10 self-service=4.0 z-push-kopano=2.4.4 4.1/nextcloud=14.0.6-1
Upgradable:

Is something missing? How can i get python-kopano?

univention-install ...

I‘m ashamed.

Many thanks again.

Mastodon