Skip to content

Unable to use my data #16

@zwergon

Description

@zwergon

Hello,

I'm trying to use docker image as described in the readme.

I successfully built the docker image and when i use the data provided by the container, it works perfectly.

docker build -t hyrax_image --build-arg USE_NCWMS=true --no-cache hyrax

As soon as i try to mount another volume,

docker run \
--name hyrax_container \
--publish 8080:8080 \
**--volume /home/jef/HyraxData:/usr/share/hyrax** 
hyrax_image \
-e jean-francois.lecomte@ifpen.fr \
-s \
-n http://localhost:8080

It doesn't work anymore. I am always able to navigate at the url : http://localhost:8080/opendap but as soon as i try to click on a file stored in /home/jef/HyraxData i get a server error.

If i look in /var/log/bes i obtain the following error message

2019-12-10T15:11:06GMT|&|123|&|get.ddx,dap2,/usr/share/hyrax/coads_climatology.nc
2019-12-10T15:11:06GMT|&|123|&|ERROR: BES Internal Error: Could not open /usr/share/hyrax/coads_climatology.nc. (NCRequestHandler.cc:406)

I really don't understand what is going wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions