Port 80 and 443 closed

ncp
network
nc15
#1

Hello everyone,
i tried installing Nextcloud on my RaspberryPi and I am stuck at the Port Forwarding process.
I setup the forwarding on my Fritz!Box and i entered my noip data. If I run the port test on the noip side it shows that both ports are closed.
If I run ncp-report I get the same. How can I fix this?

Greetings

Flo

Here the ncp-report:

<--! Paste this in GitHub report -->
NextCloudPi diagnostics

cat: /usr/local/etc/ncp-version: Datei oder Verzeichnis nicht gefunden
NextCloudPi version
distribution         Raspbian GNU/Linux 9 \n \l
automount            yes
USB devices          sda
datadir              /media/USBdrive/ncdata
data in SD           no
data filesystem      btrfs
data disk usage      53M/29G
rootfs usage         2,0G/27G
swapfile             /var/swap
dbdir                /var/lib/mysql
Nextcloud check      ok
Nextcloud version    15.0.8.1
HTTPD service        up
PHP service          up
MariaDB service      up
Redis service        up
Postfix service      up
internet check       ok
port check 80        closed
port check 443       closed
IP                   ***REMOVED SENSITIVE VALUE***
gateway              ***REMOVED SENSITIVE VALUE***
interface            wlan0
certificates         ***REMOVED SENSITIVE VALUE***
NAT loopback         no
uptime               2:27

Nextcloud configuration

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": {
            "0": "localhost",
            "11": "2001:16b8:1e60:d600:7e65:8d9b:c766:f6f7",
            "1": "192.168.178.35",
            "5": "nextcloudpi.local",
            "7": "nextcloudpi",
            "8": "nextcloudpi.lan"
        },
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "15.0.8.1",
        "overwrite.cli.url": "http:\/\/localhost",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "tempdirectory": "\/media\/USBdrive\/ncdata\/tmp",
        "mail_smtpmode": "sendmail",
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "jpeg_quality": "60",
        "overwriteprotocol": "https",
        "maintenance": false,
        "logfile": "\/media\/USBdrive\/ncdata\/nextcloud.log",
        "loglevel": "2",
        "log_type": "file"
    }
}

HTTPd logs

[Sat Jun 08 17:00:34.000939 2019] [:notice] [pid 23090:tid 1996083440] ModSecurity: Status engine is currently disabled, enable it by set SecStatusEngine to On.
[Sat Jun 08 17:00:34.336211 2019] [ssl:warn] [pid 23091:tid 1996083440] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Sat Jun 08 17:00:34.336614 2019] [ssl:error] [pid 23091:tid 1996083440] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=raspberrypi / issuer: CN=raspberrypi / serial: F48CE76B81BC0D57 / notbefore: Jun  8 15:46:31 2019 GMT / notafter: Jun  5 15:46:31 2029 GMT]
[Sat Jun 08 17:00:34.336641 2019] [ssl:error] [pid 23091:tid 1996083440] AH02604: Unable to configure certificate localhost:443:0 for stapling
[Sat Jun 08 17:00:35.011187 2019] [mpm_event:notice] [pid 23091:tid 1996083440] AH00489: Apache/2.4.25 (Raspbian) OpenSSL/1.0.2r configured -- resuming normal operations
[Sat Jun 08 17:00:35.011658 2019] [core:notice] [pid 23091:tid 1996083440] AH00094: Command line: '/usr/sbin/apache2'
[Sat Jun 08 17:06:22.633944 2019] [mpm_event:notice] [pid 23091:tid 1996083440] AH00493: SIGUSR1 received.  Doing graceful restart
AH00112: Warning: DocumentRoot [/var/www/ncp-web/] does not exist
[Sat Jun 08 17:06:22.708086 2019] [ssl:warn] [pid 23091:tid 1996083440] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Sat Jun 08 17:06:22.708496 2019] [ssl:error] [pid 23091:tid 1996083440] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=raspberrypi / issuer: CN=raspberrypi / serial: F48CE76B81BC0D57 / notbefore: Jun  8 15:46:31 2019 GMT / notafter: Jun  5 15:46:31 2029 GMT]
[Sat Jun 08 17:06:22.708522 2019] [ssl:error] [pid 23091:tid 1996083440] AH02604: Unable to configure certificate localhost:443:0 for stapling
[Sat Jun 08 17:06:23.000525 2019] [mpm_event:notice] [pid 23091:tid 1996083440] AH00489: Apache/2.4.25 (Raspbian) OpenSSL/1.0.2r configured -- resuming normal operations
[Sat Jun 08 17:06:23.000611 2019] [core:notice] [pid 23091:tid 1996083440] AH00094: Command line: '/usr/sbin/apache2'
[Sat Jun 08 18:19:25.160690 2019] [mpm_event:notice] [pid 23091:tid 1996083440] AH00493: SIGUSR1 received.  Doing graceful restart
[Sat Jun 08 18:19:29.180493 2019] [ssl:warn] [pid 23091:tid 1996083440] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sat Jun 08 18:19:29.181108 2019] [ssl:error] [pid 23091:tid 1996083440] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=raspberrypi / issuer: CN=raspberrypi / serial: F48CE76B81BC0D57 / notbefore: Jun  8 15:46:31 2019 GMT / notafter: Jun  5 15:46:31 2029 GMT]
[Sat Jun 08 18:19:29.181157 2019] [ssl:error] [pid 23091:tid 1996083440] AH02604: Unable to configure certificate localhost:4443:0 for stapling
[Sat Jun 08 18:19:30.001192 2019] [mpm_event:notice] [pid 23091:tid 1996083440] AH00489: Apache/2.4.25 (Raspbian) OpenSSL/1.0.2r configured -- resuming normal operations
[Sat Jun 08 18:19:30.001333 2019] [core:notice] [pid 23091:tid 1996083440] AH00094: Command line: '/usr/sbin/apache2'
[Sat Jun 08 18:19:54.600059 2019] [proxy_fcgi:error] [pid 2523:tid 1659167792] [client 192.168.178.21:53771] AH01071: Got error 'PHP message: PHP Notice:  Undefined index: app in /var/www/ncp-web/index.php on line 238\nPHP message: PHP Notice:  Undefined index: app in /var/www/ncp-web/index.php on line 244\n'

