msgbyte / msgbyte/tianji

[Contribute] Unable to authenticate on database server

Open
#208 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
3.1k
Forks
194
Avg merge
18m
Merged PRs (30d)
3

Description

Hi,

I want to cotribute to this great project and follow instructions from here. But I miss something.

Try it on WSL2 but fails when trying to execute:
cd src/server && pnpm db:migrate:apply

All steps above in documentation are processed.

Image

PostgreSQL service is running...

● postgresql.service - PostgreSQL RDBMS
     Loaded: loaded (/lib/systemd/system/postgresql.service; enabled; vendor preset: enabled)
     Active: active (exited) since Thu 2025-07-10 11:20:36 CEST; 2h 10min ago
   Main PID: 657 (code=exited, status=0/SUCCESS)
        CPU: 2ms

Jul 10 11:20:36 DMLAPTOPX systemd[1]: Starting PostgreSQL RDBMS...
Jul 10 11:20:36 DMLAPTOPX systemd[1]: Finished PostgreSQL RDBMS.

I don't know what I missing 😓

Thanks.

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 the preparation instructions at https://tianji.dev/docs/dev/prepare and the cd src/server && pnpm db:migrate:apply command. Check the PostgreSQL authentication setup used by the migration on WSL2, using the reported service status as context. Done means the migration command authenticates and completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, postgresql, typescript
Domain
database, developer-experience
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.