[CalendarServer-users] CalendarServer fails to run on fresh deb9 install
agx at sigxcpu.org
Thu Mar 1 12:11:11 PST 2018
On Thu, Mar 01, 2018 at 11:01:06AM -0800, Michael Carter wrote:
> 1) Install and patch up Debian 9
> 2) create a user/group named ‘caldav’
> 3) As that user, check out master from git (git clone https://github.com/apple/ccs-calendarserver.git master)
> 4) cd to that directory and run ‘bin/develop’
> 5) Copy caldavd-test.plist to caldavd-dev.plist
> 5) Run ‘bin/run -n’
> 6) Notice errors:
> caldav at util:~/CalendarServer/master$ bin/run -n
> /Users/caldav/CalendarServer/master/bin/_py.sh: line 104: [: # 1 "<stdin>": integer expression expected
> /Users/caldav/CalendarServer/master/bin/_py.sh: line 109: [: # 1 "<stdin>": integer expression expected
Without having looked at the script at all can you try
/bin/bash bin/run -n
since /bin/sh is dash.
> Using /Users/caldav/CalendarServer/master/.develop/virtualenv/bin/python as Python
> Starting server...
> /usr/bin/python2.7: can't find '__main__' module in ''
> a) No idea what the _py.sh issues are
> b) Shouldn’t this be running the version of python in the virtualenv? Shouldn’t ‘run’ take care of setting up that envionment? Why am I even seeing /usr/bin/python being called?
> calendarserver-users mailing list
> calendarserver-users at lists.macosforge.org
More information about the calendarserver-users