Skip older Cal packages
-
Hello @jdaviescoates
Just to say, personally rather than doing this, I tend to just spin up a new server with the new version on and then restore the back-up to the new server. Quicker and less prone to issues imho but also not always an option.
Indeed, that is another way of doing this avoiding the whole
do-release-upgradeand the rats tail that might be attached to it.
I think adding this path toUpgrading to Ubuntu $VERSIONdocumentations is a good idea.
With the Dry run restore when taking this path you can also ensure that everything is working as intended reducing possible downtimes. -
Hi again,
Quick update: I've now upgraded Cloudron to 9.2.0 and Ubuntu to 24.04 as suggested. Thank you for the guidance — that all went smoothly.
However, the Cal.com 1.14.13 update issue persists even on the fully updated stack. I did some deeper debugging today and wanted to share my findings in case it helps others or the Cloudron team.
Environment:Cloudron 9.2.0
Ubuntu 24.04
Cal.com package 1.14.13 (Cal.com 4.7.16)Findings:
Inside the container, curl http://localhost:3000/[username] returns 200
Via nginx proxy, curl https://meet.[company].tools/[username] returns 404
The user exists in the database (confirmed via psql)
The .next build is located at /app/code/apps/web/.next/ and appears complete
The routes-manifest.json correctly contains https://meet.[company].tools
The HTML response reveals Cal.com 1.14.13 now uses the Next.js App Router (data-nextjs-router="app"), whereas 1.14.12 used the Pages Router
The response body shows the /:username route resolves to a 404 notFound component — even though the user exists in DB
The middleware-manifest.json has no matcher for /:usernameConclusion:
The 404 is served by Cal.com itself (not nginx). The App Router in 1.14.13 appears to not correctly resolve public user booking pages (/username), even when the user exists. This seems to be a regression in the Cloudron package for 1.14.13.
I've rolled back to 1.14.12 for now. Any guidance on how to proceed to eventually reach the latest Cal version would be greatly appreciated.
Thanks! -
Hello @tom.westphal
If the old version1.14.13is creating the issue, did you try updating past that?
Since the current version is2.13.0this issue might have already been resolved by a later update.
You can always clone the app from a backup and then update the clone to see if it resolves.
This way the production one keeps running. -
Hi,
just wanted to say thank you — your advice to simply update past 1.14.13 was spot on! I cloned the app from a backup and kept updating step by step. The 404 issue resolved itself after moving past 1.14.13.
Really appreciate the quick and helpful response!
Thanks! -
Hi again,
another update on my end. After identifying the root cause of the email delivery failures (Google Calendar API rate limit — 403 rateLimitExceeded on createEvent calls), I've been trying to set up Domain-Wide Delegation to fix this properly.
I've already completed all the Google-side steps:Created a new Google Cloud project (cal-com-*****)
Enabled the Google Calendar API
Created a service account with DWD enabled
Authorized the service account in Google Workspace Admin Console
Downloaded the JSON key fileHowever, I'm hitting a wall on the Cal.com side. The UI route /settings/organizations/platform/delegation-credentials returns "subscription needed", and calling the API v2 endpoint directly returns a 500 Internal Server Error:
POST /api/v2/organizations/1/delegation-credentials
→ HTTP 500 Internal Server Error
Current setup: Cloudron package 2.8.4, Cal.com 5.8.6. Auto-updates are running but after so many versions to catch up on, progress is slow — so any guidance on whether this will be supported in a future Cloudron package would be really helpful before waiting through dozens more updates.
My questions:Is DWD supported in the Cloudron Cal.com package, and if so, from which version?
Is the /api/v2/organizations/{orgId}/delegation-credentials endpoint available in the self-hosted Cloudron version?Thanks in advance!
-
Hi again,
another update on my end. After identifying the root cause of the email delivery failures (Google Calendar API rate limit — 403 rateLimitExceeded on createEvent calls), I've been trying to set up Domain-Wide Delegation to fix this properly.
I've already completed all the Google-side steps:Created a new Google Cloud project (cal-com-*****)
Enabled the Google Calendar API
Created a service account with DWD enabled
Authorized the service account in Google Workspace Admin Console
Downloaded the JSON key fileHowever, I'm hitting a wall on the Cal.com side. The UI route /settings/organizations/platform/delegation-credentials returns "subscription needed", and calling the API v2 endpoint directly returns a 500 Internal Server Error:
POST /api/v2/organizations/1/delegation-credentials
→ HTTP 500 Internal Server Error
Current setup: Cloudron package 2.8.4, Cal.com 5.8.6. Auto-updates are running but after so many versions to catch up on, progress is slow — so any guidance on whether this will be supported in a future Cloudron package would be really helpful before waiting through dozens more updates.
My questions:Is DWD supported in the Cloudron Cal.com package, and if so, from which version?
Is the /api/v2/organizations/{orgId}/delegation-credentials endpoint available in the self-hosted Cloudron version?Thanks in advance!
-
No, we don't have a Cal.com subscription — we're fully self-hosted via Cloudron. The "subscription needed" message appears in the UI, but since we're self-hosted I assumed this shouldn't apply. Is DWD simply not available in the Cloudron package without a Cal.com cloud subscription, or is there a way to enable it on self-hosted?
-
No, we don't have a Cal.com subscription — we're fully self-hosted via Cloudron. The "subscription needed" message appears in the UI, but since we're self-hosted I assumed this shouldn't apply. Is DWD simply not available in the Cloudron package without a Cal.com cloud subscription, or is there a way to enable it on self-hosted?
-
Thanks for the confirmation! That makes sense — good to know DWD won't be coming to the self-hosted version.
In the meantime I found a workaround via the Node.js Inspector that patches the gaxios retry logic at runtime to also retry on PATCH requests and 403 errors. Running it via a cronjob so it auto-reapplies after restarts. Will see over the next few days if it holds up.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login