Owncloud 10.6. and Thunderbird 78.6.1 - Calendar synchronisation not working

Hello,

yesterday I updated to from Owncloud 10.4. to Owncloud 10.6. to use the Owncloud Web App.
Now the Mozilla Thunderbird Calendar doesn’t connect to my calendar anymore. I can’t “activate” it.

Over my android phone the connection still works. So I am a little lost.
Haven’t changed anything on Thunderbird.

Anyone with the same problem and maybe a solution?

Steps to reproduce

  1. Install Mozilla Thunderbird 78.6.1
  2. Install Owncloud 10.6.0 (stable)
  3. Install App oauth2
  4. Install Owncloud Web
  5. Create a calendar in Thunderbird and try to connect

Expected behaviour

The calendar should fetch the data from owncloud

Actual behaviour

The calendar can’t connect to owncloud

Server configuration

Operating system: Linux a2e3d 4.9.0-12-amd64 #1 SMP Debian 4.9.210-1+deb9u1 (2020-06-07) x86_64

Web server: Apache

Database: 5.7.32 - MySQL Community Server (GPL)

PHP version: 7.2.34

ownCloud version: 10.6.0 (stable)

Updated from an older ownCloud or fresh install: updated from 10.4.0.4 to 10.4.1.3 to 10.5.0.10 to 10.6.0

Where did you install ownCloud from: Webinstaller

Signing status (ownCloud 9.0 and above):

https://gist.github.com/tinogithub/ca6b2dd25db33817bad4f853054e128f

The content of config/config.php:

{
    "system": {
        "instanceid": "oc4c2c9vksza",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "cloud.XXXXXX.de"
        ],
        "datadirectory": "\/httpdocs\/owncloud\/cloud_data",
        "overwrite.cli.url": "https:\/\/cloud.XXXXXX.de",
        "dbtype": "mysql",
        "version": "10.6.0.5",
        "dbname": "kXXXXX_owncloud",
        "dbhost": "10.35.46.62:3306",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "maintenance": false,
        "theme": "",
        "loglevel": 2,
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "php",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "trashbin_retention_obligation": "auto, 7",
        "trashbin_purge_limit": 15,
        "updater.secret": "***REMOVED SENSITIVE VALUE***",
        "web.baseUrl": "https:\/\/cloud.XXXXXX.de\/index.php\/apps\/web"
    }
}

List of activated apps:

Enabled:
  - activity: 2.6.0
  - calendar: 1.6.4
  - comments: 0.3.0
  - configreport: 0.2.0
  - contacts: 1.5.5
  - dav: 0.6.0
  - federatedfilesharing: 0.5.0
  - federation: 0.1.0
  - files: 1.5.2
  - files_external: 0.7.1
  - files_mediaviewer: 1.0.4
  - files_pdfviewer: 0.11.2
  - files_sharing: 0.14.0
  - files_texteditor: 2.3.0
  - files_trashbin: 0.9.1
  - files_versions: 1.3.0
  - files_videoplayer: 0.9.9
  - firstrunwizard: 1.2.0
  - gallery: 16.1.1
  - market: 0.6.0
  - notifications: 0.5.2
  - oauth2: 0.4.4
  - onlyoffice: 6.2.1
  - provisioning_api: 0.5.0
  - systemtags: 0.3.0
  - templateeditor: 0.4.0
  - twofactor_totp: 0.7.1
  - updatenotification: 0.2.1
  - web: 1.0.2
Disabled:
  - encryption
  - external
  - user_external

Are you using external storage, if yes which one: no

Are you using encryption: no

Are you using an external user-backend, if yes which one: no

Client configuration

Mail-Client: Thunderbird 78.6.1

Operating system: Windows 10

Logs

Web server error log

no log during that time

Access SSL log

89.12.185.155 - - [20/Jan/2021:14:59:15 +0100] "PROPFIND /remote.php/dav/calendars/XXXXXXX/owncloud_kalender/ HTTP/1.0" 401 1636 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1"

ownCloud log (data/owncloud.log)

no log during that time

Mail-Client Log

401 Unauthorized (HTTP/2)

Without any logs or error messages it will be impossible for anyone to help you.
The post template for server topics is there to be filled out and it is asking for the different logs.

1 Like

I have found something:
Deactivating the App “oauth2” gives back access.
Activating it again results in the same error.

I don’t think that this is related to the oauth2 app, unless your TB does something weird. I’ve no problem syncing calendar with TB, even if the web app is running.

2 Likes

Thank you for your feedback, @alfredb
Seems like I have to keep digging.

1 Like