Replies: 1 comment 1 reply
-
Hey there! Your issue specifically is relating to the fact that migrations haven't run, you will need to run them separate to the docker container as part of your deployment process. That said we are working on improving the self-hosting experience with Docker since right now it requires you to build the container personally so you can have the right values filled in for the You can see our experimental work on this at #648 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey guys, will there be an easier install for docker? I've download one already compiled and I manually created a postgresql database and changed the .env setting ( i am using plesk docker ) and I am getting the following error (attached) . Is there a way to reset the docker setup of the documenso? When I "create account" this is the error I am getting. I am using the docker image called "ragil88/documenso-app:v1.0" What am I missing? Hopefully you can help me fully solve this issue. Here is the log as well:
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
{
'process.env.NEXT_PUBLIC_ALLOW_SUBSCRIPTIONS': 'false',
enabled: false,
'subscription.status': undefined,
'subscription.periodEnd': undefined
}
�[31m �[31m [next-auth][error][NO_SECRET]
https://next-auth.js.org/errors#no_secret Please define a
secret
in production. MissingSecret [MissingSecretError]: Please define asecret
in production.at assertConfig (/app/node_modules/next-auth/core/lib/assert.js:42:12)
at AuthHandler (/app/node_modules/next-auth/core/index.js:70:52)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async NextAuthApiHandler (/app/node_modules/next-auth/next/index.js:24:19)
at async NextAuth._args$ (/app/node_modules/next-auth/next/index.js:110:14)
at async Object.apiResolver (/app/node_modules/next/dist/server/api-utils/node.js:372:9)
at async NextNodeServer.runApi (/app/node_modules/next/dist/server/next-server.js:514:9)
at async Object.fn (/app/node_modules/next/dist/server/next-server.js:828:35)
at async Router.execute (/app/node_modules/next/dist/server/router.js:243:32)
at async NextNodeServer.runImpl (/app/node_modules/next/dist/server/base-server.js:432:29) {
code: 'NO_SECRET'
} �[0m �[0m
�[31m �[31m [next-auth][error][NO_SECRET]
https://next-auth.js.org/errors#no_secret Please define a
secret
in production. MissingSecret [MissingSecretError]: Please define asecret
in production.at assertConfig (/app/node_modules/next-auth/core/lib/assert.js:42:12)
at AuthHandler (/app/node_modules/next-auth/core/index.js:70:52)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async NextAuthApiHandler (/app/node_modules/next-auth/next/index.js:24:19)
at async NextAuth._args$ (/app/node_modules/next-auth/next/index.js:110:14)
at async Object.apiResolver (/app/node_modules/next/dist/server/api-utils/node.js:372:9)
at async NextNodeServer.runApi (/app/node_modules/next/dist/server/next-server.js:514:9)
at async Object.fn (/app/node_modules/next/dist/server/next-server.js:828:35)
at async Router.execute (/app/node_modules/next/dist/server/router.js:243:32)
at async NextNodeServer.runImpl (/app/node_modules/next/dist/server/base-server.js:432:29) {
code: 'NO_SECRET'
} �[0m �[0m
�[31m �[31m PrismaClientKnownRequestError:
Invalid
prisma.user.findFirst()
invocation:The table
public.User
does not exist in the current database.at Zr.handleRequestError (/app/node_modules/@prisma/client/runtime/library.js:171:6414)
at Zr.handleAndLogRequestError (/app/node_modules/@prisma/client/runtime/library.js:171:5948)
at Zr.request (/app/node_modules/@prisma/client/runtime/library.js:171:5786)
at async t._request (/app/node_modules/@prisma/client/runtime/library.js:174:10455)
at async postHandler (/app/.next/server/pages/api/auth/signup.js:74:26)
at async /app/.next/server/chunks/857.js:44:28
at async /app/.next/server/chunks/857.js:29:13
at async Object.apiResolver (/app/node_modules/next/dist/server/api-utils/node.js:372:9)
at async NextNodeServer.runApi (/app/node_modules/next/dist/server/next-server.js:514:9)
at async Object.fn (/app/node_modules/next/dist/server/next-server.js:828:35) {
code: 'P2021',
clientVersion: '4.11.0',
meta: { table: 'public.User' }
} �[0m �[0m
Beta Was this translation helpful? Give feedback.
All reactions