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 denied error when installing plugin #128

Open
hahamini opened this issue Nov 6, 2024 · 0 comments
Open

Permission denied error when installing plugin #128

hahamini opened this issue Nov 6, 2024 · 0 comments
Assignees

Comments

@hahamini
Copy link

hahamini commented Nov 6, 2024

πŸ› Bug Report

πŸ€·β€β™€οΈ What did you do

I get an error after installing the documentation plugin.

I accessed the bash of the docker container (docker exec -it <container> sh) and installed the plugin with the command yarn add @strapi/plugin-documentation.

⛔️ Error log

πŸ•΅οΈβ€β™€οΈ Stack trace

 yarn run v1.22.19
 $ strapi develop
 - Cleaning dist dir /opt/app/dist
 βœ” Cleaning dist dir (6ms)
 - Loading Strapi
 - Building build context
 
 [INFO] Including the following ENV variables as part of the JS bundle:
     - ADMIN_PATH
     - STRAPI_ADMIN_BACKEND_URL
     - STRAPI_TELEMETRY_DISABLED
 βœ” Building build context (91ms)
 - Creating admin
 βœ” Creating admin (365ms)
 [ERROR]  There seems to be an unexpected error, try again with --debug for more information 
 
 β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
 β”‚                                              β”‚
 β”‚   Error: EACCES: permission denied, mkdir    β”‚
 β”‚   '/opt/app/src/extensions/documentation'    β”‚
 β”‚                                              β”‚
 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
 Done in 6.97s.

## πŸ™‡β€β™€οΈ Expected behavior/code

A clear and concise description of what you expected to happen (or code).

## πŸ‘©β€πŸ’» Environment

- πŸ“¦ Node version: default dockerize (node:18-alpine)
- πŸ’» OS: default dockerize (node:18-alpine)

## πŸ’‘ Possible Solution

<!-- Only if you have suggestions on a fix for the bug -->

## πŸ“Ί Additional context/Screenshots

<!-- Add any other context about the problem here. If applicable, add screenshots to help explain. -->
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

2 participants