Error when setting up the Nextcloud

  • Some files have not passed the integrity check. Further information on how to resolve this issue can be found in the documentation

List of invalid files…
Technical information

The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.

Results

  • core
    • EXCEPTION
      • UnexpectedValueException
      • RecursiveDirectoryIterator::__construct(/var/www/html/db/nextcloud): failed to open dir: Permission denied

Raw output

Array
(
[core] => Array
(
[EXCEPTION] => Array
(
[class] => UnexpectedValueException
[message] => RecursiveDirectoryIterator::__construct(/var/www/html/db/nextcloud): failed to open dir: Permission denied
)

    )

)

dose anyone have a fix for this problem?

the user running webserver process (e.g. www-data) needs access to apps and data directories.

This How-To gives you good background what to do to assign correct file permissions:

1 Like

Owner are www-data for the whole folder (apps, data)
Still goot the same error. Iam using Nextcloud in Docker

EDIT:

I overlooked the fact that this is a Docker installation…

no Problem Thanks anyway :slight_smile:

The user outside and inside docker may differ. Easiest way is to verify the rights inside the container

how can i check this? Iam pretty new to docker stuff.
I use Portainer to deploy everything