Subscribe to calendar

Hello !
I updated the calendar app to the lastest version (and nextcloud to 18) but now the subscribed calendars doesn’t appear.
They were working on previous version. I tried to delete them and re-create them (the link is from icloud calendar) and it doesn’t work.

Anyone have an idea ?

Thanks :slight_smile:

Things have changed with the latest Calendar app version, but not my recommendation to use the beautiful search function of this form first :wink:

1 Like

I tried to change
webcall://p14-caldav.icloud.com/****
to
https://p14-caldav.icloud.com/****
but nothing changes.
Background tasks are made AJAX
I tried with https://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics but doesn’t work too.
By the way, I got this error in my logs :

  • The web server configuration does not allow to reach “/.well-known/caldav”. More information can be found in the documentation.
  • The web server configuration does not support “/.well-known/carddav”. More information can be found in the documentation.

I cannot find how to solve it. My .htaccess is the default one and works

I personally would recommend to use cron and not AJAX.

Have you tried to use the search function of this forum:

https://help.nextcloud.com/search?q=%22.well-known%2Fc%22

This error is solved ! But there is still no event in the calendar and nothing in Nextcloud Logs

Have you checked the syntax of the calendar file resource using the iCalendar verifier?
Can you provide an example calendar file which isn’t displayed?

I tried with : https://www.data.gouv.fr/fr/datasets/r/9ee406f6-250f-4a92-bcc1-fba2133918ec
There is events in this calendar this month. But none of them are displayed. Calendars created on nextCloud works : https://prnt.sc/r142po
On the iCalendar verifier, there is 1 warning for this calendar but I don’t understand what this error means.
I hope you can help me, if you need a Teamviewer or some logs feel free to ask :slight_smile:

@Maxence1502 The issue you’re having is this one https://github.com/nextcloud/calendar/issues/1895

I have a problem with Cron. That might be the issue.
I cannot find how to solve my problem on google. I set background task in “Cron” mod in nextcloud, but even 2 hours later, I still have the red square.
Cron status return : http://prntscr.com/r172xv
I tried to add a date.out file to see if the cron is run and it is. I tried to manually run the cron.php, nothing is returned, but no errors.

Any ideas ? :cry:

What’s the frequency of your cron task ?

You can investigate for pending jobs by taking a look at the oc_jobs table in your Nextcloud database, especially the columns last_run and last_checked.

I took the configuration of the documentation : every 5 minutes
Here is the entry I have about Calendar App in the table oc_jobs :
(3336, ‘OCA\DAV\BackgroundJob\RefreshWebcalJob’, ‘{“principaluri”:“principals\/users\/Maxence”,“uri”:“wwwdatagouvfr”}’, 0, 1581495362, 0, 0)

I’ll pm you my complete oc_jobs table.

You have a great number of jobs waiting (many don’t have a 0 value for the last_run timestamp), so the only solution I see is to increase your cron’s frequency.

But I wonder if there’s not another problem.
At the top of the page for choosing the type of background task, it says, “Something went wrong with the last task 18 hours ago.”
And yet the cron task is executed without errors