tomsquest / docker-radicale

Docker image for Radicale calendar and contact server :calendar: + security :closed_lock_with_key: + addons :rocket:
GNU General Public License v3.0
591 stars 82 forks source link

405 errors when deployed on Render #154

Closed lehrblogger closed 4 months ago

lehrblogger commented 4 months ago

I'm trying to use this project to host Radicale in a Docker container on Render. I'm able to deploy successfully and load the web interface, but attempts to log in there or create an address book via curl fail with 405 errors.

For some reason these are not shown in Render's logs. I'm guessing the issue is with the permissions on the /data directory, but I'm not sure how to fix it or otherwise investigate. A few notes about how things are set up:

[auth] type = none

[storage] filesystem_folder = /var/radicale/data

[logging] level = debug

- It looks like the `radicale` user is the one running the server:

ps aux

PID USER TIME COMMAND 1 radicale 0:00 {radicale} /venv/bin/python /venv/bin/radicale --config /var/radicale/config/config [...] 426 root 0:00 ps aux


- I've tried running `chown -R radicale:radicale /var/radicale/data` to ensure the correct permissions, but that hasn't helped.

Any ideas? Thank you!
lehrblogger commented 4 months ago

After stepping away from this for a bit, it seems likely the issue is that Render doesn't support the PROPFOIND or MKCOL request methods (in the web interface and curl command, respectively). I'll investigate some more before closing this issue though.

lehrblogger commented 4 months ago

After some trial and error on different hosting services, I got everything working with Cloudron's Radicale app. Thanks for maintaining this image though — I might switch hosts in the future!