Android cant log in (maintenance mode) fresh install on FreeNAS

Nextcloud version 13.0.5.2:
Operating system and version FreeNAS 11.2 Beta3:
PHP 7.1.20

The issue you are facing:

Trying to get Nextcloud working on Freenas 11.2 but keep running into an issue with my phone. I got the server running well via web browser but when I try using the android app it keeps telling me its in maintenance mode. I’ve tried turning off the maintenance mode via the config.php file but that didn’t work.

While searching I saw a similar problem to this a while ago but no one ever posted if was solved or not.

Please let me know if you need anything else. Thank you for any help.

Is this the first time you’ve seen this error? Yes:

The output of your Nextcloud log in Admin > Logging:

When I try to open the log I just get a blank screen.

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => '**REMOVED**',
  'passwordsalt' => '**REMOVED**',
  'secret' => '**REMOVED**',
  'trusted_domains' =>
  array (
    0 => '192.168.0.34',
  ),
  'maintenance' => false,
  'integrity.check.disabled' => true,
  'datadirectory' => '/usr/local/www/nextcloud/data',
  'overwrite.cli.url' => 'http://192.168.0.34',
  'dbtype' => 'mysql',
  'version' => '13.0.5.2',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'nextcloud',
  'dbpassword' => '**REMOVED**',
  'installed' => true,
  'apps_paths' =>
  array (
    1 =>
    array (
      'path' => '/usr/local/www/nextcloud/apps-pkg',
      'url' => '/apps-pkg',
      'writable' => false,
    ),
  ),
);

The output of your Apache/nginx/system log in /var/log/____:

