I’m using an official jupyter notebook container in TrueNAS Scale EE RC1, as an custom ix-app. Everything works correctly, and I can access the app without problem. However on TrueNAS’s application dashboard, this one is always showing “deploying”.
The other custom app deployed is doing fine. so it seems to be related to container itself not TrueNAS’s problem
How do I change the docker container, so that it’ll show the correct status? I cannot find any information on custom app container settings. Could anyone give me a pointer? many thanks!
What does this command output show:
docker container ls
thanks for coming to my question. This is the command output. I understand jupyter notebook probably does not have health check implemented, but why always “deploying”?
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS
NAMES
...
8088ee479e16 quay.io/jupyter/scipy-notebook:latest "tini -g -- start.sh…" 27 hours ago Up 27 hours (unhealthy) 0.0.0.0:15000->8888/tcp
ix-jupyter-jupyter-1
...
Because it is “unhealthy”. It’s not running until it is healthy.
If you want to check what any healthcheck is doing, in this case:
docker inspect 8088ee479e16
@sfatula many thanks for this direction. I didn’t think it wasn’t TrueNAS’s problem. It’s indeed jupyter docker crashed and left some empty files in ~/.local/share/jupyter/runtime folder, which the healthcheck python script read and reported they’re invalid json files. Now it’s fixed and jupyter is happy. thanks again!
1 Like