Permission denied error

HI all,

I am migrating from owncloud and have a server up and running. Version 13 on CentOS 7. Everything is working great but I have the following error.

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/nextcloud/3rdparty/aws/aws-sdk-php/src/data/logs): failed to open dir: Permission denied

Raw output

Array
(
[core] => Array
(
[EXCEPTION] => Array
(
[class] => UnexpectedValueException
[message] => RecursiveDirectoryIterator::__construct(/var/www/html/nextcloud/3rdparty/aws/aws-sdk-php/src/data/logs): failed to open dir: Permission denied
)

    )

)

I have checked all folder permissions and they are correct and owned by apache:apache

The output of your Nextcloud log in Admin > Logging:

RecursiveDirectoryIterator::__construct(/var/www/html/nextcloud/3rdparty/aws/aws-sdk-php/src/data/logs): failed to open dir: Permission denied at /var/www/html/nextcloud/lib/private/IntegrityCheck/Checker.php#165

Undefined variable: undefinedVariable at /var/www/html/nextcloud/3rdparty/nikic/php-parser/lib/PhpParser/Lexer.php#70