Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
shibacomputer opened this issue Feb 7, 2024 · 2 comments

Comments

@shibacomputer
Copy link

shibacomputer commented Feb 7, 2024

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.

@tomcatcw1980
Copy link

similar to #326

@gcarrarom
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants