Kein Zugriff auf Nextcloudpi Commandline

Guten Abend, ich habe volgendes Problem, ich komme nicht bei Nextcloudpi auf den die Hub einstellungen mit der 4443 Port adresse:

Forbidden

You don’t have permission to access this resource.

Kann mir da wer weiterhelfen?
LG im Vorraus

NCP at port 4443 is a web interface not a command line.
It will not work from outside LAN.

I know, but I´m in the network from my house and it doesnt work!

Do you have a terminal or ssh?
run ncp-config and check nc-info or
run ncp-report for more details and output of all the logs.

Provide more details if want others to assist! Without logs, it is like entering a dark room blindfolded. :sweat_smile:

1 Like

NextCloudPi version  v1.36.3
NextCloudPi image    NextCloudPi_11-27-20
distribution         Debian GNU/Linux 10 \n \l
automount            yes
USB devices          sda
datadir              /media/myCloudDrive/ncdata
data in SD           no
data filesystem      btrfs
data disk usage      51G/466G
rootfs usage         3.2G/59G
swapfile             /var/swap
dbdir                /var/lib/mysql
Nextcloud check      ok
Nextcloud version    20.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            eth0
certificates         ***REMOVED SENSITIVE VALUE***
NAT loopback         no
uptime               39min

Nextcloud configuration

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": {
            "0": "localhost",
            "5": "nextcloudpi.local",
            "7": "nextcloudpi",
            "8": "nextcloudpi.lan",
            "11": "2a02:8108:9640:b5c:78f7:7e64:d58e:e278",
            "1": "192.168.178.87",
            "20": "empireofideas.sytes.net",
            "21": "empireofideas.sytes.net:8888",
            "22": "192.168.178.87"
        },
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "20.0.8.1",
        "overwrite.cli.url": "https:\/\/192.168.178.87\/",
        "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\/myCloudDrive\/ncdata\/tmp",
        "mail_smtpmode": "sendmail",
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "preview_max_x": "2048",
        "preview_max_y": "2048",
        "jpeg_quality": "60",
        "overwriteprotocol": "https",
        "maintenance": false,
        "logfile": "\/media\/myCloudDrive\/ncdata\/nextcloud.log",
        "loglevel": "2",
        "log_type": "file"
    }
}

HTTPd logs

