Fwd: Update Kolab16 on Debian 10 broken? still broken?
Matthias Busch
catwiesel at gmx.net
Wed Sep 14 16:32:55 CEST 2022
Hey all,
first, took me some time to deal with kolab again, I felt like, running
away to the other side of the country and just sit around all lazy in
the sun was prefarable. it was...
the tip with the wrong line from hede was spot on. It appears that
removing that line helped to finish without any error messages.
could of course also be that the fix from Christoph was also added to
the packages and helped as well. So the first server could install
(upgrade) updates, then remove and reinstall roundcube (dist-upgrade)
without any issues.
the second server, a more or less copy of the first, except for some
data, different users, and all, breaks when I apt-get upgrade. There are
no error messages, but webmail as well as logging in via imap will yield
a mailbox not found error.
I dont think this is a roundcube issue, its also present in imap. I dont
think its a guam issue because, I dont see any issue there, but more
importantly, kolab lm does not list a single mailbox either. something
is really wrong here. logging in webadmin, my users are all there still.
dirsrv seems to work as intended.
running su cyrus -c "/usr/lib/cyrus/bin/reconstruct -V max" shows the
mailboxes still exist.
kolab sync does not fix the issue, but it also does not fix it.
the only difference between both installations the I think is maybe
related is, the working one has one domain, the broken one has a second
marked as deleted domain. that one was never really used. I would prefer
to remove it entirely, but the ui wont allow it and I have yet to start
dig around in ldap, and up until now, it never caused any issue.
I am able and willing to try stuff out, to post logs, to find the
problem, but honestly, I dont know where to go from here. how can the
mailboxes exist in cyrus, the users exist in webadmin, but the mailboxes
not be visible with kolab lm
I will also add, on the working server, I found some lines like (which I
dont like, but may be of no importance) post upgrade:
2022-09-14 15:26:50,248 pykolab.imap ERROR [978] Could not create folder
'user/name.name at domain.tld' on server 'localhost': CYRUSError(20,
'CREATE', 'Permission denied')
2022-09-14 15:26:51,319 pykolab.imap ERROR [978] Could not create folder
'user/name.name at domain.tld' on server 'localhost': CYRUSError(20,
'CREATE', 'Mailbox already exists')
On the broken server post upgrade were lines like
2022-09-14 16:06:01,160 pykolab.imap ERROR [16285] Could not create
folder 'shared/info at domain.tld': CYRUSError(20, 'CREATE', 'Permission
denied')
2022-09-14 16:06:01,163 pykolab.imap ERROR [16285] Konnte Annotation
'/vendor/kolab/folder-type' auf Verzeichnis 'shared/info at domain.tld'
nicht setzen: CYRUSError(99, 'SETANNOTATION', 'Mailbox does not exist')
2022-09-14 16:06:01,165 pykolab.auth ERROR [16285] An error occured
using _persistent_search: CYRUSError(30, 'GETACL', 'Mailbox does not exist')
2022-09-14 16:06:01,165 pykolab.auth ERROR [16285] Traceback (most
recent call last):
File
"/usr/lib/python2.7/dist-packages/pykolab/auth/ldap/__init__.py", line
3211, in _search
secondary_domains
File "<string>", line 10, in <module>
File
"/usr/lib/python2.7/dist-packages/pykolab/auth/ldap/__init__.py", line
2923, in _persistent_search
secondary_domains=secondary_domains
File
"/usr/lib/python2.7/dist-packages/pykolab/auth/ldap/__init__.py", line
2753, in _synchronize_callback
eval("self._change_none_%s(entry, change_dict)" % (entry['type']))
File "<string>", line 1, in <module>
File
"/usr/lib/python2.7/dist-packages/pykolab/auth/ldap/__init__.py", line
2236, in _change_none_sharedfolder
entry['kolabfolderaclentry'], folder_path, True
File "/usr/lib/python2.7/dist-packages/pykolab/imap/__init__.py",
line 923, in _set_kolab_mailfolder_acls
old_acls = self.list_acls(folder)
File "/usr/lib/python2.7/dist-packages/pykolab/imap/__init__.py",
line 1196, in list_acls
return self.imap.lam(self.folder_utf7(folder))
File "/usr/lib/python2.7/dist-packages/cyruslib.py", line 572, in lam
res, acl = self.__docommand("getacl", self.decode(mailbox))
File "/usr/lib/python2.7/dist-packages/cyruslib.py", line 393, in
__docommand
self.__doexception(function, msg[0], *args)
File "/usr/lib/python2.7/dist-packages/cyruslib.py", line 361, in
__doexception
self.__doraise( function.upper(), msg )
File "/usr/lib/python2.7/dist-packages/cyruslib.py", line 370, in
__doraise
raise CYRUSError( idError[0], mode, msg )
CYRUSError: (30, 'GETACL', 'Mailbox does not exist')
2022-09-14 16:06:01,174 pykolab.imap ERROR [16285] Could not create
folder 'shared/info at domain.tld': CYRUSError(20, 'CREATE', 'Permission
denied')
2022-09-14 16:06:01,176 pykolab.imap ERROR [16285] Konnte Annotation
'/vendor/kolab/folder-type' auf Verzeichnis 'shared/info at domain.tld'
nicht setzen: CYRUSError(99, 'SETANNOTATION', 'Mailbox does not exist')
2022-09-14 16:06:01,177 pykolab.auth ERROR [16285] An error occured
using _paged_search: CYRUSError(30, 'GETACL', 'Mailbox does not exist')
2022-09-14 16:06:01,177 pykolab.auth ERROR [16285] Traceback (most
recent call last):
File
"/usr/lib/python2.7/dist-packages/pykolab/auth/ldap/__init__.py", line
3211, in _search
secondary_domains
File "<string>", line 10, in <module>
File
"/usr/lib/python2.7/dist-packages/pykolab/auth/ldap/__init__.py", line
2975, in _paged_search
callback(entry=_result_data)
File
"/usr/lib/python2.7/dist-packages/pykolab/auth/ldap/__init__.py", line
2806, in _synchronize_callback
eval("self._change_none_%s(entry, None)" % (entry['type']))
File "<string>", line 1, in <module>
File
"/usr/lib/python2.7/dist-packages/pykolab/auth/ldap/__init__.py", line
2236, in _change_none_sharedfolder
entry['kolabfolderaclentry'], folder_path, True
File "/usr/lib/python2.7/dist-packages/pykolab/imap/__init__.py",
line 923, in _set_kolab_mailfolder_acls
old_acls = self.list_acls(folder)
File "/usr/lib/python2.7/dist-packages/pykolab/imap/__init__.py",
line 1196, in list_acls
return self.imap.lam(self.folder_utf7(folder))
File "/usr/lib/python2.7/dist-packages/cyruslib.py", line 572, in lam
res, acl = self.__docommand("getacl", self.decode(mailbox))
File "/usr/lib/python2.7/dist-packages/cyruslib.py", line 393, in
__docommand
self.__doexception(function, msg[0], *args)
File "/usr/lib/python2.7/dist-packages/cyruslib.py", line 361, in
__doexception
self.__doraise( function.upper(), msg )
File "/usr/lib/python2.7/dist-packages/cyruslib.py", line 370, in
__doraise
raise CYRUSError( idError[0], mode, msg )
CYRUSError: (30, 'GETACL', 'Mailbox does not exist')
More information about the users
mailing list