If you get an error like so:
django.db.utils.OperationalError: could not connect to server: No such file or directory
This means the isolated database process Reactivated creates is stuck.
In the future, Reactivated will handle this much more gracefully.
Two options, the latter harsher.
ps aux
and find the zombie postgres
process that is running. You should
recognize it because the project path will be in the arguments.nix-shell
as always. This will start a new
DB process.BASE_DIR/.venv
.Warning: This option will delete your database! Get in the habit of having an easy to setup local development database. Use fixtures or factory boy.