Database logs

2019-06-08 17:23:03 1970701120 [Note] /usr/sbin/mysqld: Shutdown complete

2019-06-08 17:23:19 1995919152 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2019-06-08 17:23:19 1995919152 [Note] InnoDB: The InnoDB memory heap is disabled
2019-06-08 17:23:19 1995919152 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2019-06-08 17:23:19 1995919152 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2019-06-08 17:23:19 1995919152 [Note] InnoDB: Compressed tables use zlib 1.2.8
2019-06-08 17:23:19 1995919152 [Note] InnoDB: Using Linux native AIO
2019-06-08 17:23:19 1995919152 [Note] InnoDB: Using generic crc32 instructions
2019-06-08 17:23:19 1995919152 [Note] InnoDB: Initializing buffer pool, size = 370.0M
2019-06-08 17:23:19 1995919152 [Note] InnoDB: Completed initialization of buffer pool
2019-06-08 17:23:19 1995919152 [Note] InnoDB: Highest supported file format is Barracuda.
2019-06-08 17:23:19 1995919152 [Note] InnoDB: 128 rollback segment(s) are active.
2019-06-08 17:23:19 1995919152 [Note] InnoDB: Waiting for purge to start
2019-06-08 17:23:19 1995919152 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.42-84.2 started; log sequence number 3883249
2019-06-08 17:23:19 1107292992 [Note] InnoDB: Dumping buffer pool(s) not yet started
2019-06-08 17:23:19 1995919152 [Note] Plugin 'FEEDBACK' is disabled.
2019-06-08 17:23:27 1995919152 [Note] Server socket created on IP: '127.0.0.1'.
2019-06-08 17:23:31 1995919152 [Note] /usr/sbin/mysqld: ready for connections.
Version: '10.1.38-MariaDB-0+deb9u1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  Raspbian 9.0

Nextcloud logs

{"reqId":"8S7fjX160tAAnK3K60qK","level":3,"time":"2019-06-08T16:00:31+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":{"Exception":"Exception","Message":"Not installed","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/lib\/base.php","line":660,"function":"checkInstalled","class":"OC","type":"::","args":[]},{"file":"\/var\/www\/nextcloud\/lib\/base.php","line":1068,"function":"init","class":"OC","type":"::","args":[]},{"file":"\/var\/www\/nextcloud\/cron.php","line":41,"args":["\/var\/www\/nextcloud\/lib\/base.php"],"function":"require_once"}],"File":"\/var\/www\/nextcloud\/lib\/base.php","Line":277,"CustomMessage":"--"},"userAgent":"--","version":""}
{"reqId":"ge57TfUdHbPN6iV3sJTH","level":3,"time":"2019-06-08T16:15:16+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":{"Exception":"Exception","Message":"Not installed","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/lib\/base.php","line":660,"function":"checkInstalled","class":"OC","type":"::","args":[]},{"file":"\/var\/www\/nextcloud\/lib\/base.php","line":1068,"function":"init","class":"OC","type":"::","args":[]},{"file":"\/var\/www\/nextcloud\/cron.php","line":41,"args":["\/var\/www\/nextcloud\/lib\/base.php"],"function":"require_once"}],"File":"\/var\/www\/nextcloud\/lib\/base.php","Line":277,"CustomMessage":"--"},"userAgent":"--","version":""}