2018/10/02 13:54:54 [error] 62016#102233: *22 open() "/usr/local/www/nextcloud/favicon.ico" failed (2: No such file or directory), client: 192.168.0.12, server: 127.0.0.1, request: "GET /favicon.ico HTTP/1.1", host: "192.168.0.34"
2018/10/02 13:55:55 [error] 62015#100801: *26 access forbidden by rule, client: 192.168.0.34, server: 127.0.0.1, request: "GET /data/htaccesstest.txt HTTP/1.1", host: "192.168.0.34"
2018/10/02 14:10:56 [error] 62009#102332: *30 access forbidden by rule, client: 192.168.0.34, server: 127.0.0.1, request: "GET /data/htaccesstest.txt HTTP/1.1", host: "192.168.0.34"
2018/10/02 14:25:57 [error] 62010#100523: *34 access forbidden by rule, client: 192.168.0.34, server: 127.0.0.1, request: "GET /data/htaccesstest.txt HTTP/1.1", host: "192.168.0.34"
2018/10/02 14:40:57 [error] 62009#102332: *38 access forbidden by rule, client: 192.168.0.34, server: 127.0.0.1, request: "GET /data/htaccesstest.txt HTTP/1.1", host: "192.168.0.34"
2018/10/02 14:49:43 [error] 62010#100523: *42 access forbidden by rule, client: 192.168.0.34, server: 127.0.0.1, request: "GET /data/htaccesstest.txt HTTP/1.1", host: "192.168.0.34"
2018/10/02 14:50:51 [error] 62009#102332: *49 access forbidden by rule, client: 192.168.0.34, server: 127.0.0.1, request: "GET /data/htaccesstest.txt HTTP/1.1", host: "192.168.0.34"
2018/10/02 21:13:48 [error] 85539#102132: *17 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538529226179 HTTP/1.1", host: "192.168.0.34"
2018/10/02 21:14:03 [error] 85537#101281: *33 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538529241811 HTTP/1.1", host: "192.168.0.34"
2018/10/02 21:14:25 [warn] 85532#100487: *18 an upstream response is buffered to a temporary file /var/tmp/nginx/fastcgi_temp/1/00/0000000001 while reading upstream, client: 192.168.0.12, server: 127.0.0.1, request: "GET /index.php/set
2018/10/02 21:14:26 [error] 85532#100487: *18 open() "/usr/local/www/nextcloud/favicon.ico" failed (2: No such file or directory), client: 192.168.0.12, server: 127.0.0.1, request: "GET /favicon.ico HTTP/1.1", host: "192.168.0.34"
2018/10/02 21:14:26 [error] 85539#102132: *17 open() "/usr/local/www/nextcloud/favicon.ico" failed (2: No such file or directory), client: 192.168.0.12, server: 127.0.0.1, request: "GET /favicon.ico HTTP/1.1", host: "192.168.0.34"
2018/10/02 21:14:35 [error] 85533#101991: *45 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538529272994 HTTP/1.1", host: "192.168.0.34"
2018/10/02 21:51:19 [error] 85537#101281: *80 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538531476902 HTTP/1.1", host: "192.168.0.34"
2018/10/02 21:51:38 [error] 85537#101281: *80 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538531496714 HTTP/1.1", host: "192.168.0.34"
2018/10/02 22:10:35 [error] 85537#101281: accept4() failed (53: Software caused connection abort)
2018/10/02 22:10:35 [error] 85537#101281: *105 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538532633452 HTTP/1.1", host: "192.168.0.34"
2018/10/02 22:10:48 [error] 85537#101281: *105 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538532646095 HTTP/1.1", host: "192.168.0.34"
2018/10/02 22:33:28 [error] 85532#100487: *151 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538534006399 HTTP/1.1", host: "192.168.0.34"
2018/10/02 22:33:45 [error] 85532#100487: *151 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538534023511 HTTP/1.1", host: "192.168.0.34"
2018/10/02 22:37:44 [error] 91451#102012: *20 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538534261746 HTTP/1.1", host: "192.168.0.34"
2018/10/02 22:37:59 [error] 91451#102012: *20 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538534277736 HTTP/1.1", host: "192.168.0.34"
2018/10/02 22:38:05 [error] 91453#100523: *38 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538534283636 HTTP/1.1", host: "192.168.0.34"
2018/10/02 22:38:16 [error] 91453#100523: *38 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538534294649 HTTP/1.1", host: "192.168.0.34"
2018/10/02 22:46:59 [error] 91454#101955: *65 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538534817480 HTTP/1.1", host: "192.168.0.34"
2018/10/02 22:47:02 [error] 91454#101955: *65 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538534820359 HTTP/1.1", host: "192.168.0.34"
2018/10/02 23:09:11 [error] 91451#102012: *102 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538536149361 HTTP/1.1", host: "192.168.0.34"
2018/10/02 23:24:22 [error] 95856#102343: *25 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538537059643 HTTP/1.1", host: "192.168.0.34"
2018/10/02 23:24:32 [error] 95862#102233: *36 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538537070242 HTTP/1.1", host: "192.168.0.34"
2018/10/02 23:24:36 [error] 95856#102343: *25 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538537073905 HTTP/1.1", host: "192.168.0.34"
2018/10/02 23:24:39 [error] 95862#102233: *36 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538537076935 HTTP/1.1", host: "192.168.0.34"
2018/10/02 23:45:09 [error] 97930#102093: accept4() failed (53: Software caused connection abort)
2018/10/02 23:45:16 [error] 97934#102391: *54 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538538314498 HTTP/1.1", host: "192.168.0.34"
2018/10/02 23:45:21 [error] 97934#102391: *43 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538538318871 HTTP/1.1", host: "192.168.0.34"
2018/10/03 07:53:48 [error] 97930#102093: *186 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538567628186 HTTP/1.1", host: "192.168.0.34"
2018/10/03 08:02:02 [warn] 27076#102138: *1 a client request body is buffered to a temporary file /var/tmp/nginx/client_body_temp/0000000001, client: 192.168.0.12, server: 127.0.0.1, request: "PUT /remote.php/webdav/Photos/20170615_150
2018/10/03 08:06:48 [warn] 27080#102332: *18 a client request body is buffered to a temporary file /var/tmp/nginx/client_body_temp/0000000002, client: 192.168.0.12, server: 127.0.0.1, request: "PUT /remote.php/webdav/20170615_150854.jp
2018/10/03 08:06:50 [warn] 27080#102332: *18 an upstream response is buffered to a temporary file /var/tmp/nginx/fastcgi_temp/3/00/0000000003 while reading upstream, client: 192.168.0.12, server: 127.0.0.1, request: "GET /remote.php/we
2018/10/03 08:17:33 [error] 29334#101281: *1 FastCGI sent in stderr: "PHP message: PHP Warning:  fileperms(): stat failed for /mnt/Server/Server/Family Share/Nextcloud/nextcloud.log in /usr/local/www/nextcloud/lib/private/Log/File.php
PHP message: {"reqId":"7ZWMBqgQc2XJnDuUZDGH","level":3,"time":"2018-10-03T12:17:32+00:00","remoteAddr":"192.168.0.12","user":"admin","app":"PHP","method":"GET","url":"\/index.php\/apps\/files\/?dir=\/&fileid=7","message":"fileperms():
PHP message: {"reqId":"7ZWMBqgQc2XJnDuUZDGH","level":3,"time":"2018-10-03T12:17:32+00:00","remoteAddr":"192.168.0.12","user":"admin","app":"index","method":"GET","url":"\/index.php\/apps\/files\/?dir=\/&fileid=7","message":"Exception:
PHP message: PHP Warning:  fileperms(): stat failed for /mnt/Server/Server/Family Share/Nextcloud/nextcloud.log in /usr/local/www/nextcloud/lib/private/Log/File.php on line 136
PHP message: {"reqId":"7ZWMBqgQc2XJnDuUZDGH","level":3,"time":"2018-10-03T12:17:32+00:00","remoteAddr"
2018/10/03 08:17:33 [error] 29334#101281: *1 FastCGI sent in stderr: "Id":"7ZWMBqgQc2XJnDuUZDGH","level":3,"time":"2018-10-03T12:17:32+00:00","remoteAddr":"192.168.0.12","user":"admin","app":"core","method":"GET","url":"\/index.php\/ap
2018/10/03 08:17:33 [error] 29334#101281: *1 FastCGI sent in stderr: "PHP message: PHP Warning:  fileperms(): stat failed for /mnt/Server/Server/Family Share/Nextcloud/nextcloud.log in /usr/local/www/nextcloud/lib/private/Log/File.php
PHP message: {"reqId":"7ZWMBqgQc2XJnDuUZDGH","level":3,"time":"2018-10-03T12:17:32+00:00","remoteAddr":"192.168.0.12","user":"admin","app":"PHP","method":"GET","url":"\/index.php\/apps\/files\/?dir=\/&fileid=7","message":"fileperms():
PHP message: {"reqId":"7ZWMBqgQc2XJnDuUZDGH","level":3,"time":"2018-10-03T12:17:32+00:00","remoteAddr":"192.168.0.12","user":"admin","app":"PHP","method":"GET","url":"\/index.php\/apps\/files\/?dir=\/&fileid=7","message":"chmod(): No s
2018/10/03 08:24:42 [error] 31153#102395: *1 FastCGI sent in stderr: "PHP message: PHP Warning:  fileperms(): stat failed for /mnt/Server/Server/Family\040Share/Nextcloud/nextcloud.log in /usr/local/www/nextcloud/lib/private/Log/File.p
PHP message: {"reqId":"7tBc0G6VNkXkMLgZQFI1","level":3,"time":"2018-10-03T12:24:42+00:00","remoteAddr":"192.168.0.12","user":"admin","app":"PHP","method":"GET","url":"\/index.php\/apps\/files\/?dir=\/&fileid=7","message":"fileperms():
PHP message: {"reqId":"7tBc0G6VNkXkMLgZQFI1","level":3,"time":"2018-10-03T12:24:42+00:00","remoteAddr":"192.168.0.12","user":"admin","app":"index","method":"GET","url":"\/index.php\/apps\/files\/?dir=\/&fileid=7","message":"Exception:
PHP message: PHP Warning:  fileperms(): stat failed for /mnt/Server/Server/Family\040Share/Nextcloud/nextcloud.log in /usr/local/www/nextcloud/lib/private/Log/File.php on line 136
PHP message: {"reqId":"7tBc0G6VNkXkMLgZQFI1","level":3,"time":"2018-10-03T12:24:42+00:00","r
2018/10/03 08:24:42 [error] 31153#102395: *1 FastCGI sent in stderr: ""}
2018/10/02 21:13:48 [error] 85539#102132: *17 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538529226179 HTTP/1.1", host: "192.168.0.34"
2018/10/02 21:14:03 [error] 85537#101281: *33 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538529241811 HTTP/1.1", host: "192.168.0.34"
2018/10/02 21:14:25 [warn] 85532#100487: *18 an upstream response is buffered to a temporary file /var/tmp/nginx/fastcgi_temp/1/00/0000000001 while reading upstream, client: 192.168.0.12, server: 127.0.0.1, request: "GET /index.php/set
2018/10/02 21:14:26 [error] 85532#100487: *18 open() "/usr/local/www/nextcloud/favicon.ico" failed (2: No such file or directory), client: 192.168.0.12, server: 127.0.0.1, request: "GET /favicon.ico HTTP/1.1", host: "192.168.0.34"
2018/10/02 21:14:26 [error] 85539#102132: *17 open() "/usr/local/www/nextcloud/favicon.ico" failed (2: No such file or directory), client: 192.168.0.12, server: 127.0.0.1, request: "GET /favicon.ico HTTP/1.1", host: "192.168.0.34"
2018/10/02 21:14:35 [error] 85533#101991: *45 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538529272994 HTTP/1.1", host: "192.168.0.34"
2018/10/02 21:51:19 [error] 85537#101281: *80 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538531476902 HTTP/1.1", host: "192.168.0.34"
2018/10/02 21:51:38 [error] 85537#101281: *80 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538531496714 HTTP/1.1", host: "192.168.0.34"
2018/10/02 22:10:35 [error] 85537#101281: accept4() failed (53: Software caused connection abort)
2018/10/02 22:10:35 [error] 85537#101281: *105 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538532633452 HTTP/1.1", host: "192.168.0.34"
2018/10/02 22:10:48 [error] 85537#101281: *105 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538532646095 HTTP/1.1", host: "192.168.0.34"
2018/10/02 22:33:28 [error] 85532#100487: *151 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538534006399 HTTP/1.1", host: "192.168.0.34"
2018/10/02 22:33:45 [error] 85532#100487: *151 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538534023511 HTTP/1.1", host: "192.168.0.34"
2018/10/02 22:37:44 [error] 91451#102012: *20 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538534261746 HTTP/1.1", host: "192.168.0.34"
2018/10/02 22:37:59 [error] 91451#102012: *20 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538534277736 HTTP/1.1", host: "192.168.0.34"
2018/10/02 22:38:05 [error] 91453#100523: *38 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538534283636 HTTP/1.1", host: "192.168.0.34"
2018/10/02 22:38:16 [error] 91453#100523: *38 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538534294649 HTTP/1.1", host: "192.168.0.34"
2018/10/02 22:46:59 [error] 91454#101955: *65 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538534817480 HTTP/1.1", host: "192.168.0.34"
2018/10/02 22:47:02 [error] 91454#101955: *65 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538534820359 HTTP/1.1", host: "192.168.0.34"
2018/10/02 23:09:11 [error] 91451#102012: *102 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538536149361 HTTP/1.1", host: "192.168.0.34"
2018/10/02 23:24:22 [error] 95856#102343: *25 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538537059643 HTTP/1.1", host: "192.168.0.34"
2018/10/02 23:24:32 [error] 95862#102233: *36 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538537070242 HTTP/1.1", host: "192.168.0.34"
2018/10/02 23:24:36 [error] 95856#102343: *25 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538537073905 HTTP/1.1", host: "192.168.0.34"
2018/10/02 23:24:39 [error] 95862#102233: *36 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538537076935 HTTP/1.1", host: "192.168.0.34"
2018/10/02 23:45:09 [error] 97930#102093: accept4() failed (53: Software caused connection abort)
2018/10/02 23:45:16 [error] 97934#102391: *54 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538538314498 HTTP/1.1", host: "192.168.0.34"
2018/10/02 23:45:21 [error] 97934#102391: *43 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538538318871 HTTP/1.1", host: "192.168.0.34"
2018/10/03 07:53:48 [error] 97930#102093: *186 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538567628186 HTTP/1.1", host: "192.168.0.34"
2018/10/03 08:02:02 [warn] 27076#102138: *1 a client request body is buffered to a temporary file /var/tmp/nginx/client_body_temp/0000000001, client: 192.168.0.12, server: 127.0.0.1, request: "PUT /remote.php/webdav/Photos/20170615_150
2018/10/03 08:06:48 [warn] 27080#102332: *18 a client request body is buffered to a temporary file /var/tmp/nginx/client_body_temp/0000000002, client: 192.168.0.12, server: 127.0.0.1, request: "PUT /remote.php/webdav/20170615_150854.jp
2018/10/03 08:06:50 [warn] 27080#102332: *18 an upstream response is buffered to a temporary file /var/tmp/nginx/fastcgi_temp/3/00/0000000003 while reading upstream, client: 192.168.0.12, server: 127.0.0.1, request: "GET /remote.php/we
2018/10/03 08:17:33 [error] 29334#101281: *1 FastCGI sent in stderr: "PHP message: PHP Warning:  fileperms(): stat failed for /mnt/Server/Server/Family Share/Nextcloud/nextcloud.log in /usr/local/www/nextcloud/lib/private/Log/File.php
PHP message: {"reqId":"7ZWMBqgQc2XJnDuUZDGH","level":3,"time":"2018-10-03T12:17:32+00:00","remoteAddr":"192.168.0.12","user":"admin","app":"PHP","method":"GET","url":"\/index.php\/apps\/files\/?dir=\/&fileid=7","message":"fileperms():
PHP message: {"reqId":"7ZWMBqgQc2XJnDuUZDGH","level":3,"time":"2018-10-03T12:17:32+00:00","remoteAddr":"192.168.0.12","user":"admin","app":"index","method":"GET","url":"\/index.php\/apps\/files\/?dir=\/&fileid=7","message":"Exception:
PHP message: PHP Warning:  fileperms(): stat failed for /mnt/Server/Server/Family Share/Nextcloud/nextcloud.log in /usr/local/www/nextcloud/lib/private/Log/File.php on line 136
PHP message: {"reqId":"7ZWMBqgQc2XJnDuUZDGH","level":3,"time":"2018-10-03T12:17:32+00:00","remoteAddr"
2018/10/03 08:17:33 [error] 29334#101281: *1 FastCGI sent in stderr: "Id":"7ZWMBqgQc2XJnDuUZDGH","level":3,"time":"2018-10-03T12:17:32+00:00","remoteAddr":"192.168.0.12","user":"admin","app":"core","method":"GET","url":"\/index.php\/ap
2018/10/03 08:17:33 [error] 29334#101281: *1 FastCGI sent in stderr: "PHP message: PHP Warning:  fileperms(): stat failed for /mnt/Server/Server/Family Share/Nextcloud/nextcloud.log in /usr/local/www/nextcloud/lib/private/Log/File.php
PHP message: {"reqId":"7ZWMBqgQc2XJnDuUZDGH","level":3,"time":"2018-10-03T12:17:32+00:00","remoteAddr":"192.168.0.12","user":"admin","app":"PHP","method":"GET","url":"\/index.php\/apps\/files\/?dir=\/&fileid=7","message":"fileperms():
PHP message: {"reqId":"7ZWMBqgQc2XJnDuUZDGH","level":3,"time":"2018-10-03T12:17:32+00:00","remoteAddr":"192.168.0.12","user":"admin","app":"PHP","method":"GET","url":"\/index.php\/apps\/files\/?dir=\/&fileid=7","message":"chmod(): No s
2018/10/03 08:24:42 [error] 31153#102395: *1 FastCGI sent in stderr: "PHP message: PHP Warning:  fileperms(): stat failed for /mnt/Server/Server/Family\040Share/Nextcloud/nextcloud.log in /usr/local/www/nextcloud/lib/private/Log/File.p
PHP message: {"reqId":"7tBc0G6VNkXkMLgZQFI1","level":3,"time":"2018-10-03T12:24:42+00:00","remoteAddr":"192.168.0.12","user":"admin","app":"PHP","method":"GET","url":"\/index.php\/apps\/files\/?dir=\/&fileid=7","message":"fileperms():
PHP message: {"reqId":"7tBc0G6VNkXkMLgZQFI1","level":3,"time":"2018-10-03T12:24:42+00:00","remoteAddr":"192.168.0.12","user":"admin","app":"index","method":"GET","url":"\/index.php\/apps\/files\/?dir=\/&fileid=7","message":"Exception:
PHP message: PHP Warning:  fileperms(): stat failed for /mnt/Server/Server/Family\040Share/Nextcloud/nextcloud.log in /usr/local/www/nextcloud/lib/private/Log/File.php on line 136
PHP message: {"reqId":"7tBc0G6VNkXkMLgZQFI1","level":3,"time":"2018-10-03T12:24:42+00:00","r
2018/10/03 08:24:42 [error] 31153#102395: *1 FastCGI sent in stderr: ""}
PHP message: {"reqId":"7tBc0G6VNkXkMLgZQFI1","level":3,"time":"2018-10-03T12:24:42+00:00","remoteAddr":"192.168.0.12","user":"admin","app":"core","method":"GET","url":"\/index.php\/apps\/files\/?dir=\/&fileid=7","message":"Exception: {
2018/10/03 08:24:42 [error] 31153#102395: *1 FastCGI sent in stderr: "PHP message: PHP Warning:  fileperms(): stat failed for /mnt/Server/Server/Family\040Share/Nextcloud/nextcloud.log in /usr/local/www/nextcloud/lib/private/Log/File.p
PHP message: {"reqId":"7tBc0G6VNkXkMLgZQFI1","level":3,"time":"2018-10-03T12:24:42+00:00","remoteAddr":"192.168.0.12","user":"admin","app":"PHP","method":"GET","url":"\/index.php\/apps\/files\/?dir=\/&fileid=7","message":"fileperms():
PHP message: {"reqId":"7tBc0G6VNkXkMLgZQFI1","level":3,"time":"2018-10-03T12:24:42+00:00","remoteAddr":"192.168.0.12","user":"admin","app":"PHP","method":"GET","url":"\/index.php\/apps\/files\/?dir=\/&fileid=7","message":"chmod(): No s
2018/10/03 08:46:31 [error] 31158#102337: *29 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538570791307 HTTP/1.1", host: "192.168.0.34"
2018/10/03 08:46:44 [error] 31160#102333: *46 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538570804423 HTTP/1.1", host: "192.168.0.34"
2018/10/03 08:46:48 [error] 31160#102333: *32 access forbidden by rule, client: 192.168.0.12, server: 127.0.0.1, request: "GET /data/.ocdata?t=1538570808333 HTTP/1.1", host: "192.168.0.34"

There seem to be permission problems on

/mnt/Server/Server/Family

and/or

/usr/local/www/nextcloud/lib/private

What are the permissions of that directories? Are you really logging in /usr/local? The log files should be in /var. I have them in /var/lib/nextcloud.