Share calendar as public ical not working
Thanks for this new possibilties! But sadly it's not working.
I get an ics-address like that:
https://192.168.xxx.xxx/go/api/page.php/community/calendar/ics/4YhjU3Txxx4Bt0EPgYU8
and get a "404 - Not found" What am I doing wrong? Permissions and accessibility of the address are proved.
Strange, it works in my test. Is the URL correct? Not a /groupoffice/ missing in between perhaps?
No, unfortunately not... I've taken the exakt address proposed by calendar.
The "go" in between is my "groupoffice". By the way: the copied path on my server looks like that "SERVER\web\go\api\page.php" whereas "web" is the basepath of nginx.
I've also inserted a new event in the hope that this would trigger an update on the shared calendar.ics but no success. Should I have a cron to update it?
No log entries in php log. So I get no clue in this. On debug mode there are these entries on publishing a calendar with failed access
[2025-10-14 11:14:39][JMAP Calendar/set][log][go\core\jmap\Router:107] Method Calendar/set, ID: Calendar_9 [2025-10-14 11:14:40][JMAP Calendar/set][log][go\core\orm\EntityType:616] Pushing 1 JMAP sync changes [2025-10-14 11:14:40][JMAP Calendar/query][log][go\core\jmap\Router:107] Method Calendar/query, ID: Calendar_10 [2025-10-14 11:14:40][JMAP CalendarCategory/query][log][go\core\jmap\Router:107] Method CalendarCategory/query, ID: CalendarCategory_6 [2025-10-14 11:14:42][JMAP Calendar/set][log][go\core\jmap\Router:107] Method Calendar/set, ID: Calendar_11 [2025-10-14 11:14:42][JMAP Calendar/query][log][go\core\jmap\Router:107] Method Calendar/query, ID: Calendar_12 [2025-10-14 11:14:42][JMAP CalendarCategory/query][log][go\core\jmap\Router:107] Method CalendarCategory/query, ID: CalendarCategory_7 [2025-10-14 09:15:01][cron.php][log][go\core\model\CronJobSchedule:201] Running ScanEmailForInvites [2025-10-14 09:15:01][cron.php][log][go\core\model\CronJobSchedule:148] Running CRON method: go\modules\community\calendar\cron\ScanEmailForInvites [2025-10-14 09:15:01][cron.php][log][go\core\App:792] Start scanning email for invites.. [2025-10-14 09:15:01][cron.php][log][GO\Base\Session:423] Session writing closed [2025-10-14 09:15:01][cron.php][log][go\core\orm\EntityType:616] Pushing 1 JMAP sync changes
Ha! I've got it!
With Apache it's working, under Nginx NOT. Perhaps with nginx I must make another path additionally accessible.
In Nextcloud the similar link "https://192.168.xxx.xxx/remote.php/dav/public-calendars/cXyQfxoByXxXC56D?export" works with nginx.
The 404 came from nginx. The original answer is:
3 rewrite or internal redirection cycle while internally redirecting to "/go/api/page.php/community/calendar/ics/bwOvX0ov-Q3JfjAqePK3>
I think Nginx looks for the calendar page and is redirected to a rewritten address which it cannot resolve, because the ics-file is not there as supposed.
Do you have any hint?
After cleaning up some config issues in nginx and simply calling the plain copied link from GO calendar I get now
open() "/home/web/go/api/page.php/community/calendar/ics/bXxvX0ov-QxePK3" failed (20: Not a directory)
Now, since I've proxied this dynamic content from nginx to apache it's working like a charm. Problem fixed. Done.