Troubleshooting
Run the command from inside the DjangoPlay Git repository:
On this page ▾
DjangoPlay repository not detected
cd /path/to/djangoplay
dplay httpThe detector uses:
git rev-parse --show-topleveland additionally checks that the repository path contains djangoplay.
Virtual environment not active
Activate the project's virtual environment before running the CLI.
source .venv/bin/activateThen:
dplay system doctorMissing configuration
Create:
~/.dplay/config.yamlThe CLI raises an error if this file is absent.
Redis unavailable
Check:
redis-cli pingThe expected response is:
PONGPostgreSQL unavailable
The doctor command checks TCP connectivity to:
127.0.0.1:5432This is a reachability check, not an authentication check.
Celery unavailable
The doctor command checks whether the celery executable is available on
PATH.
Celery does not become ready
The startup flow waits up to 20 seconds for a process matching:
celery.*paystreamIf the process is not detected, startup continues with a warning.
Inspect Celery separately before treating the Django server as healthy.
Static collection fails
The CLI invokes:
python manage.py collectstatic --noinput --clearfrom the webapp directory.
Run the command manually to inspect the host application's full error.
Browser does not open
The CLI uses Python's webbrowser module. The server itself can still start
if browser launching is unsuccessful.