data_cube_ui icon indicating copy to clipboard operation
data_cube_ui copied to clipboard

Issue installing notebooks

Open abbasjariani opened this issue 3 years ago • 0 comments

I am running into problems installing these notebooks. I have followed the instructions here: https://github.com/ceos-seo/data_cube_notebooks/blob/master/docs/notebook_install.md however when I run the command make dev-up I get an error stated below. I wonder anyone can kindly help me here?

abbas@abbas-ThinkPad-T490:~/myProjects/data_cube_notebooks$ sudo make dev-up 
(export UID=; docker-compose --project-directory build/docker/dev -f build/docker/dev/docker-compose.yml up -d --build) 
/bin/bash: UID: readonly variable 
WARNING: The AWS_ACCESS_KEY_ID variable is not set. Defaulting to a blank string. 
WARNING: The AWS_SECRET_ACCESS_KEY variable is not set. Defaulting to a blank string. 
Building jupyter 
Sending build context to Docker daemon 103.9MB 
Step 1/56 : FROM jcrattzama/cube-in-a-box:odc1.8.3 
 ---> 2ca88e7b5810 
Step 2/56 : ARG BUILD_DIR=/build 
 ---> Using cache 
 ---> f5531de1b0bf 
Step 3/56 : ENV BUILD_DIR=${BUILD_DIR} 
 ---> Using cache 
 ---> 51b41b939d07 
Step 4/56 : WORKDIR ${BUILD_DIR} 
 ---> Using cache 
 ---> 979cf47ebd7e 
Step 5/56 : USER root 
 ---> Using cache 
 ---> e27cf2f62bb4 
Step 6/56 : RUN echo "jovyan ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers 
 ---> Using cache 
 ---> 61fbac0e2188 
Step 7/56 : ARG UID 
 ---> Using cache 
 ---> caef9d05f914 
Step 8/56 : ENV UID=${UID} 
 ---> Using cache 
 ---> 97a9ac72a35b 
Step 9/56 : RUN usermod -u ${UID} jovyan 
 ---> Running in b129096808ac 
usermod: UID '0' already exists 
The command '/bin/sh -c usermod -u ${UID} jovyan' returned a non-zero code: 4                                                                                                                                                                                                        
ERROR: Service 'jupyter' failed to build : Build failed 
make: *** [Makefile:19: dev-up] Error

abbasjariani avatar Aug 17 '21 15:08 abbasjariani