OpenCut-app / OpenCut-app/OpenCut

error when run "bun run db:push:local"

Open
#213 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
89.8k
Forks
8.9k
PR merge metrics
No merged PRs in 30d

Description

error: password authentication failed for user "opencut":

$ cross-env NODE_ENV=development drizzle-kit push
No config path provided, using default 'drizzle.config.ts'
Reading config file 'E:\personal_projects\OpenCut\apps\web\drizzle.config.ts'
Using 'pg' driver for database querying
[⣷] Pulling schema from database...
error: password authentication failed for user "opencut"
at E:\personal_projects\OpenCut\node_modules\pg-pool\index.js:45:11
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Object.query (E:\personal_projects\OpenCut\node_modules\drizzle-kit\bin.cjs:80597:26)
at async fromDatabase2 (E:\personal_projects\OpenCut\node_modules\drizzle-kit\bin.cjs:19253:25) {
length: 103,
severity: 'FATAL',
code: '28P01',
detail: undefined,
hint: undefined,
position: undefined,
internalPosition: undefined,
internalQuery: undefined,
where: undefined,
schema: undefined,
table: undefined,
column: undefined,
dataType: undefined,
constraint: undefined,
file: 'auth.c',
line: '324',
routine: 'auth_failed'
}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with apps/web/drizzle.config.ts and the bun run db:push:local command, then inspect the local database connection settings associated with the opencut user. Reproduce the password authentication failed error and compare the configured credentials with the local PostgreSQL setup. Done means the command completes successfully without the authentication error.

Written by the indexing model from the issue text.

Assessment

Tech stack
bun, postgresql, typescript
Domain
backend, databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.