Subject: bug#62908: [email-masked] or above don't connect with Nextcloud online account (GNOME desktop)

From: Liliana Marie Prikler <[email-masked]>
Date: Tue, 25 Apr 2023 06:31:29 +0200

Am Montag, dem 17.04.2023 um 15:33 +0000 schrieb
[email-masked]:
> [email-masked] or above don't connect with Nextcloud 
> online account
> 
> ## Steps to reproduce
> 
> The following steps assume you are using Guix System x86_64 with
> GNOME desktop/X11
> 
> 1. fresh install with guix-system-install-1.4.0.x86_64-linux.iso (or
> the 
> devel iso: sp7lgxn1q3d37536dwq2r5r9yd18jw50-image.iso)
> 
> 2. guix package -i evolution-data-server
>         (i.e: [email-masked] with 
> guix-system-install-1.4.0)
>         (i.e: [email-masked] with 
> sp7lgxn1q3d37536dwq2r5r9yd18jw50-image.iso)
> 
> 3. optional: guix package -i evolution
> 
> 4. go to Settings, connect to a Nexcloud account
> 
> ## Expected result
> 
> + Calendar (or Evolution) connect to the Nexcloud account and can
> manage 
> calendars and address books (display existing calendars/address
> books, 
> add new item or delete item).
> + Files connect to the Nexcloud account and display online documents.
> 
> ## Unexpected result
> 
> + Calendar (or Evolution) can't connect to the Nexcloud account and 
> display nor manage nothing (or only display the calendars list) with 
> this error:
> 
>    Address book:
>    Impossible de se connecter au carnet d’adresses « CardDAV : Sans
> nom »
>    Échec avec l’erreur HTTP 405 : Method Not Allowed
> 
>    Calendars:
>    Impossible de se connecter à l’agenda « Sur le Web : Next_Ponctuel
> »
>    Bad Request
> 
>    Impossible de se connecter à « [email-masked] »
>    Erreur de résolution de « [email-masked] » : Nom ou
> service 
> inconnu
> 
> + (side note: Files connect perfectly to the Nexcloud account and 
> display online documents)
> 
> see:
> https://lists.gnu.org/archive/html/help-guix/2023-03/msg00255.html
The currently packaged evolution also appears to suffer from other
issues (see e.g. https://issues.guix.gnu.org/62942)  You may want to
try that patch or wait for it to be upstreamed.

> ## Workaround
> 
> 1. fresh install with guix-system-install-1.3.0.x86_64-linux.iso
> 
> 2. guix package -i evolution-data-server (i.e: 
> [email-masked])
> 
> 3. optional: guix package -i evolution
> 
> 4. go to Settings connect to a Nexcloud account
> 
> Result:
> -> Calendar (and Evolution) connect to the Nexcloud account and can 
> manage calendars and address books (display existing
> calendars/address 
> books, add new item or delete item).
> -> Files connect to the Nexcloud account and display online
> documents.
As a matter of principle, don't install Guix from old ISOs.  Instead,
use `guix time-machine' or inferiors with Scheme.

> ## Additional information
> 
> + Upgrade from [email-masked] to 
> [email-masked] partially fails:
> 1. fresh install with guix-system-install-1.3.0.x86_64-linux.iso
> 2. guix package -i evolution-data-server (i.e: 
> [email-masked])
> 3. guix pull & sudo guix system reconfigure /etc/config.scm & reboot
> & 
> guix package -u
> Result:
> ->   Calendar (and Evolution) connect to the Nexcloud account and can
> manage calendars and address books (display existing
> calendars/address 
> books, add new item or delete item).
>       But: Evolution displays the same error messages as above (see:
> ## 
> Unexpected result)
>       Files connect to the Nexcloud account and display online
> documents.
> 
> + Downgrade from [email-masked] to 
> [email-masked] fails:
> 1. fresh install with >= guix-system-install-1.4.0.x86_64-linux.iso
> 2. guix package -i [email-masked]
> Result:
> -> Same error: Calendar (or Evolution) can't connect to the Nexcloud 
> account and display nor manage nothing.
> 
> + Downgrade from [email-masked] to 
> [email-masked] fails:
> 1. fresh install with guix-system-install-1.4.0.x86_64-linux.iso
> 2. guix package -i [email-masked]
> Result:
> -> no package found
None of this is useful.  For accurate version information, use `guix
describe'.

> + possibly related to: https://issues.guix.gnu.org/35267#3
IIUC the fix to that one is to install evolution-data-server in the
operating-system packages rather than on the user level.  Since
evolution is tied to its data-server, you'd need to have both in the
operating-system (my personal fix is to extend the gnome package so as
to include them both, but that's besides the point).  Since evolution
launches for you, this bug doesn't seem apply, however.

Cheers