Seen in the demo server following an update to rWTHU723c3bc0c6bd: dev: Upgrade Django from version 2.2 to 3.2. The demo server uses an entrypoint which includes rebuilding the search index as part of a shell pipeline. When the newly deployed build started returning a error status for the call to poetry run python3 manage.py search_index --rebuild -f the demo server would fail the entrypoint entirely and the container would restart.
The non-zero exit can be recreated in a dev environment with something like:
$ make web-shell $ poetry run python3 manage.py search_index --rebuild -f ... (lots of logs) ... $ echo $? 1