Issue with RDB dev container environment

Hello, I’m having an issue with the relational databases cert environment. I’m running the dev container locally on WSL for reference. I’m able to connect to the dev container just fine, but i seem to be stuck in the “Build a database of video game characters” workshop and I’m unable to start a new tutorial/project. I cant even connect to the psql server for some reason. I’ve tried rebuilding the container, i even deleted and recloned the rdb-alpha repo to see if it would reset it somehow. any help would be appreciated!

Try killing the terminal and starting another one.

I’ve noticed that sometimes I would be impatient and open a terminal before all the setup is done. In such cases the terminal doesn’t behave as expected.

yeah ive tried killing the terminal, same issue. i ran sudo service postgresql start , and now i have the psql server running, but when i try to log in with psql --username=freecodecamp --dbname=postgres i get “psql: error: FATAL: Peer authentication failed for user “freecodecamp”.

so thats an issue, but really the other main issue is that im not able to start any other workshops or tutorials either. CodeRoad has to be saving the state locally somewhere im just not sure where. because ive completely wiped the directory and recloned the repo and that didn’t work.

at this point im wondering how i can just wipe coderoad state data locally and start from scratch. and i have no clue why the auth issue is happening with psql either. something is broken lol.

Have you tried that “Reset” button in CodeRoad? That also works for me sometimes.

yes, reset just brings me back to the first step of the tutorial im on, but im unable to get back to the main menu where i can enter another URL to start another project.

update: i’ve tried uninstalling and reinstalling CodeRoad inside of the dev container to try and reset state. that didnt work. ive tried manually removing the docker container and the docker image locally and rebuilding fresh. that didnt work. can somebody chime in? does coderoad fetch freecodecamp lesson progress from the browser or something?

I’m having a similar issue after my session timed out whilst I took a break to eat. I tried a lot of things from DEV container rebuild to sudo service postgresql restart
sudo service postgresql status. nothing worked. ended up deleting token and deleting code space to start again and now its happened again at 50% through the course lol.

I’ve just managed to get it working again with the following prompts:

Kill terminal & open a new one

cmd + shift p to start new coderoad session, make sure it loads your progress or where you last left it.

type: ls -a

you should see a .freeCodeCamp (Directory/folder)

change into this directory = cd .freeCodeCamp

ls -a (again to see whats there…)

you should see reset.sh file, enter this file using= ./reset.sh

it should restart and connect to the server.

Type: psql --username=freecodecamp --dbname=mario_database

to connect to database…