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

Added information about permissions errors (migrating to alpine) #2289

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,14 @@ You're already using Nextcloud and want to switch to docker? Great! Here are som
docker-compose exec app chown -R www-data:www-data /var/www/html/custom_apps
```

If you already use Nextcloud with Docker but want to upgrade to Alpine Docker Images, initially you may experience permissions errors because in Alpine Images the user with permissions for the `/var/www` folder are different.
J0WI marked this conversation as resolved.
Show resolved Hide resolved
So, you must change the permissions of the `/var/www` folder to be compatible with Alpine:
J0WI marked this conversation as resolved.
Show resolved Hide resolved

```console
docker exec container-name chown -R www-data:root /var/www
J0WI marked this conversation as resolved.
Show resolved Hide resolved
```

After changing the permissions, restart the container and the permission errors should disappear.
# Help (Questions / Issues)

**If you have any questions or problems while using the image, please ask for assistance on the Help Forum first (https://help.nextcloud.com)**.
Expand Down