On 3/28/25 00:41, Petter Reinholdtsen wrote:
[Sunil Mohan Adapa]I have submitted a patch to fix the auth/type configuration with radicale 3.5. This ensures that new installs on trixie will not face any issues. Both James and I have confirmed that just changing auth/type in sufficient to make it work properly. However, there is more to this issue:Aha. Why did you go with remote_user? The new http_x_remote_user option seem to be a better fit when reading /etc/apache2/conf-enabled/radicale2-freedombox.conf, with its 'RequestHeader set X-Remote-User expr=%{REMOTE_USER}' setting. My file also had "type = owner_write" in /etc/radicale/config which was lost when upgrading. I notice your merge request do not touch this part. Is it no longer needed?
- Debian Maintainer for radicale choose `type = remote_user` as the default up until version 3.5 (and then they dropped it). So, I just continued that.
- I read some source code and documentation for both approaches and could not find any particular reason to pick one over the other. Using environmental variable should be slightly safer over using HTTP headers. So, I think it would be okay to keep 'type = remote_user'
[...]
I am not sure what happened, but when I had a look now, the calendar sync is back in operation, so no debugging needed. Thank you for the recipe, I will try to keep it in mind for the next time this break. :)
I am staring to believe that this could be some caching of the negative result somewhere. Perhaps in Apache. Restarting uWSGI was not enough, so may be Apache restart was also needed. I will try to reproduce the problem again before closing the issue.
I also have another major change[1] to FreedomBox brewing that should help with unexpected configuration change that came in radicale 3.5. All of the efforts combined should take care of this issue.
Links: 1) https://salsa.debian.org/freedombox-team/freedombox/-/merge_requests/2641 Thanks, -- Sunil
OpenPGP_0x36C361440C9BC971.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature