Nextcloudpi do not work after installing pivpn

Nextcloud version :12.0.3
Operating system and version :Nextcloudpi updated
Apache or nginx version : Apache/2.4.25 (Raspbian)
PHP version : PHP 7.0.19-1
Is this the first time you’ve seen this error?:
Yes

Can you reliably replicate it? (If so, please outline steps):
Tried it two times . After installing pivpn by running curl -L https://install.pivpn.io | bash
I can not log in to nextcloud locally or over Internet.

The issue you are facing:
It gives me the error in my language (Greek. How can I change this? I prefer English) so a rough translation

Your data dir is not valid
Ensure that there is file named ".ocdata"  in your base catalog(?) of your data catalog,
Impossible to create the directory "data"
This could be possibly solved by giving web access to the admin to the basic catalog.
See https://docs.nextcloud.com/server/12/go.php?to=admin-dir_permissions

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):
When I try to cd /var/www/nextcloud/
it says
bash: cd: /var/www/nextcloud/: Permission denied

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

[Mon Oct 02 15:47:13.889026 2017] [mpm_event:notice] [pid 1210:tid 3069410400] AH00489: Apache/2.4.25 (Raspbian) configured -- resuming normal operations
[Mon Oct 02 15:47:13.960034 2017] [core:notice] [pid 1210:tid 3069410400] AH00094: Command line: '/usr/sbin/apache2'
[Mon Oct 02 16:15:25.304132 2017] [mpm_event:notice] [pid 1210:tid 3069410400] AH00491: caught SIGTERM, shutting down
[Mon Oct 02 16:18:51.655640 2017] [mpm_event:notice] [pid 485:tid 3069798416] AH00489: Apache/2.4.25 (Raspbian) OpenSSL/1.0.2l configured -- resuming normal operations
[Mon Oct 02 16:18:51.845838 2017] [core:notice] [pid 485:tid 3069798416] AH00094: Command line: '/usr/sbin/apache2'
[Mon Oct 02 16:23:22.633781 2017] [mpm_event:notice] [pid 485:tid 3069798416] AH00491: caught SIGTERM, shutting down
[Mon Oct 02 16:27:19.034306 2017] [mpm_event:notice] [pid 480:tid 3069930592] AH00489: Apache/2.4.25 (Raspbian) OpenSSL/1.0.2l configured -- resuming normal operations
[Mon Oct 02 16:27:19.254092 2017] [core:notice] [pid 480:tid 3069930592] AH00094: Command line: '/usr/sbin/apache2'
[Mon Oct 02 16:31:43.638907 2017] [mpm_event:notice] [pid 480:tid 3069930592] AH00491: caught SIGTERM, shutting down
[Tue Oct 03 18:10:14.257089 2017] [mpm_event:notice] [pid 586:tid 3069897824] AH00489: Apache/2.4.25 (Raspbian) OpenSSL/1.0.2l configured -- resuming normal operations
[Tue Oct 03 18:10:14.436561 2017] [core:notice] [pid 586:tid 3069897824] AH00094: Command line: '/usr/sbin/apache2'
[Tue Oct 03 18:14:35.946167 2017] [mpm_event:notice] [pid 586:tid 3069897824] AH00491: caught SIGTERM, shutting down
[Tue Oct 03 18:14:40.252944 2017] [mpm_event:notice] [pid 1295:tid 3069831184] AH00489: Apache/2.4.25 (Raspbian) OpenSSL/1.0.2l configured -- resuming normal operations
[Tue Oct 03 18:14:40.271816 2017] [core:notice] [pid 1295:tid 3069831184] AH00094: Command line: '/usr/sbin/apache2'
[Tue Oct 03 19:32:20.853582 2017] [mpm_event:notice] [pid 1295:tid 3069831184] AH00491: caught SIGTERM, shutting down
[Tue Oct 03 19:32:26.822832 2017] [ssl:warn] [pid 4736:tid 3069765648] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Tue Oct 03 19:32:26.968792 2017] [unique_id:alert] [pid 4736:tid 3069765648] (EAI 2)Name or service not known: AH01564: unable to find IPv4 address of "raspberrypi"
AH00016: Configuration Failed
[Tue Oct 03 19:39:02.215830 2017] [ssl:warn] [pid 5667:tid 3069470736] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Tue Oct 03 19:39:02.739932 2017] [unique_id:alert] [pid 5667:tid 3069470736] (EAI 2)Name or service not known: AH01564: unable to find IPv4 address of "raspberrypi"
AH00016: Configuration Failed
[Tue Oct 03 19:40:07.070259 2017] [ssl:warn] [pid 5841:tid 3069865056] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Tue Oct 03 19:40:07.359356 2017] [unique_id:alert] [pid 5841:tid 3069865056] (EAI 2)Name or service not known: AH01564: unable to find IPv4 address of "raspberrypi"
AH00016: Configuration Failed
[Tue Oct 03 20:14:33.169848 2017] [ssl:warn] [pid 608:tid 1992978432] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Tue Oct 03 20:14:34.047454 2017] [ssl:warn] [pid 842:tid 1992978432] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Tue Oct 03 20:14:35.005164 2017] [mpm_event:notice] [pid 842:tid 1992978432] AH00489: Apache/2.4.25 (Raspbian) OpenSSL/1.0.2l configured -- resuming normal operations
[Tue Oct 03 20:14:35.005402 2017] [core:notice] [pid 842:tid 1992978432] AH00094: Command line: '/usr/sbin/apache2'
[Sun Oct 08 16:48:34.751505 2017] [mpm_event:notice] [pid 842:tid 1992978432] AH00491: caught SIGTERM, shutting down
[Sun Oct 08 16:48:46.921422 2017] [ssl:warn] [pid 580:tid 1992601600] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sun Oct 08 16:48:47.047004 2017] [ssl:warn] [pid 766:tid 1992601600] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sun Oct 08 16:48:48.002527 2017] [mpm_event:notice] [pid 766:tid 1992601600] AH00489: Apache/2.4.25 (Raspbian) OpenSSL/1.0.2l configured -- resuming normal operations
[Sun Oct 08 16:48:48.002674 2017] [core:notice] [pid 766:tid 1992601600] AH00094: Command line: '/usr/sbin/apache2'
[Sun Oct 08 16:54:58.187836 2017] [mpm_event:notice] [pid 766:tid 1992601600] AH00491: caught SIGTERM, shutting down
[Sun Oct 08 16:55:10.590083 2017] [ssl:warn] [pid 545:tid 1992740864] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sun Oct 08 16:55:11.045679 2017] [ssl:warn] [pid 795:tid 1992740864] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sun Oct 08 16:55:12.003304 2017] [mpm_event:notice] [pid 795:tid 1992740864] AH00489: Apache/2.4.25 (Raspbian) OpenSSL/1.0.2l configured -- resuming normal operations
[Sun Oct 08 16:55:12.003456 2017] [core:notice] [pid 795:tid 1992740864] AH00094: Command line: '/usr/sbin/apache2'
[Sun Oct 08 16:57:45.612786 2017] [authnz_external:error] [pid 873:tid 1952322608] [client 192.168.1.201:33496] External authenticator died on signal 15
[Sun Oct 08 16:57:45.612786 2017] [authnz_external:error] [pid 873:tid 1918768176] [client 192.168.1.201:33496] External authenticator died on signal 15, referer: https://192.168.1.3:4443/ncp.css
[Sun Oct 08 16:57:45.612930 2017] [authnz_external:error] [pid 873:tid 1952322608] [client 192.168.1.201:33496] AuthExtern pwauth [/usr/sbin/pwauth]: Failed (-2) for user pi
[Sun Oct 08 16:57:45.612947 2017] [authnz_external:error] [pid 873:tid 1918768176] [client 192.168.1.201:33496] AuthExtern pwauth [/usr/sbin/pwauth]: Failed (-2) for user pi, referer: https://192.168.1.3:4443/ncp.css
[Sun Oct 08 16:57:45.612963 2017] [auth_basic:error] [pid 873:tid 1952322608] [client 192.168.1.201:33496] AH01617: user pi: authentication failure for "/minified.js": Password Mismatch
[Sun Oct 08 16:57:45.612971 2017] [auth_basic:error] [pid 873:tid 1918768176] [client 192.168.1.201:33496] AH01617: user pi: authentication failure for "/poweroff.svg": Password Mismatch, referer: https://192.168.1.3:4443/ncp.css
[Sun Oct 08 16:57:45.615000 2017] [authnz_external:error] [pid 873:tid 1927156784] [client 192.168.1.201:33496] External authenticator died on signal 15, referer: https://192.168.1.3:4443/ncp.css
[Sun Oct 08 16:57:45.615058 2017] [authnz_external:error] [pid 873:tid 1935545392] [client 192.168.1.201:33496] External authenticator died on signal 15, referer: https://192.168.1.3:4443/ncp.css
[Sun Oct 08 16:57:45.615109 2017] [authnz_external:error] [pid 873:tid 1927156784] [client 192.168.1.201:33496] AuthExtern pwauth [/usr/sbin/pwauth]: Failed (-2) for user pi, referer: https://192.168.1.3:4443/ncp.css
[Sun Oct 08 16:57:45.615119 2017] [authnz_external:error] [pid 873:tid 1935545392] [client 192.168.1.201:33496] AuthExtern pwauth [/usr/sbin/pwauth]: Failed (-2) for user pi, referer: https://192.168.1.3:4443/ncp.css
[Sun Oct 08 16:57:45.615132 2017] [auth_basic:error] [pid 873:tid 1927156784] [client 192.168.1.201:33496] AH01617: user pi: authentication failure for "/ncp-logo.png": Password Mismatch, referer: https://192.168.1.3:4443/ncp.css
[Sun Oct 08 16:57:45.615140 2017] [auth_basic:error] [pid 873:tid 1935545392] [client 192.168.1.201:33496] AH01617: user pi: authentication failure for "/info.svg": Password Mismatch, referer: https://192.168.1.3:4443/ncp.css
[Sun Oct 08 16:59:47.320680 2017] [authnz_external:error] [pid 874:tid 1826493488] [client 192.168.1.201:33528] External authenticator died on signal 15
[Sun Oct 08 16:59:47.320790 2017] [authnz_external:error] [pid 874:tid 1826493488] [client 192.168.1.201:33528] AuthExtern pwauth [/usr/sbin/pwauth]: Failed (-2) for user pi
[Sun Oct 08 16:59:47.320814 2017] [auth_basic:error] [pid 874:tid 1826493488] [client 192.168.1.201:33528] AH01617: user pi: authentication failure for "/minified.js": Password Mismatch
[Sun Oct 08 17:10:06.293701 2017] [mpm_event:notice] [pid 795:tid 1992740864] AH00491: caught SIGTERM, shutting down
[Sun Oct 08 17:10:06.465952 2017] [ssl:warn] [pid 4389:tid 1992904704] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sun Oct 08 17:10:07.078595 2017] [ssl:warn] [pid 4390:tid 1992904704] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sun Oct 08 17:10:08.005020 2017] [mpm_event:notice] [pid 4390:tid 1992904704] AH00489: Apache/2.4.25 (Raspbian) OpenSSL/1.0.2l configured -- resuming normal operations
[Sun Oct 08 17:10:08.041572 2017] [core:notice] [pid 4390:tid 1992904704] AH00094: Command line: '/usr/sbin/apache2'
[Sun Oct 08 17:56:02.041771 2017] [mpm_event:notice] [pid 4390:tid 1992904704] AH00491: caught SIGTERM, shutting down
[Sun Oct 08 17:56:15.924165 2017] [ssl:warn] [pid 662:tid 1992904704] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sun Oct 08 17:56:16.049545 2017] [ssl:warn] [pid 835:tid 1992904704] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sun Oct 08 17:56:17.003551 2017] [mpm_event:notice] [pid 835:tid 1992904704] AH00489: Apache/2.4.25 (Raspbian) OpenSSL/1.0.2l configured -- resuming normal operations
[Sun Oct 08 17:56:17.003736 2017] [core:notice] [pid 835:tid 1992904704] AH00094: Command line: '/usr/sbin/apache2'

othe_vhost_access.log

localhost:4443 192.168.1.201 - - [08/Oct/2017:16:51:45 +0000] "GET / HTTP/1.0" 400 0 "-" "-"
localhost:4443 192.168.1.201 - - [08/Oct/2017:16:51:45 +0000] "GET / HTTP/1.0" 400 0 "-" "-"
localhost:4443 angel-lenovo-g700 - pi [08/Oct/2017:16:57:31 +0000] "GET / HTTP/2.0" 200 0 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36"
localhost:4443 angel-lenovo-g700 - pi [08/Oct/2017:16:57:39 +0000] "GET / HTTP/2.0" 200 4218 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36"
localhost:4443 angel-lenovo-g700 - pi [08/Oct/2017:16:57:42 +0000] "GET /ncp.css HTTP/2.0" 200 6042 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36"
localhost:4443 angel-lenovo-g700 - pi [08/Oct/2017:16:57:42 +0000] "GET /ncp.js HTTP/2.0" 200 2067 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36"
localhost:4443 angel-lenovo-g700 - pi [08/Oct/2017:16:57:42 +0000] "GET /loading-small.gif HTTP/2.0" 200 1772 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36"
localhost:4443 angel-lenovo-g700 - pi [08/Oct/2017:16:57:42 +0000] "GET /minified.js HTTP/2.0" 401 462 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36"
localhost:4443 angel-lenovo-g700 - pi [08/Oct/2017:16:57:42 +0000] "GET /info.svg HTTP/2.0" 401 462 "https://192.168.1.3:4443/ncp.css" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36"
localhost:4443 angel-lenovo-g700 - pi [08/Oct/2017:16:57:42 +0000] "GET /ncp-logo.png HTTP/2.0" 401 462 "https://192.168.1.3:4443/ncp.css" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36"
localhost:4443 angel-lenovo-g700 - pi [08/Oct/2017:16:57:42 +0000] "GET /poweroff.svg HTTP/2.0" 401 462 "https://192.168.1.3:4443/ncp.css" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36"
localhost:4443 angel-lenovo-g700 - - [08/Oct/2017:16:57:49 +0000] "GET /favicon.png HTTP/2.0" 401 462 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36"
localhost:4443 192.168.1.201 - - [08/Oct/2017:16:57:56 +0000] "GET /favicon.png HTTP/2.0" 401 462 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36"
localhost:4443 angel-lenovo-g700 - - [08/Oct/2017:16:59:31 +0000] "GET / HTTP/2.0" 401 462 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36"
localhost:4443 angel-lenovo-g700 - pi [08/Oct/2017:16:59:41 +0000] "GET / HTTP/2.0" 200 4220 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36"
localhost:4443 angel-lenovo-g700 - pi [08/Oct/2017:16:59:44 +0000] "GET /ncp.css HTTP/2.0" 200 6042 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36"
localhost:4443 angel-lenovo-g700 - pi [08/Oct/2017:16:59:44 +0000] "GET /ncp.js HTTP/2.0" 200 2067 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36"
localhost:4443 angel-lenovo-g700 - pi [08/Oct/2017:16:59:44 +0000] "GET /loading-small.gif HTTP/2.0" 200 1772 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36"
localhost:4443 angel-lenovo-g700 - pi [08/Oct/2017:16:59:44 +0000] "GET /minified.js HTTP/2.0" 401 462 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36"
localhost:4443 192.168.1.201 - - [08/Oct/2017:17:00:35 +0000] "GET /ncp-logo.png HTTP/2.0" 401 462 "https://192.168.1.3:4443/ncp.css" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36"
localhost:4443 192.168.1.201 - - [08/Oct/2017:17:00:35 +0000] "GET /poweroff.svg HTTP/2.0" 401 462 "https://192.168.1.3:4443/ncp.css" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36"
localhost:4443 192.168.1.201 - - [08/Oct/2017:17:00:35 +0000] "GET /info.svg HTTP/2.0" 401 462 "https://192.168.1.3:4443/ncp.css" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36"
localhost:4443 192.168.1.201 - pi [08/Oct/2017:17:00:38 +0000] "GET /poweroff.svg HTTP/2.0" 200 3686 "https://192.168.1.3:4443/ncp.css" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36"
localhost:4443 192.168.1.201 - pi [08/Oct/2017:17:00:38 +0000] "GET /ncp-logo.png HTTP/2.0" 200 4842 "https://192.168.1.3:4443/ncp.css" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36"
localhost:4443 angel-lenovo-g700 - pi [08/Oct/2017:17:00:38 +0000] "GET /info.svg HTTP/2.0" 200 594 "https://192.168.1.3:4443/ncp.css" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36"
localhost:4443 angel-lenovo-g700 - pi [08/Oct/2017:17:00:38 +0000] "GET /minified.js HTTP/2.0" 200 8360 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36"
localhost:4443 angel-lenovo-g700 - pi [08/Oct/2017:17:00:41 +0000] "GET /favicon.png HTTP/2.0" 200 1825 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36"
localhost:4443 angel-lenovo-g700 - pi [08/Oct/2017:17:03:05 +0000] "POST /ncp-launcher.php HTTP/2.0" 200 197 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36"
localhost:4443 192.168.1.201 - pi [08/Oct/2017:17:03:05 +0000] "GET /red-circle.svg HTTP/2.0" 200 860 "https://192.168.1.3:4443/ncp.css" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36"
localhost:4443 192.168.1.201 - pi [08/Oct/2017:17:03:08 +0000] "POST /ncp-launcher.php HTTP/2.0" 200 101 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36"
localhost:80 64.78.149.164 - - [08/Oct/2017:17:09:41 +0000] "GET /.well-known/acme-challenge/_JirM2FbB2ci--uRUbLIpWSFqNCUrVXVIxN1cIc-F5U HTTP/1.1" 302 727 "-" "Mozilla/5.0 (compatible; Let's Encrypt validation server; +https://www.letsencrypt.org)"
localhost:4443 angel-lenovo-g700 - pi [08/Oct/2017:17:00:41 +0000] "GET /ncp-output.php HTTP/2.0" 200 4196674 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36"
localhost:80 77.49.32.147 - - [08/Oct/2017:17:16:44 +0000] "GET /status.php HTTP/1.1" 302 588 "-" "Mozilla/5.0 (Android) ownCloud-android/1.4.3"
localhost:4443 angel-lenovo-g700 - pi [08/Oct/2017:17:29:34 +0000] "POST /ncp-launcher.php HTTP/2.0" 200 191 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36"
localhost:4443 angel-lenovo-g700 - pi [08/Oct/2017:17:29:40 +0000] "POST /ncp-launcher.php HTTP/2.0" 200 272 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36"
localhost:4443 angel-lenovo-g700 - pi [08/Oct/2017:17:42:33 +0000] "POST /ncp-launcher.php HTTP/2.0" 200 241 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36"
localhost:4443 angel-lenovo-g700 - pi [08/Oct/2017:17:11:34 +0000] "GET /ncp-output.php HTTP/2.0" 200 4203870 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36"
localhost:4443 192.168.1.201 - - [08/Oct/2017:18:10:20 +0000] "GET / HTTP/1.0" 400 0 "-" "-"
localhost:4443 192.168.1.201 - - [08/Oct/2017:18:10:21 +0000] "GET / HTTP/1.0" 400 0 "-" "-"
localhost:80 192.168.1.201 - - [08/Oct/2017:18:10:25 +0000] "GET / HTTP/1.1" 302 603 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36"

@nachoparker one for you

who knows what that installation script does to your configuration …

I see bad attempts to log in to ncp-web and a misconfigured datadir.