nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
26.91k stars 4.02k forks source link

[Bug]: Subscribe shared Nextcloud calendar in MS Outlook #41720

Closed CNpunkt closed 1 week ago

CNpunkt commented 10 months ago

⚠️ This issue respects the following points: ⚠️

Bug description

A shared calendar from NextCloud cannot be subscribed in MS Outlook.

Steps to reproduce

  1. Copy the share link from NextCloud calendar:

    image
  2. The link looks like https://sub.mydomain.com/remote.php/dav/public-calendars/AbCd1234?export

  3. In MS Outlook click on "Add calendar":

    image
  4. Select "Subscribe from web" and paste the link from step 2.:

    image
  5. After clicking on "Import" an error message is shown:

    image

When I manually open the link, the .ics file is successfully downloaded.

Expected behavior

A shared calendar from NextCloud can be subscribed in MS Outlook.

Installation method

Community Docker image

Nextcloud Server version

27

Operating system

None

PHP engine version

None

Web server

None

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Fresh Nextcloud Server install

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

solracsf commented 10 months ago

Tried with, it worked. v27.1.3

https://my.domain.com/remote.php/dav/public-calendars/cLaFRnB2pTeSCFa3?export

image

image

CNpunkt commented 10 months ago

Could it have something to do with the NGINX Proxy Manager and Let's encrypt certificates?

thomasmerz commented 6 months ago

I'm not sure if my problem is the same or related to this:

I can for sure subscribe to my (shared and private) Nextcloud calenders in MS Outlook (outlook.office.com as well as Outlook App on MacOS and also shown via Calender on iOS with this account). But every update on my NC calendars are not synchronized to Outlook since an unknown time (weeks, maybe months?)!

I'm 100 percent sure that "before" I also got every update my wife and my kids made in our shared NC calender in my Outlook calender.

Is this really an error/problem in NC or in Outlook (this is not the first and not the only of my many problems in the past with this Outlook calender on MacOS and iOS!)? I will also open an issue with my company account at MS for this.

I'm always on latest stable version due to daily patching/docker-pull.

joshtrichards commented 2 months ago

When I manually open the link, the .ics file is successfully downloaded. [...] Could it have something to do with the NGINX Proxy Manager and Let's encrypt certificates?

Anything is possible.

What happens when you run curl -i {the_full_url}?

And what appears in your proxy, web server, and Nextcloud logs when you try to add to Outlook?

MrPinrel commented 2 months ago

I had a lot of problems with subscribing to my nextcloud calendar from Google calendar and outlook. I finally narrowed it down to a troublesome calendar entry (never was able to figure out which one) that was causing the import of the exported file to fail. I deleted a bunch of old calendar entries and tried again and it started working and has been working fine since.

I know this is not a very specific report and it makes it impossible for anyone to fix any bugs if they exist but I wanted to document my experience.

thomasmerz commented 1 month ago

Meanwhile my problem (every update on my NC calendars are not synchronized to Outlook since an unknown time) is almost solved - it just takes much longer than in the early days of the integration; but it syncs. Must be more patient now… 🤷🏼‍♂️

MrPinrel commented 1 month ago

There is a setting which determines how often nextcloud “exports” the file for synchronization, have you loooked into that? I set it to export every hour. I can find the details for you if that helps.Marcos*Sent from my iPhoneOn Aug 13, 2024, at 10:36, Thomas Merz @.***> wrote: Meanwhile my problem (every update on my NC calendars are not synchronized to Outlook since an unknown time) is almost solved - it just takes much longer than in the early days of the integration; but it syncs. Must be more patient now… 🤷🏼‍♂️

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

nextcloud-command commented 3 weeks ago

This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.