-
Notifications
You must be signed in to change notification settings - Fork 136
Fresh install of CalendarServer throwing END OF LIFE warnings, Certificate Errors #535
Comments
I've used the output from ./bin/develop to install all the necessary Python version 2.7 dependencies, and see that this repo appears too want to download specific dependencies into a v.2.7 I see from README.rst:
What are the correct steps for running the server in deployment or as part of an OS install? For example, the Python script ./bin/keychain_init.py installs an example certificate into my keychain: identity_preference = "org.calendarserver.test"
certname_regex = re.compile(r'"alis"<blob>="(.*)"')
certificate_name = "localhost"
identity_file = "./twistedcaldav/test/data/server.pem"
certificate_file = "./twistedcaldav/test/data/cert.pem" I am running on a macOS 10.14 system with Server.app 5.8 installed. It would be easy enough to point to my existing server certificates in A few pointers to get going in the right direction for running the server in deployment would be greatly appreciated. |
Similarly, I've haven't yet done: sudo python2 setup.py install clean If that's that correct starting point, I can adjust all the necessary CalendarServer/Python environment/PostgreSQL/macOS configuration details as I go. The objective is to deploy CalendarServer on macOS 10.14 running Server.app 5.8 with an OD Master, with a Python environment via either native macOS + pip or MacPorts, and my own postgres server configuration. I'm hoping that once it's configured correctly, there will be some launchd.plist that just starts it on boot. I'm also happy to see that this repo includes functions I used in Server.app like
and would like to get this part of the stack deployed as well. |
Okay I see the Note to maintainers and others: the macOS Server Service Migration Guide says:
But the only QuickStart instructions in this repo point to README.rst, which is explicitly about development, not server deployment as mentioned above. There appears to be sufficient deployment details in some combination of these links: |
I also remain interested in the path forward now that Python 2.7 is EOL. Migration to Python 3.7 and beyond shouldn't be too big of an issue. I honestly looked at migrating to sabre/dav, inverse-inc/sogo, or Kozea/Radicale for a calDAV+cardDAV server. But AFAICT only apple/ccs-calendarserver and sabre/dav support iMIP, and I've been using apple/ccs-calendarserver's iMIP for years and know it works. And sabre/dav is PHP-based. So apple/ccs-calendarserver looks to be the main open source option of choice. |
I've addressed the build issues in this PR: #536 |
I'm migrating all of my Server.app services to open source per the macOS Server Service Migration Guide.
I have nice working up-to-date versions of all services except for a calDAV/cardDAV server, and am following the README.rst instructions on this repo.
When I follow these instructions, the ./bin/develop
sh
script throws numerous END OF LIFE warnings and errors.I'd like to address these and get a working CalendarServer.
I have an up-to-date, working Python and pip environment installed using MacPorts, versions 3.7 and the deprecated 2.7.
First, check versions:
Second, clone the repo:
Third, follow the instructions:
The text was updated successfully, but these errors were encountered: