Unable to start the lesson where I left off
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
Research direction
Start by reproducing the lesson resume flow in GitHub Codespaces: quit the lesson, restart the Codespace, and run psql --username=freecodecamp --dbname=postgres. Trace why the local PostgreSQL server is not accepting connections after restart; done means the command connects normally when resuming the lesson.
Written by the indexing model from the issue text.
Description
Describe the bug
I completed 35% of 'Build a database of Video Game Characters' yesterday. And today when I tried to start the lesson, I am unable to login to psql with the command psql --username=freecodecamp --dbname=postgres.
Here's what I get after I run the command:
camper: /project$ psql --username=freecodecamp --dbname=postgres psql: error: could not connect to server: Connection refused Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
To Reproduce
- Start the lesson for the first time.
- Quit it.
- Go to Codespaces page in Github and start it.
Expected behavior
Should connect to psql normally.
Screenshots
Desktop OS
Windows 10
Desktop Browser
Chrome
Desktop Browser Version
No response
Mobile Device
No response
Mobile OS
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional context
No response
- Dominant language
- Dockerfile
- Stars
- 177
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from freeCodeCamp/rdb-alpha
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
freeCodeCamp/rdb-alpha#31 · 3 reactions ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
freeCodeCamp/rdb-alpha#25 ·
-
Error on container rebuild and reopen: failed to fetch from ubuntu archiveMay be free again A pull request for this issue was closed without being merged. Open
Difficulty 3/5 1-2 days Newbie friendliness 42/100
freeCodeCamp/rdb-alpha#20 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
freeCodeCamp/rdb-alpha#19 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
freeCodeCamp/rdb-alpha#15 · 1 comment ·
All issues in freeCodeCamp/rdb-alpha
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
pocoproject/poco#5626 ·
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
liberation-data/drivine4j#547 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
voidzero-dev/void#677 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
mongoosejs/mquery#142 ·
-
Add toro4n to the data modeling toolsPossibly taken @henriklantzhedstrom-prog claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 62/100
neo4j/docs-getting-started#546 ·