Skip to content
This repository was archived by the owner on Aug 31, 2025. It is now read-only.
Discussion options

You must be logged in to vote

Question:
I'm getting a "database connection error" when trying to run Retrospring locally. What should I check?

Answer:
If you're seeing a database connection error when starting Retrospring, here are a few things to check:

  1. PostgreSQL is running:
    Make sure your PostgreSQL service is up and running. You can check this with:

    sudo service postgresql status

    or

    pg_isready
  2. Correct database credentials in .env:
    Check your .env file and ensure the DATABASE_URL is set correctly. A typical format looks like:

    DATABASE_URL=postgres://username:password@localhost:5432/retrospring
    
  3. Database exists:
    Run:

    yarn db:create

    to create the database, and

    yarn db:migrate

    to apply the schema.

  4. Check Postgr…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant