Learn Bash by Building a Boilerplate - Build a Boilerplate

The reset button is supposed to work to fix that. Not sure why it’s not working.

Run these two commands and try again:

sudo chown -R postgres:postgres /var/lib/postgresql/12/main
sudo service postgresql restart

They’re some commands that run when you reset.

If that doesn’t work, you could delete the container and start again - since you are on the first step, you won’t lose any progress.