I followed a couple guides to installing Nextcloud on a CentOS 7 VM. Mostly this one: https://www.marksei.com/install-nextcloud-12-centos-7/. Things seem to be working, although it hasn’t seemed to scan all my existing files; I’m running sudo -u apache php /var/www/html/nextcloud/occ files:scan --all
to try and find all the files. Anyway, my real issue is when I go to my site I get the following banner:
There were problems with the code integrity check. More information…
When I click “more information” and then “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/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
)
)
)
It doesn’t make much sense though. That directory is owned by the user and group apache. I’m not sure what is going on.
drwxr-xr-x. 3 apache apache 24 Dec 4 01:19 logs
Really the entire directory structure in /var/www/html/nextcloud was chown’ed recursively with apache:apache. Any ideas?