PHP message: PHP Warning: fileperms(): stat failed after Installation

Hi all,

I just installed Nextcloud on Centos 7 but i’m getting following error (in nginx error log):

PHP message: PHP Warning: fileperms(): stat failed for /usr/share/nginx/html/data/nextcloud.log in /usr/share/nginx/html/lib/private/Log/File.php on line 137

I installed also Apache it didn’t work. I applied the chown permissions, it also didn’t help me. I don’t know anymore what to do…

And in web i’m getting following error:

"## Interner Serverfehler

Der Server konnte die Anfrage nicht fertig stellen.

Sollte dies erneut auftreten, sende bitte die nachfolgenden technischen Einzelheiten an Deinen Server-Administrator.

Weitere Details können im Server-Protokoll gefunden werden."

What to do?

I do have the same problem.
It looks like the filepermission are not properly set but my permission are rw-r on the file nextcloud.log and owner is www-data.