Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker image does not work as described by README #189

Open
cslatteryjbc opened this issue Mar 1, 2021 · 1 comment
Open

Docker image does not work as described by README #189

cslatteryjbc opened this issue Mar 1, 2021 · 1 comment

Comments

@cslatteryjbc
Copy link

Docker image fails when following README instructions. Replicated the error on Mac and an AWS Sagemaker instance.

sudo docker run -d --user rstudio --name covidrtestimates covidrtestimates /bin/bash bin/update-estimates.sh

It looks like the rstudio user does not have correct permissions.

rm: cannot remove 'last-update/update-complete': No such file or directory
Run for all regional locations2021-03-01 14:17:18 INFO Processing dataset for united-kingdom
2021-03-01 14:17:18 WARN simpleWarning in file(file, ifelse(append, "a", "w")): cannot open file 'info.log': Permission denied

2021-03-01 14:17:18 WARN simpleWarning in file(file, ifelse(append, "a", "w")): cannot open file 'info.log': Permission denied

2021-03-01 14:17:18 WARN simpleWarning in file(file, ifelse(append, "a", "w")): cannot open file 'info.log': Permission denied

2021-03-01 14:17:18 ERROR Error in file(file, ifelse(append, "a", "w")): cannot open the connection

Error in file(file, ifelse(append, "a", "w")) : 
  cannot open the connection
Calls: <Anonymous> ... flog.error -> .log_level -> appender -> cat -> file
In addition: Warning messages:
1: In file(file, ifelse(append, "a", "w")) :
  cannot open file 'info.log': Permission denied
2: In file(file, ifelse(append, "a", "w")) :
  cannot open file 'info.log': Permission denied
Execution halted
touch: cannot touch 'last-update/update-complete': Permission denied
@cslatteryjbc
Copy link
Author

It appears to run ok without the --user flag and arg.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant