Trouble adding a Google Calendar to NC 18

[details=“Support intro”]

Sorry to hear you’re facing problems :slightly_frowning_face:

Nextcloud version 18.0.3:
Operating system and version Ubuntu 20.04:
nginx version 1.18.0:
PHP version 7.4.3:

The issue you are facing:
I’m trying to add a Google calendar to my Nextcloud account (Holidays in United States, if it matters) but it just doesn’t seem to match up. Can anyone who has done this successfully give me any insight?

Is this the first time you’ve seen this error? (Y):

  • Please provide DETAILED information about your environment, the used software and app versions, etc., etc.
  • Please also describe IN DETAIL all steps you did to subscribe to the calendar link.
  • Please provide related messages from the Nextcloud log file.
  • Did you make sure that the required Nextloud cron job has correctly been set-up and is being executed regularly?

Plus it’s always good to search the forum on similar issues…

1 Like

Environment, software, and app versions included in the original post.

Clicked on New calendar, selected New subscription from link (read-only)
Pasted in link to Holidays in United States calendar (https://calendar.google.com/calendar/embed?src=en.usa%23holiday%40group.v.calendar.google.com&ctz=America%2FNew_York), hit ENTER.
Clicked the three dots, selected Download. Error message in new tab, “This is the WebDAV interface. It can only be accessed by WebDAV clients such as the Nextcloud desktop sync client.”

Where exactly is the Nextcloud log? I can’t find it on the server; is it on the client?

According to the documentation, the cron job runs once a week automatically. Is this incorrect?

I’m afraid it’s NOT really detailed. Plus: it doesn’t tell a single word about your environment - just sayin’ :wink:

this seems to be important. Like where did you enter the given link, exactly? And where did you get that link from?

Environment:

SHELL=/bin/bash
PWD=/home/kwright
LOGNAME=kwright
XDG_SESSION_TYPE=tty
MOTD_SHOWN=pam
HOME=/home/kwright
LANG=en_US.UTF-8
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:*.xspf=00;36:
SSH_CONNECTION=192.168.1.1 39838 192.168.1.10 22
LESSCLOSE=/usr/bin/lesspipe %s %s
XDG_SESSION_CLASS=user
TERM=xterm-256color
LESSOPEN=| /usr/bin/lesspipe %s
USER=kwright
SHLVL=1
XDG_SESSION_ID=42535
XDG_RUNTIME_DIR=/run/user/1000
SSH_CLIENT=192.168.1.1 39838 22
XDG_DATA_DIRS=/usr/local/share:/usr/share:/var/lib/snapd/desktop
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
SSH_TTY=/dev/pts/0
_=/usr/bin/env

To get the link, I went to my Google Calendar and clicked on “Holidays in United States.” That opened the details page, showing the link I copied and pasted into the box that came up when I selected “New subscription from link (read-only).”

I hope that helps. Sorry about the earlier misunderstanding!

  • By default the Nextcloud log file can be found in the data directory, except you’ve configured a different file path in your configuration file.

The documentation says that the cron job needs to be executed every 5 minutes AND NOT once a week! Please read the related paragraph of the administrator guide again.

Okay, I found the log file. What do you want to see from it?

Maybe (probably!) I’m misunderstanding something but here’s what the Admin manual has to say about Calendar Subscriptions:

Refresh rate

Calendar subscriptions are cached on server and refreshed periodically. The default refresh rate is of one week, unless the subscription itself tells otherwise.

Without doubt I’ve made a critical error, but I don’t know what.