Hi,
I'm trying to upgrade my local caldav server installation from 4.2 to
6.0. When I run:
sudo -u _calendar -g _calendar python bin/calendarserver_upgrade -f
etc/caldavd.plist -s -D
I get a weird exception:
Traceback (most recent call last):
File "bin/calendarserver_upgrade", line 12, in <module>
load_entry_point('CalendarServer==6.0a.unknown-r14706S',
'console_scripts', 'calendarserver_upgrade')()
File
"/usr/local/caldavd/lib/python2.7/site-packages/CalendarServer-6.0a.unknown_r14706S-py2.7.egg/calendarserver/tools/upgrade.py",
line 243, in main
utilityMain(options["config"], makeService, reactor,
customServiceMaker, patchConfig=_patchConfig, onShutdown=_onShutdown,
verbose=options["debug"])
File
"/usr/local/caldavd/lib/python2.7/site-packages/CalendarServer-6.0a.unknown_r14706S-py2.7.egg/calendarserver/tools/cmdline.py",
line 110, in utilityMain
service = maker.makeService(options)
File
"/usr/local/caldavd/lib/python2.7/site-packages/CalendarServer-6.0a.unknown_r14706S-py2.7.egg/calendarserver/tap/caldav.py",
line 811, in makeService
service = serviceMethod(options)
File
"/usr/local/caldavd/lib/python2.7/site-packages/CalendarServer-6.0a.unknown_r14706S-py2.7.egg/calendarserver/tap/caldav.py",
line 1409, in makeService_Utility
toolServiceCreator, None, uid=uid, gid=gid, directory=None
File
"/usr/local/caldavd/lib/python2.7/site-packages/CalendarServer-6.0a.unknown_r14706S-py2.7.egg/calendarserver/tap/caldav.py",
line 1622, in storageService
pgConnectorFromConfig(config), None
File
"/usr/local/caldavd/lib/python2.7/site-packages/CalendarServer-6.0a.unknown_r14706S-py2.7.egg/calendarserver/tap/caldav.py",
line 1513, in subServiceFactory
config, store=store, serversDB=serversDB
File
"/usr/local/caldavd/lib/python2.7/site-packages/CalendarServer-6.0a.unknown_r14706S-py2.7.egg/txdav/who/util.py",
line 75, in directoryFromConfig
serversDB=serversDB
File
"/usr/local/caldavd/lib/python2.7/site-packages/CalendarServer-6.0a.unknown_r14706S-py2.7.egg/txdav/who/util.py",
line 185, in buildDirectory
for recordTypeName in params.recordTypes:
File
"/usr/local/caldavd/lib/python2.7/site-packages/CalendarServer-6.0a.unknown_r14706S-py2.7.egg/twistedcaldav/config.py",
line 75, in __getattr__
return dict.__getattribute__(self, attr)
Should I first upgrade to 5.2 and from there go to 6.0?
My only concern is PG database. Was there any schema change?
Thanks,
Nikola
_______________________________________________
calendarserver-users mailing list
calendarserver-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/calendarserver-users