CalendarServer has moved to github
Hi folks, The CalendarServer project (and associated dependent projects) have all been moved from the MacOSForge hosted subversion server to github. The calendarserver.org domain will continue to work and serve up the new github-based content. Just visit <https://www.calendarserver.org> to see the new instructions for getting access to code. These mailing lists will continue to work. For issues, please use the github issue tracker for ccs-calendarserver: <https://github.com/apple/ccs-calendarserver/issues>. If you do any code changes yourself, please create pull requests to have those integrated into the main repository if needed. -- Cyrus Daboo
On Aug 15, 2016, at 7:34 AM, Cyrus Daboo <cdaboo@apple.com> wrote:
Hi folks, The CalendarServer project (and associated dependent projects) have all been moved from the MacOSForge hosted subversion server to github. The calendarserver.org domain will continue to work and serve up the new github-based content.
Just visit <https://www.calendarserver.org> to see the new instructions for getting access to code.
These mailing lists will continue to work.
For issues, please use the github issue tracker for ccs-calendarserver: <https://github.com/apple/ccs-calendarserver/issues>. If you do any code changes yourself, please create pull requests to have those integrated into the main repository if needed.
Great news, Cyrus! Thanks for the update :-D. -glyph
Hello everyone, I was using an « old » version of calendarserver on my mac pro to host my calendars. At each start of my computer, the « run » command creates the calendar server. Now, with the svn to github migration, it doesn’t work anymore. So, I’ve downloaded the master on github and type « run/develop » in a shell. And I’ve a pb with osxframeworks : Command "/Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/virtualenv/bin/python -c "import setuptools, tokenize;__file__='/Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/virtualenv/src/osxframeworks/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" develop --no-deps" failed with error code 1 in /Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/virtualenv/src/osxframeworks/ I’ve no idea about what I have to do. So any help would be interesting. Thanks Emmanuel
Hi Emmanuel, --On August 16, 2016 at 9:08:13 AM +0200 Emmanuel Bourreau <ebourreau@nordnet.fr> wrote:
Hello everyone, I was using an « old » version of calendarserver on my mac pro to host my calendars. At each start of my computer, the « run » command creates the calendar server. Now, with the svn to github migration, it doesn’t work anymore. So, I’ve downloaded the master on github and type « run/develop » in a shell. And I’ve a pb with osxframeworks :
Command "/Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/virtualenv/ bin/python -c "import setuptools, tokenize;__file__='/Users/emmanuel/Downloads/ccs-calendarserver-master/.d evelop/virtualenv/src/osxframeworks/setup.py';exec(compile(getattr(tokeni ze, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" develop --no-deps" failed with error code 1 in /Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/virtualenv/s rc/osxframeworks/
I’ve no idea about what I have to do. So any help would be interesting.
Not sure what that is. What OS version are you on? Can you please "rm -rf .develop", then do "bin/develop" again and copy/paste the failing output into your reply so I can try and see what else might be going on. -- Cyrus Daboo
Hi Cyrus, Thanks for your help. Le 16 août 2016 à 15:25, Cyrus Daboo <cdaboo@apple.com> a écrit :
Hi Emmanuel,
--On August 16, 2016 at 9:08:13 AM +0200 Emmanuel Bourreau <ebourreau@nordnet.fr> wrote:
Hello everyone, I was using an « old » version of calendarserver on my mac pro to host my calendars. At each start of my computer, the « run » command creates the calendar server. Now, with the svn to github migration, it doesn’t work anymore. So, I’ve downloaded the master on github and type « run/develop » in a shell. And I’ve a pb with osxframeworks :
Command "/Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/virtualenv/ bin/python -c "import setuptools, tokenize;__file__='/Users/emmanuel/Downloads/ccs-calendarserver-master/.d evelop/virtualenv/src/osxframeworks/setup.py';exec(compile(getattr(tokeni ze, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" develop --no-deps" failed with error code 1 in /Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/virtualenv/s rc/osxframeworks/
I’ve no idea about what I have to do. So any help would be interesting.
Not sure what that is. What OS version are you on? Can you please "rm -rf .develop", then do "bin/develop" again and copy/paste the failing output into your reply so I can try and see what else might be going on.
-- Cyrus Daboo
My « very old » Mac Pro is under 10.9.5 I’ve followed your instructions and saved the output to a file I’ve removed the part where it installs Postgresql even if I read lots « nothing to be done » and « ld warning » about lib and lib64 So, the verbose part of the installation : ____________________________________________________________ Using system version of libffi. ____________________________________________________________ Using system version of OpenLDAP. ____________________________________________________________ Using system version of SASL. ____________________________________________________________ Using system version of memcached. ____________________________________________________________ No cache file: /Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/pkg/PostgreSQL-4922b24086b3af10bc837cd7e8d808d5-postgresql-9.5.3.tar.bz2 Downloading PostgreSQL... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 1 17.6M 1 359k 0 0 237k 0 0:01:16 0:00:01 0:01:15 237k 8 17.6M 8 1494k 0 0 590k 0 0:00:30 0:00:02 0:00:28 590k 16 17.6M 16 3018k 0 0 859k 0 0:00:20 0:00:03 0:00:17 859k 27 17.6M 27 4977k 0 0 1101k 0 0:00:16 0:00:04 0:00:12 1101k 33 17.6M 33 6115k 0 0 1109k 0 0:00:16 0:00:05 0:00:11 1250k 44 17.6M 44 7933k 0 0 1218k 0 0:00:14 0:00:06 0:00:08 1515k 56 17.6M 56 9.9M 0 0 1358k 0 0:00:13 0:00:07 0:00:06 1747k 68 17.6M 68 12.0M 0 0 1451k 0 0:00:12 0:00:08 0:00:04 1868k 81 17.6M 81 14.3M 0 0 1539k 0 0:00:11 0:00:09 0:00:02 1934k 93 17.6M 93 16.4M 0 0 1598k 0 0:00:11 0:00:10 0:00:01 2138k 100 17.6M 100 17.6M 0 0 1628k 0 0:00:11 0:00:11 --:--:-- 2215k Checking MD5 sum for PostgreSQL... SHA1 sum for PostgreSQL is bd8dcbc8c4882468675dcc93263182a27d4ff201 Unpacking PostgreSQL from cache... [...] PostgreSQL installation complete. ____________________________________________________________ Installing setuptools==18.5 Collecting setuptools==18.5 /Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning. SNIMissingWarning /Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarn.... InsecurePlatformWarning Using cached setuptools-18.5-py2.py3-none-any.whl Installing collected packages: setuptools Successfully installed setuptools-0.6c12dev-r88846 ____________________________________________________________ Installing pip==8.1.2 Collecting pip==8.1.2 /Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning. SNIMissingWarning /Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarn.... InsecurePlatformWarning Using cached pip-8.1.2-py2.py3-none-any.whl Installing collected packages: pip Successfully installed pip-8.1.2 ____________________________________________________________ Installing virtualenv==15.0.2 Collecting virtualenv==15.0.2 /Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning. SNIMissingWarning /Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarn.... InsecurePlatformWarning Using cached virtualenv-15.0.2-py2.py3-none-any.whl Installing collected packages: virtualenv Successfully installed virtualenv-15.0.2 New python executable in /Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/virtualenv/bin/python Installing pip, wheel...done. macOS virtualenv codesign fix. ____________________________________________________________ Preparing Python requirements Obtaining file:///Users/emmanuel/Downloads/ccs-calendarserver-master (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-cs.txt (line 5)) Collecting zope.interface==4.1.3 (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-cs.txt (line 7)) /Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/virtualenv/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning. SNIMissingWarning /Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/virtualenv/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarn.... InsecurePlatformWarning Downloading zope.interface-4.1.3.tar.gz (141kB) Collecting setuptools==18.5 (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-cs.txt (line 8)) Downloading setuptools-18.5-py2.py3-none-any.whl (462kB) Obtaining twextpy from git+https://github.com/apple/ccs-twistedextensions.git@38462b69049d690ffaa946330... (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-cs.txt (line 10)) Cloning https://github.com/apple/ccs-twistedextensions.git (to 38462b69049d690ffaa946330b64fdd6c7b25a80) to ./.develop/virtualenv/src/twextpy Could not find a tag or branch '38462b69049d690ffaa946330b64fdd6c7b25a80', assuming commit. Requirement already satisfied (use --upgrade to upgrade): cffi==1.7.0 in /Library/Python/2.7/site-packages (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-cs.txt (line 11)) Requirement already satisfied (use --upgrade to upgrade): pycparser==2.14 in /Library/Python/2.7/site-packages (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-cs.txt (line 12)) Collecting python-ldap==2.4.25 (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-cs.txt (line 16)) Downloading python-ldap-2.4.25.tar.gz (121kB) Collecting sqlparse==0.1.19 (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-cs.txt (line 20)) Downloading sqlparse-0.1.19.tar.gz (58kB) Collecting pg8000==1.10.6 (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-cs.txt (line 26)) Downloading pg8000-1.10.6-py2.py3-none-any.whl Obtaining kerberos from git+https://github.com/apple/ccs-pykerberos.git@ff86405c5b73f24777e2a5efa24721b7... (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-cs.txt (line 31)) Cloning https://github.com/apple/ccs-pykerberos.git (to ff86405c5b73f24777e2a5efa24721b7d202d9dc) to ./.develop/virtualenv/src/kerberos Could not find a tag or branch 'ff86405c5b73f24777e2a5efa24721b7d202d9dc', assuming commit. Obtaining pycalendar from git+https://github.com/apple/ccs-pycalendar.git@8722fc932b617d2c16279b899669afc9... (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-cs.txt (line 33)) Cloning https://github.com/apple/ccs-pycalendar.git (to 8722fc932b617d2c16279b899669afc98bd00887) to ./.develop/virtualenv/src/pycalendar Could not find a tag or branch '8722fc932b617d2c16279b899669afc98bd00887', assuming commit. Collecting python-dateutil==2.5.3 (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-cs.txt (line 34)) Downloading python_dateutil-2.5.3-py2.py3-none-any.whl (201kB) Collecting pytz==2016.4 (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-cs.txt (line 35)) Downloading pytz-2016.4-py2.py3-none-any.whl (480kB) Collecting psutil==4.3.0 (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-cs.txt (line 37)) Downloading psutil-4.3.0.tar.gz (316kB) Collecting setproctitle==1.1.10 (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-cs.txt (line 38)) Downloading setproctitle-1.1.10.tar.gz Requirement already satisfied (use --upgrade to upgrade): Twisted==16.3.0 in /Library/Python/2.7/site-packages (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-twisted-osx.txt (line 5)) Collecting pycrypto==2.6.1 (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-twisted-osx.txt (line 7)) Downloading pycrypto-2.6.1.tar.gz (446kB) Obtaining osxframeworks from git+https://github.com/apple/ccs-pyosxframeworks.git@92725ab0e7fe813b6829905d80b... (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-twisted-osx.txt (line 9)) Cloning https://github.com/apple/ccs-pyosxframeworks.git (to 92725ab0e7fe813b6829905d80bd378ad563e71b) to ./.develop/virtualenv/src/osxframeworks Could not find a tag or branch '92725ab0e7fe813b6829905d80bd378ad563e71b', assuming commit. Obtaining pysecuretransport from git+https://github.com/apple/ccs-pysecuretransport.git@991816b299555aa3eb55bb261... (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-twisted-osx.txt (line 13)) Cloning https://github.com/apple/ccs-pysecuretransport.git (to 991816b299555aa3eb55bb26173a83ff3a01968c) to ./.develop/virtualenv/src/pysecuretransport Could not find a tag or branch '991816b299555aa3eb55bb26173a83ff3a01968c', assuming commit. Collecting pyflakes (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-dev.txt (line 2)) Downloading pyflakes-1.2.3-py2.py3-none-any.whl (209kB) Collecting docutils (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-dev.txt (line 3)) Downloading docutils-0.12.tar.gz (1.6MB) Collecting mockldap (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-dev.txt (line 4)) Downloading mockldap-0.2.8-py2-none-any.whl Collecting q (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-dev.txt (line 5)) Downloading q-2.6-py2.py3-none-any.whl Collecting tl.eggdeps (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-dev.txt (line 6)) Downloading tl.eggdeps-0.4.tar.gz Obtaining CalDAVClientLibrary from git+https://github.com/apple/ccs-caldavclientlibrary.git@f632dfac5af2d4439257381... (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-dev.txt (line 7)) Cloning https://github.com/apple/ccs-caldavclientlibrary.git (to f632dfac5af2d44392573812f391896c3575b6ca) to ./.develop/virtualenv/src/caldavclientlibrary Could not find a tag or branch 'f632dfac5af2d44392573812f391896c3575b6ca', assuming commit. Obtaining CalDAVTester from git+https://github.com/apple/ccs-caldavtester.git@7bcf226dbda08feda4ac363a83e6f0... (from -r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-dev.txt (line 8)) Cloning https://github.com/apple/ccs-caldavtester.git (to 7bcf226dbda08feda4ac363a83e6f0addaa9995e) to ./.develop/virtualenv/src/caldavtester Could not find a tag or branch '7bcf226dbda08feda4ac363a83e6f0addaa9995e', assuming commit. Requirement already satisfied (use --upgrade to upgrade): xattr in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from CalendarServer===9.1a1-unknown->-r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-cs.txt (line 5)) Collecting six>=1.10.0 (from pg8000==1.10.6->-r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-cs.txt (line 26)) Downloading six-1.10.0-py2.py3-none-any.whl Collecting funcparserlib==0.3.6 (from mockldap->-r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-dev.txt (line 4)) Downloading funcparserlib-0.3.6.tar.gz Collecting mock (from mockldap->-r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-dev.txt (line 4)) Downloading mock-2.0.0-py2.py3-none-any.whl (56kB) Collecting funcsigs>=1; python_version < "3.3" (from mock->mockldap->-r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-dev.txt (line 4)) Downloading funcsigs-1.0.2-py2.py3-none-any.whl Collecting pbr>=0.11 (from mock->mockldap->-r /Users/emmanuel/Downloads/ccs-calendarserver-master/requirements-dev.txt (line 4)) Downloading pbr-1.10.0-py2.py3-none-any.whl (96kB) Installing collected packages: setuptools, zope.interface, twextpy, python-ldap, sqlparse, six, pg8000, kerberos, pycalendar, python-dateutil, pytz, psutil, setproctitle, pycrypto, osxframeworks, pysecuretransport, pyflakes, docutils, funcparserlib, funcsigs, pbr, mock, mockldap, q, tl.eggdeps, CalDAVClientLibrary, CalDAVTester, CalendarServer Found existing installation: setuptools 0.6c12dev-r88846 Not uninstalling setuptools at /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python, outside environment /Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/virtualenv Found existing installation: zope.interface 3.8.0 Not uninstalling zope.interface at /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python, outside environment /Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/virtualenv Running setup.py install for zope.interface: started Running setup.py install for zope.interface: finished with status 'done' Running setup.py develop for twextpy Running setup.py install for python-ldap: started Running setup.py install for python-ldap: finished with status 'done' Running setup.py install for sqlparse: started Running setup.py install for sqlparse: finished with status 'done' Running setup.py develop for kerberos Running setup.py develop for pycalendar Found existing installation: python-dateutil 1.5 Not uninstalling python-dateutil at /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python, outside environment /Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/virtualenv Found existing installation: pytz 2012d Not uninstalling pytz at /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python, outside environment /Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/virtualenv Running setup.py install for psutil: started Running setup.py install for psutil: finished with status 'done' Running setup.py install for setproctitle: started Running setup.py install for setproctitle: finished with status 'done' Running setup.py install for pycrypto: started Running setup.py install for pycrypto: finished with status 'done' Running setup.py develop for osxframeworks Command "/Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/virtualenv/bin/python -c "import setuptools, tokenize;__file__='/Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/virtualenv/src/osxframeworks/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" develop --no-deps" failed with error code 1 in /Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/virtualenv/src/osxframeworks/ Still the error code 1. I’ve seen that the setuptools is outside the environment: can this create the pb with the « import setuptools » ? Best regards. Emmanuel
Hi Emmanuel, --On August 17, 2016 at 11:52:03 AM +0200 Emmanuel Bourreau <ebourreau@nordnet.fr> wrote:
My « very old » Mac Pro is under 10.9.5 I’ve followed your instructions and saved the output to a file I’ve removed the part where it installs Postgresql even if I read lots « nothing to be done » and « ld warning » about lib and lib64
Yup - that OS version is a little too old. I did try forcing it to use OpenSSL instead of SecureTransport, but even the modern version of that failed to build. If you are really unable to upgrade the OS (to at least 10.11) and you really are OK with using the built-in version of openssl (which lacks fixes for some of the newer SSL bugs), then you may be able to get it to build by making the following changes: 1) rm -rf .develop 2) export USE_OPENSSL=1 3) Edit bin/_build.sh, change: local min_ssl_version="268443791"; # OpenSSL 1.0.2h to: local min_ssl_version="9470383"; # OpenSSL 0.9.8 I tried it with those changes on 10.9.5 and it seemed to work. -- Cyrus Daboo
Hi Cyrus with your explanations, "bin/develop" worked But,(yes I know, i’m a pain in the neck), "run -n" doesn’t work I obtain the following lines Mac-Pro:ccs-calendarserver-master emmanuel$ bin/run -n Using /Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/virtualenv/bin/python as Python Starting server... Reading configuration from file: /Users/emmanuel/Downloads/ccs-calendarserver-master/conf/caldavd-dev.plist Created directory: ./data/Data Created directory: ./data/Data/Documents Created directory: ./data/Logs Created directory: ./data/Logs/state 2016-08-17T21:37:20+0200 [twistedcaldav.upgrade#info] Converting augments.xml 2016-08-17T21:37:20+0200 [twistedcaldav.upgrade#info] Converting augments.xml 2016-08-17T21:37:20+0200 [calendarserver.tap.caldav.CalDAVServiceMaker#info] Calendar and Contacts Server 9.1a1+unknown starting Combined process... 2016-08-17T21:37:20+0200 [twistedcaldav.upgrade#info] Converting augments.xml 2016-08-17T21:37:20+0200 [twisted.scripts._twistd_unix.UnixAppLogger#info] twistd 16.3.0 (/Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/virtualenv/bin/python 2.7.5) starting up. 2016-08-17T21:37:20+0200 [twisted.scripts._twistd_unix.UnixAppLogger#info] reactor class: twisted.internet.selectreactor.SelectReactor. 2016-08-17T21:37:20+0200 [-] AMPPushNotifierFactory starting on 62311 2016-08-17T21:37:20+0200 [-] ControlSocket starting on './data/Logs/state/caldavd.sock' 2016-08-17T21:37:20+0200 [txdav.base.datastore.subpostgres#info] Creating /Users/emmanuel/Downloads/ccs-calendarserver-master/data/Data/Database 2016-08-17T21:37:20+0200 [txdav.base.datastore.subpostgres#info] Creating /Users/emmanuel/Downloads/ccs-calendarserver-master/data/Data/Database/working 2016-08-17T21:37:20+0200 [txdav.base.datastore.subpostgres#info] Running initdb for /Users/emmanuel/Downloads/ccs-calendarserver-master/data/Data/Database/cluster 2016-08-17T21:37:23+0200 [txdav.base.datastore.subpostgres#info] Requesting postgres start via: ['/Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/roots/PostgreSQL/bin/pg_ctl', 'start', '--log=/Users/emmanuel/Downloads/ccs-calendarserver-master/data/Logs/postgres.log', '--timeout=86400', '-w', '-o', "-c listen_addresses='' -c unix_socket_directories=/tmp/ccs_postgres_daf9bdc6ecae3d1f1054251743039b99 -c shared_buffers=139 -c max_connections=93 -c standard_conforming_strings=on -c unix_socket_permissions=0770 -c log_line_prefix=%t"] 2016-08-17T21:37:23+0200 [txdav.base.datastore.subpostgres.PostgresMonitor#info] waiting for server to start.... 2016-08-17T21:37:24+0200 [txdav.base.datastore.subpostgres.PostgresMonitor#info] done 2016-08-17T21:37:24+0200 [txdav.base.datastore.subpostgres.PostgresMonitor#info] server started 2016-08-17T21:37:24+0200 [txdav.base.datastore.subpostgres.PostgresMonitor#info] pg_ctl process ended with status=0 2016-08-17T21:37:24+0200 [txdav.base.datastore.subpostgres#info] /Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/roots/PostgreSQL/bin/pg_ctl exited 2016-08-17T21:37:26+0200 [txdav.base.datastore.subpostgres#critical] Can't start or connect to postgres: Incorrect root element: accounts 2016-08-17T21:37:26+0200 [txdav.base.datastore.subpostgres#info] Requesting postgres stop via: ['/Users/emmanuel/Downloads/ccs-calendarserver-master/.develop/roots/PostgreSQL/bin/pg_ctl', 'stop', '--log=/Users/emmanuel/Downloads/ccs-calendarserver-master/data/Logs/postgres.log'] 2016-08-17T21:37:26+0200 [-] (UNIX Port ./data/Logs/state/caldavd.sock Closed) 2016-08-17T21:37:26+0200 [-] (TCP Port 62311 Closed) 2016-08-17T21:37:26+0200 [txdav.base.datastore.subpostgres.PostgresMonitor#info] waiting for server to shut down.... 2016-08-17T21:37:27+0200 [txdav.base.datastore.subpostgres.PostgresMonitor#info] done 2016-08-17T21:37:27+0200 [txdav.base.datastore.subpostgres.PostgresMonitor#info] server stopped 2016-08-17T21:37:27+0200 [txdav.base.datastore.subpostgres.PostgresMonitor#info] pg_ctl process ended with status=0 2016-08-17T21:37:27+0200 [-] Main loop terminated. 2016-08-17T21:37:27+0200 [twisted.scripts._twistd_unix.UnixAppLogger#info] Server Shut Down. More over, if i copy Data from my old calendarserver to the new, it says that it is not compatible :-( because postgresql moved from 9.0 to 9.5 I’ve seen something about pg_dumpall but where it is in my old calendar server ? A lot of work remains! Best regards Emmanuel Le 17 août 2016 à 20:24, Cyrus Daboo <cdaboo@apple.com> a écrit :
Hi Emmanuel,
--On August 17, 2016 at 11:52:03 AM +0200 Emmanuel Bourreau <ebourreau@nordnet.fr> wrote:
My « very old » Mac Pro is under 10.9.5 I’ve followed your instructions and saved the output to a file I’ve removed the part where it installs Postgresql even if I read lots « nothing to be done » and « ld warning » about lib and lib64
Yup - that OS version is a little too old. I did try forcing it to use OpenSSL instead of SecureTransport, but even the modern version of that failed to build.
If you are really unable to upgrade the OS (to at least 10.11) and you really are OK with using the built-in version of openssl (which lacks fixes for some of the newer SSL bugs), then you may be able to get it to build by making the following changes:
1) rm -rf .develop 2) export USE_OPENSSL=1 3) Edit bin/_build.sh, change:
local min_ssl_version="268443791"; # OpenSSL 1.0.2h
to:
local min_ssl_version="9470383"; # OpenSSL 0.9.8
I tried it with those changes on 10.9.5 and it seemed to work.
-- Cyrus Daboo
Hi Emmanuel, --On August 17, 2016 at 9:53:26 PM +0200 Emmanuel Bourreau <ebourreau@nordnet.fr> wrote:
2016-08-17T21:37:26+0200 [txdav.base.datastore.subpostgres#critical] Can't start or connect to postgres: Incorrect root element: accounts
That error is because the XML schema for the accounts.xml has changed quite a bit. You will need to adjust your existing accounts.xml file to match the new schema (look in conf/auth for examples and the new DTD).
More over, if i copy Data from my old calendarserver to the new, it says that it is not compatible :-( because postgresql moved from 9.0 to 9.5 I’ve seen something about pg_dumpall but where it is in my old calendar server ?
Oh, that may be too big a jump because it upgraded fine from 9.3 -> 9.5. If you want to try 9.3, edit _build.sh: if command -v postgres > /dev/null; then using_system "Postgres"; else local v="9.3.10"; local n="postgresql"; local p="${n}-${v}"; if command -v dtrace > /dev/null; then local enable_dtrace="--enable-dtrace"; else local enable_dtrace=""; fi; c_dependency -m "ec2365548d08f69c8023eddd4f2d1a28" \ "PostgreSQL" "${p}" \ "http://ftp.postgresql.org/pub/source/v${v}/${p}.tar.bz2" \ --with-python ${enable_dtrace}; fi; Maybe that will let you upgrade from 9.0. If not, checkout the postgres site and see if they have tools for that. There might be a separate tool they package for doing upgrades. -- Cyrus Daboo
On Aug 15, 2016, at 7:34 AM, Cyrus Daboo <cdaboo@apple.com> wrote:
Hi folks, The CalendarServer project (and associated dependent projects) have all been moved from the MacOSForge hosted subversion server to github. The calendarserver.org domain will continue to work and serve up the new github-based content.
Just visit <https://www.calendarserver.org> to see the new instructions for getting access to code.
These mailing lists will continue to work.
For issues, please use the github issue tracker for ccs-calendarserver: <https://github.com/apple/ccs-calendarserver/issues>. If you do any code changes yourself, please create pull requests to have those integrated into the main repository if needed.
One question though - where has the repository for 'twext' moved? -glyph
Everything moved to the Apple github space. So twext is at https://github.com/apple/ccs-twistedextensions. Our other projects are listed at https://github.com/apple - they all have the ccs- prefix. -- Cyrus Daboo (Tapped out on my iPad)
On Aug 15, 2016, at 5:57 PM, Glyph Lefkowitz <glyph@twistedmatrix.com> wrote:
On Aug 15, 2016, at 7:34 AM, Cyrus Daboo <cdaboo@apple.com> wrote:
Hi folks, The CalendarServer project (and associated dependent projects) have all been moved from the MacOSForge hosted subversion server to github. The calendarserver.org domain will continue to work and serve up the new github-based content.
Just visit <https://www.calendarserver.org> to see the new instructions for getting access to code.
These mailing lists will continue to work.
For issues, please use the github issue tracker for ccs-calendarserver: <https://github.com/apple/ccs-calendarserver/issues>. If you do any code changes yourself, please create pull requests to have those integrated into the main repository if needed.
One question though - where has the repository for 'twext' moved?
-glyph
On Aug 15, 2016, at 3:04 PM, Cyrus Daboo <cdaboo@apple.com> wrote:
Everything moved to the Apple github space. So twext is at https://github.com/apple/ccs-twistedextensions <https://github.com/apple/ccs-twistedextensions>. Our other projects are listed at https://github.com/apple <https://github.com/apple> - they all have the ccs- prefix.
Gotcha. Thanks again. -g
participants (3)
-
Cyrus Daboo
-
Emmanuel Bourreau
-
Glyph Lefkowitz