Issue Summary
Self-hosting with Docker. After installing, everything was looking good. However, I checked this morning to see that randomly, Google Calendar / Google Meet was disabled on my instance. This was after setting it up and having it work correctly.
I checked the database, and it was properly seeded with the credentials. However, enabled was randomly set to false instead of true. I was able to fix this by updating the SQL table and it seems to be working again. Need to see if it disables again, and if so why that happened.
TEMPORARY FIX
This bug happens when the recently added shouldEnableApp function runs, which happens on container start-up and during the CRON App Sync. Here are the steps to get it working again until a PR is submitted:
- Spin down the container and add the ENV variable
CRON_ENABLE_APP_SYNC=false. This is important to prevent the Calendar from being disabled on a scheduled basis.
- Run a SQL statement to set the apps enabled status to true, e.g.
UPDATE "App" SET enabled = true WHERE slug = 'google-calendar';
- If you need to spin down your container again in the future, repeat Step 2.
It has been 4 days since I submitted this issue and this fix has stopped the calendar apps from consistently breaking.
Technical details
- On image calcom.docker.scarf.sh/calcom/cal.com:v6.1.9-arm
- Postgres Alpine 16
Issue Summary
Self-hosting with Docker. After installing, everything was looking good. However, I checked this morning to see that randomly, Google Calendar / Google Meet was disabled on my instance. This was after setting it up and having it work correctly.
I checked the database, and it was properly seeded with the credentials. However, enabled was randomly set to false instead of true. I was able to fix this by updating the SQL table and it seems to be working again. Need to see if it disables again, and if so why that happened.
TEMPORARY FIX
This bug happens when the recently added
shouldEnableAppfunction runs, which happens on container start-up and during the CRON App Sync. Here are the steps to get it working again until a PR is submitted:CRON_ENABLE_APP_SYNC=false. This is important to prevent the Calendar from being disabled on a scheduled basis.UPDATE "App" SET enabled = true WHERE slug = 'google-calendar';It has been 4 days since I submitted this issue and this fix has stopped the calendar apps from consistently breaking.
Technical details