Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

CalDAV: "Could not determine free busy information for recipient" since upgrading to Yosemite.

Since upgrading to Yosemite / Server 4.1 (from 10.9.5, Server 3.whatever-the-latest-was), I'm not able to get invitee status or check availability for another calendar user. I'm noticing the following error in error log:


==> error.log <==

2015-04-15 09:39:16+1000 [-] [caldav-1] [-] [txdav.caldav.datastore.scheduling.caldav.delivery#error] Could not determine free busy information for recipient urn:x-uid:E602211C-43E9-4366-8B83-9BE67323EF12

2015-04-15 09:39:16+1000 [-] [caldav-1] [-] [txdav.caldav.datastore.scheduling.scheduler.ScheduleResponseQueue#error] Error during POST for urn:x-uid:E602211C-43E9-4366-8B83-9BE67323EF12: Could not determine free busy information


Regardless, I complete the event with the invitee listed, and on the next calendar refresh, I see this:


==> error.log <==

2015-04-15 09:42:10+1000 [-] [caldav-3] [-] Exception from execute() on first statement in transaction. Possibly caused by a database server restart. Automatically reconnecting now.

2015-04-15 09:42:10+1000 [-] [caldav-3] Traceback (most recent call last):

2015-04-15 09:42:10+1000 [-] [caldav-3] File "/Applications/Server.app/Contents/ServerRoot/Library/CalendarServer/lib/python 2.7/site-packages/twext/internet/threadutils.py", line 48, in _run

2015-04-15 09:42:10+1000 [-] [caldav-3] while self._qpull():

2015-04-15 09:42:10+1000 [-] [caldav-3] File "/Applications/Server.app/Contents/ServerRoot/Library/CalendarServer/lib/python 2.7/site-packages/twext/internet/threadutils.py", line 68, in _qpull

2015-04-15 09:42:10+1000 [-] [caldav-3] self._oneWorkUnit(*work)

2015-04-15 09:42:10+1000 [-] [caldav-3] File "/Applications/Server.app/Contents/ServerRoot/Library/CalendarServer/lib/python 2.7/site-packages/twext/internet/threadutils.py", line 74, in _oneWorkUnit

2015-04-15 09:42:10+1000 [-] [caldav-3] result = instruction()

2015-04-15 09:42:10+1000 [-] [caldav-3] File "/Applications/Server.app/Contents/ServerRoot/Library/CalendarServer/lib/python 2.7/site-packages/twext/enterprise/adbapi2.py", line 312, in <lambda>

2015-04-15 09:42:10+1000 [-] [caldav-3] lambda: self._reallyExecSQL(*args, **kw)

2015-04-15 09:42:10+1000 [-] [caldav-3] --- <exception caught here> ---

2015-04-15 09:42:10+1000 [-] [caldav-3] File "/Applications/Server.app/Contents/ServerRoot/Library/CalendarServer/lib/python 2.7/site-packages/twext/enterprise/adbapi2.py", line 242, in _reallyExecSQL

2015-04-15 09:42:10+1000 [-] [caldav-3] self._cursor.execute(sql, args)

2015-04-15 09:42:10+1000 [-] [caldav-3] File "/Applications/Server.app/Contents/ServerRoot/Library/CalendarServer/lib/python 2.7/site-packages/txdav/base/datastore/dbapiclient.py", line 77, in execute

2015-04-15 09:42:10+1000 [-] [caldav-3] self.realCursor.execute(sql, args)

2015-04-15 09:42:10+1000 [-] [caldav-3] File "/Applications/Server.app/Contents/ServerRoot/Library/CalendarServer/lib/python 2.7/site-packages/pgdb.py", line 323, in execute

2015-04-15 09:42:10+1000 [-] [caldav-3] return self.executemany(operation, [params])

2015-04-15 09:42:10+1000 [-] [caldav-3] File "/Applications/Server.app/Contents/ServerRoot/Library/CalendarServer/lib/python 2.7/site-packages/pgdb.py", line 349, in executemany

2015-04-15 09:42:10+1000 [-] [caldav-3] rows = self._src.execute(sql)

2015-04-15 09:42:10+1000 [-] [caldav-3] pg.ProgrammingError: ERROR: could not obtain lock on row in relation "calendar_object"

2015-04-15 09:42:10+1000 [-] [caldav-3]

2015-04-15 09:42:10+1000 [-] [caldav-3]


If I attempt to view an invitee on iOS, the status icon just spins forever.


P.S. What's the best way to properly format logs like the above here?

Posted on Apr 14, 2015 4:43 PM

Reply
3 replies

Apr 14, 2015 4:54 PM in response to jaydisc

And then sometimes after I invited a local user, the database just gets stuck in a restart loop:


==> postgresql_3.log <==

2015-04-15 09:49:48.876 AEST [10949] FATAL: the database system is shutting down

2015-04-15 09:49:48.876 AEST [10950] FATAL: the database system is shutting down



==> error.log <==

2015-04-15 09:49:48+1000 [-] Re-trying connection due to connection failure

Traceback (most recent call last):

File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twi sted/python/context.py", line 81, in callWithContext

return func(*args,**kw)

File "/Applications/Server.app/Contents/ServerRoot/Library/CalendarServer/lib/python 2.7/site-packages/twext/internet/threadutils.py", line 48, in _run

while self._qpull():

File "/Applications/Server.app/Contents/ServerRoot/Library/CalendarServer/lib/python 2.7/site-packages/twext/internet/threadutils.py", line 69, in _qpull

return True

File "/Applications/Server.app/Contents/ServerRoot/Library/CalendarServer/lib/python 2.7/site-packages/twext/internet/threadutils.py", line 82, in _oneWorkUnit

self._reactor.callFromThread(deferred.callback, result)

--- <exception caught here> ---

File "/Applications/Server.app/Contents/ServerRoot/Library/CalendarServer/lib/python 2.7/site-packages/twext/internet/threadutils.py", line 74, in _oneWorkUnit

result = instruction()

File "/Applications/Server.app/Contents/ServerRoot/Library/CalendarServer/lib/python 2.7/site-packages/twext/enterprise/adbapi2.py", line 1129, in initCursor

connection = self.connectionFactory()

File "/Applications/Server.app/Contents/ServerRoot/Library/CalendarServer/lib/python 2.7/site-packages/txdav/base/datastore/subpostgres.py", line 341, in produceConnection

return self._connectorFor(databaseName).connect(label)

File "/Applications/Server.app/Contents/ServerRoot/Library/CalendarServer/lib/python 2.7/site-packages/txdav/base/datastore/dbapiclient.py", line 198, in connect

connection = self.dbModule.connect(*self.connectArgs, **self.connectKw)

File "/Applications/Server.app/Contents/ServerRoot/Library/CalendarServer/lib/python 2.7/site-packages/pgdb.py", line 598, in connect

dbtty, dbuser, dbpasswd)

pg.InternalError: FATAL: the database system is shutting down



2015-04-15 09:49:48+1000 [-] Re-trying connection due to connection failure

Traceback (most recent call last):

File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twi sted/python/context.py", line 81, in callWithContext

return func(*args,**kw)

File "/Applications/Server.app/Contents/ServerRoot/Library/CalendarServer/lib/python 2.7/site-packages/twext/internet/threadutils.py", line 48, in _run

while self._qpull():

File "/Applications/Server.app/Contents/ServerRoot/Library/CalendarServer/lib/python 2.7/site-packages/twext/internet/threadutils.py", line 69, in _qpull

return True

File "/Applications/Server.app/Contents/ServerRoot/Library/CalendarServer/lib/python 2.7/site-packages/twext/internet/threadutils.py", line 82, in _oneWorkUnit

self._reactor.callFromThread(deferred.callback, result)

--- <exception caught here> ---

File "/Applications/Server.app/Contents/ServerRoot/Library/CalendarServer/lib/python 2.7/site-packages/twext/internet/threadutils.py", line 74, in _oneWorkUnit

result = instruction()

File "/Applications/Server.app/Contents/ServerRoot/Library/CalendarServer/lib/python 2.7/site-packages/twext/enterprise/adbapi2.py", line 1129, in initCursor

connection = self.connectionFactory()

File "/Applications/Server.app/Contents/ServerRoot/Library/CalendarServer/lib/python 2.7/site-packages/txdav/base/datastore/subpostgres.py", line 341, in produceConnection

return self._connectorFor(databaseName).connect(label)

File "/Applications/Server.app/Contents/ServerRoot/Library/CalendarServer/lib/python 2.7/site-packages/txdav/base/datastore/dbapiclient.py", line 198, in connect

connection = self.dbModule.connect(*self.connectArgs, **self.connectKw)

File "/Applications/Server.app/Contents/ServerRoot/Library/CalendarServer/lib/python 2.7/site-packages/pgdb.py", line 598, in connect

dbtty, dbuser, dbpasswd)

pg.InternalError: FATAL: the database system is shutting down





==> postgresql_3.log <==

2015-04-15 09:49:49.625 AEST [10951] FATAL: the database system is shutting down




Stopping and starting the calendar manually seems to bring it back.

CalDAV: "Could not determine free busy information for recipient" since upgrading to Yosemite.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.