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

From: [email-masked]
Date: Mon, 17 Apr 2023 15:33:06 +0000

[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

## 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.

## 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

+ possibly related to: https://issues.guix.gnu.org/35267#3

## System information

Guix System x86_64 with GNOME desktop/X11