Skip to content

Troubleshooting

Start with the logs:

docker compose ps
docker compose logs --tail=100 app
docker compose logs --tail=100 caddy

The site doesn't load at all

Caddy keeps restarting with Site addresses cannot contain a comma
SITES in .env lists domains without spaces. Write SITES=meet.example.com, meet.other.example (comma and space), then docker compose up -d caddy.
Connection refused or timeout from outside, docker compose ps shows everything running
Ports 80/443 are blocked. Check the server firewall (ufw status) and any firewall in front of the server at your hosting provider.
Certificate errors, or Caddy logs challenge failed
DNS for the domain doesn't point at this server yet, or port 80 is blocked (Let's Encrypt needs it). Check with dig +short meet.example.com. Caddy retries by itself once it's fixed.
502 Bad Gateway
The app isn't running. docker compose logs app shows why; usually a startup check.

The app refuses to start

Refusing to start: followed by a list
Fix each item; they name the variable and what's wrong. For example SECRET_KEY must be set and at least 32 characters or brand 2: "color" must be like #3776f5.
Warning: Brand "example": color #… is hard to read on white
Not an error. Pick a darker colour, see Colours.
relation "…" does not exist / column "…" does not exist
The schema is older than the code. Run docker compose run --rm migrate.

Signing in

"Only @example.com accounts can sign in."
Google: the account isn't on the allowed domain, or its email isn't verified. Personal Gmail accounts can't sign in.
"This site is private."
The site has an owner and you're not them. Use your company site.
Google shows redirect_uri_mismatch
Add https://<this site>/api/auth/callback to the OAuth client's redirect URIs, exactly, with https.
Google shows "Access blocked: … can only be used within its organization"
You're signing in with an account outside the Workspace that owns the OAuth app. That's the Internal setting working.
Signed in on one site but not another
Expected: sessions are per domain. Sign in on each site.

Microsoft 365 sign-in

The setup wizard and the Microsoft connection page turn Entra's AADSTS error numbers into these messages. A normal sign-in only says "Sign-in was cancelled." or "Microsoft sign-in failed."; Entra often shows the AADSTS number on its own error page first.

"The redirect URI in Entra ID doesn't match." (AADSTS50011, AADSTS500113)
Under the app registration's Authentication, add https://<this site>/api/auth/callback as a Web redirect URI, exactly, with https.
"Admin consent is missing." (AADSTS65001, AADSTS65004, AADSTS90094, AADSTS90095)
Open the app's API permissions and choose Grant admin consent for your company. A Global or Application Administrator has to do it.
"The app is missing a permission."
Add the delegated Microsoft Graph permissions Calendars.ReadWrite and Mail.Send, grant admin consent again, then retry. See the list.
"That account isn't in this tenant." (AADSTS50020, AADSTS90072, AADSTS50034) or "Sign in with your work account of this company's Microsoft 365."
You signed in with an account of another tenant, or a personal Microsoft account. Use a work account of the tenant whose Directory (tenant) ID you entered.
"No Microsoft tenant has that Directory (tenant) ID." (AADSTS90002, AADSTS900023)
Copy the Directory (tenant) ID again from the app's Overview page.
"This tenant has no app with that Application (client) ID." (AADSTS700016)
Copy the Application (client) ID again from the app's Overview page.
"The client secret is wrong." (AADSTS7000215)
You pasted the Secret ID, or not the whole value. Paste the secret's Value. If it's no longer shown, create a new secret.
"This client secret has expired." (AADSTS7000222)
Create a new secret under Certificates & secrets and enter it; see Renewing the secret.
"Guest accounts can't sign in."
Expected. Only member accounts of your tenant can use MeetAlias.
"Microsoft didn't let us read your calendar."
The account has no Exchange Online mailbox. Give it a Microsoft 365 licence that includes Exchange, then retry.
"Microsoft did not grant offline access."
offline_access is missing from the app's permissions, or wasn't accepted. Add it, grant admin consent, and retry.
"Microsoft sign-in is broken on this site: the app's client secret expired or was deleted."
An admin who is still signed in renews the secret; see Renewing the secret.

Meetings and email

Red banner "Google access was revoked or has expired" (or "Microsoft access…")
That person needs Sign in again from the banner. Until then, their meetings can't be created or changed, invites can't be sent, their booking page shows no times and sync stops for them.
Banner "The Microsoft client secret has expired or was deleted" for everyone, or "Renew the Microsoft secret" for admins
The Entra app's client secret ran out or was deleted. Signing in again doesn't help: an admin renews it, see Renewing the secret. The banners clear at the next sync, within about 10 minutes.
"The meeting was saved, but some emails could not be sent"
Gmail or Outlook refused the message. Check docker compose logs app for the reason; often expired access (above) or a sending limit.
Microsoft 365: invites to outside addresses never arrive, and the organiser gets "Undeliverable" with 550 5.7.708 Service unavailable. Access denied, traffic not accepted from this IP
MeetAlias handed the mail to Exchange; Microsoft itself refused to send it out. It does this for new or trial tenants that have no sending reputation yet. Invites inside your company still arrive. To fix it: set up DKIM for your domain (Microsoft Defender → Email authentication settings → DKIM) and make sure SPF includes include:spf.protection.outlook.com; a paid subscription and some normal mail traffic usually lift it; otherwise open a support request in the Microsoft 365 admin center asking to remove the outbound restriction. Exchange admin center → Mail flow → Message trace shows each message's status.
Invites come from the main address instead of the site's sender domain
On Google, that person has no Send mail as alias for the domain. On Microsoft 365, admins also see "Emails sent from the wrong address" on the meeting list: the address isn't an alias of the person's mailbox, or sending from aliases is off. See Sender addresses.
A change made in Google Calendar or Outlook doesn't show
Sync runs every 10 minutes and only for meetings created in MeetAlias. Changes to single occurrences of a series aren't copied.
A booking page shows no free times
Check, in order: a meeting type is Open; weekly hours are set and saved; the timezone is right; Minimum notice and Bookable up to leave room; the person's Google or Microsoft access works; the daily booking cap wasn't reached.