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

[docs]: Radis missing connection #1464

Open
TheMikeyRoss opened this issue Mar 11, 2025 · 5 comments · May be fixed by #1465
Open

[docs]: Radis missing connection #1464

TheMikeyRoss opened this issue Mar 11, 2025 · 5 comments · May be fixed by #1465

Comments

@TheMikeyRoss
Copy link

To Reproduce

I followed the steps in the contribution page and I got this error:

Make sure you have installed Redis and it is running. Error: connect ECONNREFUSED 127.0.0.1:6379
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1634:16) {
  errno: -61,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '127.0.0.1',
  port: 6379
}

but there was nothing about radis. is there a .env.example needed? is there a step I missed?

Current vs. Expected behavior

Running pnpm run dokploy:dev should run the frontend to https://localhost:3000 but instead I get repeated radis connection error

Provide environment information

MacBook Pro OS 15.3.1

Which area(s) are affected? (Select all that apply)

Local Development

Are you deploying the applications where Dokploy is installed or on a remote server?

Same server where Dokploy is installed

Additional context

No response

Will you send a PR to fix it?

Maybe, need help

@zaaakher
Copy link

You need to have radis installed and a server started.

@zaaakher zaaakher linked a pull request Mar 11, 2025 that will close this issue
@TheMikeyRoss
Copy link
Author

I installed radis but still get this error:

2025-03-11T11:52:57.515Z WARN [Better Auth]: Social provider google is missing clientId or clientSecret
 ⨯ PostgresError: relation "member" does not exist
    at ErrorResponse (file:///Users/mikey/Desktop/coding/dokploy/node_modules/.pnpm/postgres@3.4.4/node_modules/postgres/src/connection.js:788:26)
    at handle (file:///Users/mikey/Desktop/coding/dokploy/node_modules/.pnpm/postgres@3.4.4/node_modules/postgres/src/connection.js:474:6)
    at Socket.data (file:///Users/mikey/Desktop/coding/dokploy/node_modules/.pnpm/postgres@3.4.4/node_modules/postgres/src/connection.js:315:9)
    at Socket.emit (node:events:524:28)
    at addChunk (node:internal/streams/readable:561:12)
    at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
    at Readable.push (node:internal/streams/readable:392:5)
    at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
  severity_local: 'ERROR',
  severity: 'ERROR',
  code: '42P01',
  position: '318',
  file: 'parse_relation.c',
  line: '1384',
  routine: 'parserOpenTable',
  page: '/'
}
 ⨯ PostgresError: relation "member" does not exist
    at Socket.emit (node:events:524:28)
 ○ Compiling /_error ...

@zaaakher
Copy link

Make sure to run the setup command again

pnpm run dokploy:setup

@gentslava
Copy link
Contributor

gentslava commented Mar 11, 2025

@TheMikeyRoss it means that you don't have a running Redis instance or its port isn't published.
Check if you copied the .env.example to .env before running dokploy:setup script.

cp apps/dokploy/.env.example apps/dokploy/.env

@gentslava
Copy link
Contributor

This is the complete sequence of setup steps:

pnpm install
cp apps/dokploy/.env.example apps/dokploy/.env
pnpm run dokploy:setup
pnpm run dokploy:dev

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

Successfully merging a pull request may close this issue.

3 participants