Skip to content

Custom image on Terra generates confusing error. #2317

@DailyDreaming

Description

@DailyDreaming

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions