You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, loading a custom image on Terra appears to give me an odd error message:
Error creating cloud environment
Image dailydreaming/genome_browser:r-0.2 doesn't have JUPYTER_HOME or RSTUDIO_HOME environment variables defined. Make sure your custom image extends from one of the Terra base images.
Full error:
{
"source": "leonardo",
"message": "Image dailydreaming/genome_browser:r-0.2 doesn't have JUPYTER_HOME or RSTUDIO_HOME environment variables defined. Make sure your custom image extends from one of the Terra base images.",
"statusCode": 404,
"exceptionClass": "class org.broadinstitute.dsde.workbench.leonardo.model.InvalidImage",
"traceId": "c208044856f53329a2bfbe39c049a041/13740522386863581092"
}
The image dailydreaming/genome_browser:r-0.2 has worked before on Terra as a custom image, but is now breaking when attempting to use it again months later. It also has RSTUDIO_HOME defined, so I'm not sure that the error message is accurate.
A clearer error message would solve this issue for me.
The text was updated successfully, but these errors were encountered:
I debugged a bit and I think Leo is choking on env vars in the image that are defined but have no values. In particular these 2:
USER_HOME=
USER=
The error is misleading and I think Leo could tolerate this situation a little better. I can make a fix.
However! For this integration going forward we should stop using the runtimes routes with the hacky unused env vars. Instead we should attempt to use the apps routes. Here is an example createApp request for the same image:
@rtitle Thanks for looking into this. I'll try running it with the create app API and see how that goes next. I'm also transitioning to basing the image on us.gcr.io/broad-dsp-gcr-public/terra-jupyter-r:2.0.1 rather than cloudtop, so hopefully everything it expects to find in the image will be there once I make the change.
Hi, loading a custom image on Terra appears to give me an odd error message:
The image
dailydreaming/genome_browser:r-0.2
has worked before on Terra as a custom image, but is now breaking when attempting to use it again months later. It also hasRSTUDIO_HOME
defined, so I'm not sure that the error message is accurate.A clearer error message would solve this issue for me.
The text was updated successfully, but these errors were encountered: