"cl-django exited with code 1" error when setting up development environment #2994
-
I'm a new volunteer who recently set up the Court Listener development environment. After a few hiccups (thank you to everyone who helped me with those!) I got everything running correctly... for about a day. But then I did a new Fetch Origin on the courtlistener Git repository and stopped and attempted to restart my Docker image with "docker-compose up". Now cl-django and cl-celery both exit with code 1, and I can no longer load my development copy of the website. Any suggestions? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Here's what I believe is the relevant portion of the log:
|
Beta Was this translation helpful? Give feedback.
-
Probably the images in docker hub are not updated yet or you do not have the latest images, but you can build the images to avoid this problem, you need to remove the cl-django and cl-celery services and then remove the latest-web-dev and latest-celery-dev images from docker, after that you need to run this in your terminal to build the images:
after that you just need to start the services again
|
Beta Was this translation helpful? Give feedback.
Probably the images in docker hub are not updated yet or you do not have the latest images, but you can build the images to avoid this problem, you need to remove the cl-django and cl-celery services and then remove the latest-web-dev and latest-celery-dev images from docker, after that you need to run this in your terminal to build the images:
make development --file docker/django/Makefile -e VERSION=local-dev
after that you just need to start the services again
docker-compose -f docker/courtlistener/docker-compose.yml up -d