[Wed Jun 16 14:32:30.827153 2021] [authz_core:error] [pid 883:tid 547666354576] [client 2a02:8108:9640:b5c:60a8:eceb:69d8:af42:61570] AH01630: client denied by server configuration: /var/www/ncp-web/favicon.ico, referer: https://nextcloudpi.local:4443/
[Wed Jun 16 14:40:26.393097 2021] [authz_core:error] [pid 884:tid 547792245136] [client 2a02:8108:9640:b5c:60a8:eceb:69d8:af42:64135] AH01630: client denied by server configuration: /var/www/ncp-web/
[Wed Jun 16 14:40:26.584420 2021] [authz_core:error] [pid 884:tid 547792245136] [client 2a02:8108:9640:b5c:60a8:eceb:69d8:af42:64135] AH01630: client denied by server configuration: /var/www/ncp-web/favicon.ico, referer: https://nextcloudpi.local:4443/
[Wed Jun 16 14:42:50.058803 2021] [authz_core:error] [pid 884:tid 547582427536] [client 2a02:8108:9640:b5c:60a8:eceb:69d8:af42:60697] AH01630: client denied by server configuration: /var/www/ncp-web/
[Wed Jun 16 14:42:50.253748 2021] [authz_core:error] [pid 884:tid 547582427536] [client 2a02:8108:9640:b5c:60a8:eceb:69d8:af42:60697] AH01630: client denied by server configuration: /var/www/ncp-web/favicon.ico, referer: https://nextcloudpi.local:4443/
[Wed Jun 16 14:46:08.894121 2021] [mpm_event:notice] [pid 879:tid 547826734448] AH00491: caught SIGTERM, shutting down
[Mon Jun 21 16:53:21.750630 2021] [ssl:warn] [pid 654:tid 548265403760] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 21 16:53:21.751593 2021] [ssl:error] [pid 654:tid 548265403760] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=archlinux / issuer: CN=archlinux / serial: 0112307086B5A933D74576F54C8FD74C8207A8AF / notbefore: Nov 27 22:55:31 2020 GMT / notafter: Nov 25 22:55:31 2030 GMT]
[Mon Jun 21 16:53:21.751691 2021] [ssl:error] [pid 654:tid 548265403760] AH02604: Unable to configure certificate localhost:4443:0 for stapling
[Mon Jun 21 16:53:21.968722 2021] [ssl:warn] [pid 893:tid 548265403760] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 21 16:53:21.969538 2021] [ssl:error] [pid 893:tid 548265403760] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=archlinux / issuer: CN=archlinux / serial: 0112307086B5A933D74576F54C8FD74C8207A8AF / notbefore: Nov 27 22:55:31 2020 GMT / notafter: Nov 25 22:55:31 2030 GMT]
[Mon Jun 21 16:53:21.969603 2021] [ssl:error] [pid 893:tid 548265403760] AH02604: Unable to configure certificate localhost:4443:0 for stapling
[Mon Jun 21 16:53:21.987531 2021] [mpm_event:notice] [pid 893:tid 548265403760] AH00489: Apache/2.4.38 (Debian) OpenSSL/1.1.1d configured -- resuming normal operations
[Mon Jun 21 16:53:21.987703 2021] [core:notice] [pid 893:tid 548265403760] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jun 21 17:39:26.506648 2021] [mpm_event:notice] [pid 893:tid 548265403760] AH00493: SIGUSR1 received.  Doing graceful restart
[Mon Jun 21 17:39:26.549888 2021] [ssl:warn] [pid 893:tid 548265403760] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 21 17:39:26.550164 2021] [ssl:error] [pid 893:tid 548265403760] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=archlinux / issuer: CN=archlinux / serial: 0112307086B5A933D74576F54C8FD74C8207A8AF / notbefore: Nov 27 22:55:31 2020 GMT / notafter: Nov 25 22:55:31 2030 GMT]
[Mon Jun 21 17:39:26.550184 2021] [ssl:error] [pid 893:tid 548265403760] AH02604: Unable to configure certificate localhost:4443:0 for stapling
[Mon Jun 21 17:39:26.552422 2021] [mpm_event:notice] [pid 893:tid 548265403760] AH00489: Apache/2.4.38 (Debian) OpenSSL/1.1.1d configured -- resuming normal operations
[Mon Jun 21 17:39:26.552457 2021] [core:notice] [pid 893:tid 548265403760] AH00094: Command line: '/usr/sbin/apache2'

Database logs

2021-06-21 16:53:41 0 [Note] InnoDB: Completed initialization of buffer pool
2021-06-21 16:53:41 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2021-06-21 16:53:41 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=573212592
2021-06-21 16:53:42 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2021-06-21 16:53:42 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2021-06-21 16:53:42 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2021-06-21 16:53:42 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2021-06-21 16:53:42 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2021-06-21 16:53:42 0 [Note] InnoDB: 10.3.27 started; log sequence number 573212601; transaction id 1820491
2021-06-21 16:53:42 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2021-06-21 16:53:42 0 [Note] Plugin 'FEEDBACK' is disabled.
2021-06-21 16:53:42 0 [Note] Recovering after a crash using tc.log
2021-06-21 16:53:42 0 [Note] Starting crash recovery...
2021-06-21 16:53:42 0 [Note] Crash recovery finished.
2021-06-21 16:53:42 0 [Note] Server socket created on IP: '127.0.0.1'.
2021-06-21 16:53:42 0 [Note] Reading of all Master_info entries succeeded
2021-06-21 16:53:42 0 [Note] Added new Master_info '' to hash table
2021-06-21 16:53:42 0 [Note] /usr/sbin/mysqld: ready for connections.
Version: '10.3.27-MariaDB-0+deb10u1'  socket: '/run/mysqld/mysqld.sock'  port: 3306  Debian 10
2021-06-21 16:53:44 0 [Note] InnoDB: Buffer pool(s) load completed at 210621 16:53:44

Nextcloud logs

I´m so stupid! The NCP-Web interface wasn´t activatet ^_____^

But thanks for the help!