[CalendarServer-dev] Error running calendarserver after upgrading db from 5.x to 7.x
Rahul Amaram
amaramrahul at users.sourceforge.net
Thu Jan 28 11:57:27 PST 2016
On Thursday 28 January 2016 11:54 PM, Cyrus Daboo wrote:
> Hi Andre,
>
> --On January 28, 2016 at 10:21:50 AM -0800 Andre LaBranche
> <dre at apple.com> wrote:
>
>> It kind of looks like you're not running ./bin/develop after the
>> upgrade,
>> before starting the service.
>
> Right - you definitely need to do that because some of the Python
> packages have been updated - the 'NUM_CPUS' error results from an old
> version of the psutil package.
>
calendarserver is packaged. So, I cannot run ./bin/develop to install
new packages. I have gone through the requirements-stable.txt and have
ensured that all the libraries are at the requested minimum version.
Does develop script does anything more which I should handle?
Also, the psutil version installed on the system is 3.4.1 while the
version mentioned in requirements-stable.txt is 2.2.1. So, I went ahead
and downgraded psutil to 2.2.1 by installing an older debian package and
the error went away. So, psutil was the cause of the issue. Is it
possible to make calendarserver compatible with 3.4.1? The
incompatibility issue seems to be becoming a recurring theme :).
Finally, tasks were still not enabled for the user after the upgrade.
What do I need to check for this?
Thanks,
Rahul.
More information about the calendarserver-dev
mailing list