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

Permission error #17

Open
sjmgarnier opened this issue Mar 28, 2020 · 1 comment
Open

Permission error #17

sjmgarnier opened this issue Mar 28, 2020 · 1 comment

Comments

@sjmgarnier
Copy link

When trying to install ShinyStudio, I get the following error message:

Generating a RSA private key
....+++++
................+++++
writing new private key to '/etc/letsencrypt/live/example.com/privkey.pem'
-----
Building shinystudio
Traceback (most recent call last):
  File "site-packages/docker/utils/build.py", line 96, in create_archive
PermissionError: [Errno 13] Permission denied: '/home/simon/ShinyStudio/config/container/letsencrypt/live/example.com/privkey.pem'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "bin/docker-compose", line 6, in <module>
  File "compose/cli/main.py", line 72, in main
  File "compose/cli/main.py", line 128, in perform_command
  File "compose/cli/main.py", line 1077, in up
  File "compose/cli/main.py", line 1073, in up
  File "compose/project.py", line 548, in up
  File "compose/service.py", line 367, in ensure_image_exists
  File "compose/service.py", line 1106, in build
  File "site-packages/docker/api/build.py", line 160, in build
  File "site-packages/docker/utils/build.py", line 31, in tar
  File "site-packages/docker/utils/build.py", line 100, in create_archive
OSError: Can not read file in context: /home/simon/ShinyStudio/config/container/letsencrypt/live/example.com/privkey.pem
[31996] Failed to execute script docker-compose
ERROR: No container found for nginx_1

Any idea what's wrong here?

@sjmgarnier
Copy link
Author

For some reason ShinyStudio/config/container/letsencrypt/ is owned by root

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