In bootstrap.sh in the $CLOUD_ENV == true case /rnadetector/ws/.env is removed when the docker container is restarted. This is caused by these two lines:
When the container is started the first time, /rnadetector/ws/.env.cloud gets moved to /rnadetector/ws/.env. Then when the container gets restarted /rnadetector/ws/.env gets moved to /rnadetector/ws/.env.disabled, but there is no more /rnadetector/ws/.env.cloud to replace it by the time the second command is run in the second start of the container.
The lack of this file then leads to seemingly inexplicable authentication issues when creating new jobs:
In
bootstrap.sh
in the$CLOUD_ENV == true
case/rnadetector/ws/.env
is removed when the docker container is restarted. This is caused by these two lines:When the container is started the first time,
/rnadetector/ws/.env.cloud
gets moved to/rnadetector/ws/.env
. Then when the container gets restarted/rnadetector/ws/.env
gets moved to/rnadetector/ws/.env.disabled
, but there is no more/rnadetector/ws/.env.cloud
to replace it by the time the second command is run in the second start of the container.The lack of this file then leads to seemingly inexplicable authentication issues when creating new jobs: