Package: calendarserver
Version: 9.1+dfsg-1
Severity: normal
After upgrading from version 7.0+dfsg-2, the server (using the
postgresql backend) fails to start.
This occurs even when attempting to run the calendarserver_upgrade
script, and even when the updates in
/usr/lib/python2.7/dist-packages/txdav/common/datastore/sql_schema are
applied manually.
systemd[1]: Starting LSB: Calendar and Contacts Server...
calendarserver[3721]: Traceback (most recent call last):
calendarserver[3721]: File "/usr/bin/twistd", line 11, in <module>
calendarserver[3721]: load_entry_point('Twisted==16.6.0',
'console_scripts', 'twistd')()
calendarserver[3721]: File
"/usr/lib/python2.7/dist-packages/twisted/scripts/twistd.py", line 29, in run
calendarserver[3721]: app.run(runApp, ServerOptions)
calendarserver[3721]: File
"/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 643, in run
calendarserver[3721]: config.parseOptions()
calendarserver[3721]: File
"/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 610, in
parseOptions
calendarserver[3721]: usage.Options.parseOptions(self, options)
calendarserver[3721]: File
"/usr/lib/python2.7/dist-packages/twisted/python/usage.py", line 262, in
parseOptions
calendarserver[3721]: for (cmd, short, parser, doc) in self.subCommands:
calendarserver[3721]: File
"/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 627, in
subCommands
calendarserver[3721]: for plug in sorted(plugins,
key=attrgetter('tapname')):
calendarserver[3721]: File
"/usr/lib/python2.7/dist-packages/twisted/plugins/caldav.py", line 29, in
getProperty
calendarserver[3721]: return
getattr(reflect.namedClass(self.serviceMakerClass), propname)
calendarserver[3721]: File
"/usr/lib/python2.7/dist-packages/twisted/python/reflect.py", line 165, in
namedObject
calendarserver[3721]: module = namedModule('.'.join(classSplit[:-1]))
calendarserver[3721]: File
"/usr/lib/python2.7/dist-packages/twisted/python/reflect.py", line 151, in
namedModule
calendarserver[3721]: topLevel = __import__(name)
calendarserver[3721]: File
"/usr/lib/python2.7/dist-packages/calendarserver/tap/caldav.py", line 42, in
<module>
calendarserver[3721]: from twistedcaldav.stdconfig import config
calendarserver[3721]: File
"/usr/lib/python2.7/dist-packages/twistedcaldav/stdconfig.py", line 1881, in
<module>
calendarserver[3721]: config.update()
calendarserver[3721]: File
"/usr/lib/python2.7/dist-packages/twistedcaldav/config.py", line 240, in update
calendarserver[3721]: hook(self._data, reloading=reloading)
calendarserver[3721]: File
"/usr/lib/python2.7/dist-packages/twistedcaldav/stdconfig.py", line 1801, in
_updateCompliance
calendarserver[3721]: from twistedcaldav.serverinfo import buildServerInfo
calendarserver[3721]: File
"/usr/lib/python2.7/dist-packages/twistedcaldav/serverinfo.py", line 27, in
<module>
calendarserver[3721]: from twistedcaldav.resource import
ReadOnlyNoCopyResourceMixIn
calendarserver[3721]: File
"/usr/lib/python2.7/dist-packages/twistedcaldav/resource.py", line 32, in
<module>
calendarserver[3721]: from calendarserver.push.notifier import
getPubSubAPSConfiguration
calendarserver[3721]: File
"/usr/lib/python2.7/dist-packages/calendarserver/push/notifier.py", line 30, in
<module>
calendarserver[3721]: from txdav.common.datastore.sql_tables import schema
calendarserver[3721]: File
"/usr/lib/python2.7/dist-packages/txdav/common/datastore/sql_tables.py", line
81, in <module>
calendarserver[3721]: schema.CALENDAR_BIND.RESOURCE_NAME =
schema.CALENDAR_BIND.CALENDAR_RESOURCE_NAME
calendarserver[3721]: File
"/usr/lib/python2.7/dist-packages/twext/enterprise/dal/syntax.py", line 599, in
__getattr__
calendarserver[3721]: "schema has no table or sequence %r" % (attr,)
calendarserver[3721]: AttributeError: schema has no table or sequence
'CALENDAR_BIND'
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-3-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages calendarserver depends on:
ii adduser 3.116
ii lsb-base 9.20170808
ii memcached 1.4.33-1
ii python 2.7.14-4
ii python-crypto 2.6.1-8
ii python-dateutil 2.6.1-1
ii python-kerberos 1.1.14-1
ii python-openssl 16.2.0-1
ii python-pg8000 1.10.6-1
ii python-psutil 5.4.2-1
ii python-pycalendar 1:2.1~git20161130.0.e68e150-1
ii python-service-identity 16.0.0-2
ii python-setproctitle 1.1.10-1+b1
pn python-sqlparse <none>
ii python-twext 1:0.1~git20161216.0.b90293c-1
ii python-twisted 16.6.0-2
ii python-twisted-core 16.6.0-2
ii python-tz 2017.2-2
ii python-xattr 0.9.1-1+b1
ii python-zope.interface 4.3.2-1+b1
ii ssl-cert 1.0.39
Versions of packages calendarserver recommends:
ii python-pam 0.4.2-13.2
calendarserver suggests no packages.
-- Configuration Files:
/etc/caldavd/accounts.xml changed [not included]
/etc/caldavd/caldavd.plist changed [not included]
/etc/caldavd/sudoers.plist changed [not included]
/etc/default/calendarserver changed [not included]
-- no debconf information