Skip to content
This repository was archived by the owner on Oct 29, 2025. It is now read-only.
This repository was archived by the owner on Oct 29, 2025. It is now read-only.

Error on first user signup - JSON.parse: unexpected character at line 1 column 1 of the JSON data #324

Open

Description

@shibco

I'm trying to deploy the docker project on a personal server running Fedora Server 39 and Docker. Using basically default settings in my .env, and updating only NEXT_PUBLIC_WEBAPP_URL, NEXTAUTH_SECRET, CALENDSO_ENCRYPTION_KEY and POSTGRES_PASSWORD, I am getting this error when inviting my first user:

image

calcom-1  | @calcom/web:start: Error: @vercel/edge-config: No connection string provided
calcom-1  | @calcom/web:start:     at m (file:///calcom/apps/web/.next/server/middleware.js:90:19)
calcom-1  | @calcom/web:start:     at E (file:///calcom/apps/web/.next/server/middleware.js:160:15)
calcom-1  | @calcom/web:start:     at N (file:///calcom/apps/web/.next/server/middleware.js:162:18)
calcom-1  | @calcom/web:start:     at middleware (file:///calcom/apps/web/.next/server/middleware.js:835:40)
calcom-1  | @calcom/web:start:     at Object.middleware (file:///calcom/apps/web/.next/server/middleware.js:750:32)
calcom-1  | @calcom/web:start:     at Object.handler (file:///calcom/apps/web/.next/server/middleware.js:2696:55)
calcom-1  | @calcom/web:start:     at <unknown> (file:///calcom/apps/web/.next/server/middleware.js:4420:23)
calcom-1  | @calcom/web:start:     at AsyncLocalStorage.run (node:async_hooks:338:14)
calcom-1  | @calcom/web:start:     at Object.wrap (file:///calcom/apps/web/.next/server/middleware.js:4251:24)
calcom-1  | @calcom/web:start:     at adapter (file:///calcom/apps/web/.next/server/middleware.js:4407:53)
calcom-1  | @calcom/web:start: react-i18next:: You will need to pass in an i18next instance by using initReactI18next
calcom-1  | @calcom/web:start: 
calcom-1  | @calcom/web:start:  ⚠ metadata.metadataBase is not set for resolving social open graph or twitter images, using "http://localhost:3000". See https://nextjs.org/docs/app/api-reference/functions/generate-metadata#metadatabase
calcom-1  | @calcom/web:start: react-i18next:: You will need to pass in an i18next instance by using initReactI18next
calcom-1  | @calcom/web:start: 12:17:51:411    WARNorgDomains.ts Match of WEBAPP_URL with ALLOWED_HOSTNAME failed {
calcom-1  | @calcom/web:start:   WEBAPP_URL: 'https://mydomain.com',
calcom-1  | @calcom/web:start:   ALLOWED_HOSTNAMES: []
calcom-1  | @calcom/web:start: }

Adding ALLOWED_HOSTNAMES does not make a difference.

I also posted this on the Docker channel in Discord but given the presence of crypto and developer scam/spam bots it's very clear that the Discord community is unmoderated, hence filing this as an issue.

Activity

  1. tomcatcw1980 commented on Feb 7, 2024

    @tomcatcw1980

    similar to #326

  2. gcarrarom commented on Mar 6, 2024

    @gcarrarom

    Any news? Did someone find out what is happening here? I'm running into the same issue here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions