[Freedombox-pkg-team] Bug#1100995: Bug#1100995: freedombox: Radicale stopped working after upgrade to radicale version 3.5.0-1

Sunil Mohan Adapa sunil at medhas.org
Fri Mar 28 23:59:38 GMT 2025


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x36C361440C9BC971.asc
Type: application/pgp-keys
Size: 46335 bytes
Desc: OpenPGP public key
URL: <http://alioth-lists.debian.net/pipermail/freedombox-pkg-team/attachments/20250328/411595b3/attachment-0001.asc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/freedombox-pkg-team/attachments/20250328/411595b3/attachment-0001.sig>


More information about the Freedombox-pkg-team mailing list