Self hosted getting 403 forbidden

[details=“Support intro”]

Hi! I get 403 for everything.

steps:

  1. installed ncp and port forwarded - everything works fine.
  2. installed notes app from fdroid.
  3. every url I try - I get a 403 error. also from the notes app - sync failed.

Thanks in advance for your help :slight_smile:

Run ncp-report please and share its output.
If you remove the notes app, does NC return to normal?

Couldn’t log in to my rpi (no ssh, no micro-hdmi connector available)
Whatsoever, I connected my ncp hard disk to my laptop and now have access to the filesystem as files.

this is the apache2 error log which as I read might help to understand the problem:

[Sun Dec 24 00:00:00.722670 2023] [ssl:warn] [pid 1150:tid 548042826816] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sun Dec 24 00:00:00.723011 2023] [ssl:error] [pid 1150:tid 548042826816] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=fv-az1270-243 / issuer: CN=fv-az1270-243 / serial: 320AB6A1170313D3D67EBAFE3A8BC9643604DF6F / notbefore: Nov 15 17:52:44 2023 GMT / notafter: Nov 12 17:52:44 2033 GMT]
[Sun Dec 24 00:00:00.723055 2023] [ssl:error] [pid 1150:tid 548042826816] AH02604: Unable to configure certificate localhost:4443:0 for stapling
[Sun Dec 24 00:00:00.725244 2023] [mpm_event:notice] [pid 1150:tid 548042826816] AH00489: Apache/2.4.56 (Debian) OpenSSL/1.1.1w configured -- resuming normal operations
[Sun Dec 24 00:00:00.725295 2023] [core:notice] [pid 1150:tid 548042826816] AH00094: Command line: '/usr/sbin/apache2'
[Sun Dec 24 00:00:45.297324 2023] [authz_host:error] [pid 525302:tid 547734151552] [client 205.210.31.105:63798] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Sun Dec 24 00:00:45.297540 2023] [authz_core:error] [pid 525302:tid 547734151552] [client 205.210.31.105:63798] AH01630: client denied by server configuration: /var/www/ncp-web/
[Sun Dec 24 00:09:37.085192 2023] [authz_host:error] [pid 525303:tid 547725758848] [client 104.236.70.231:52456] AH01753: access check of 'localhost' to /ab2g failed, reason: unable to get the remote host name
[Sun Dec 24 00:09:37.085391 2023] [authz_core:error] [pid 525303:tid 547725758848] [client 104.236.70.231:52456] AH01630: client denied by server configuration: /var/www/ncp-web/ab2g
[Sun Dec 24 00:09:37.657323 2023] [authz_host:error] [pid 525302:tid 547591541120] [client 104.236.70.231:52470] AH01753: access check of 'localhost' to /ab2h failed, reason: unable to get the remote host name
[Sun Dec 24 00:09:37.657489 2023] [authz_core:error] [pid 525302:tid 547591541120] [client 104.236.70.231:52470] AH01630: client denied by server configuration: /var/www/ncp-web/ab2h
[Sun Dec 24 00:09:44.368198 2023] [authz_host:error] [pid 525303:tid 547708973440] [client 104.236.70.231:35544] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Sun Dec 24 00:09:44.368290 2023] [authz_core:error] [pid 525303:tid 547708973440] [client 104.236.70.231:35544] AH01630: client denied by server configuration: /var/www/ncp-web/
[Sun Dec 24 01:29:06.922919 2023] [authz_core:error] [pid 525302:tid 547708973440] [client 184.105.247.196:61012] AH01630: client denied by server configuration: /var/www/ncp-web/
[Sun Dec 24 01:29:32.050176 2023] [authz_core:error] [pid 525302:tid 547608326528] [client 184.105.247.196:20786] AH01630: client denied by server configuration: /var/www/ncp-web/
[Sun Dec 24 02:10:24.565181 2023] [authz_core:error] [pid 525302:tid 546995954048] [client 103.187.190.61:42281] AH01630: client denied by server configuration: /var/www/ncp-web/
[Sun Dec 24 02:10:27.045400 2023] [authz_core:error] [pid 525302:tid 547708973440] [client 103.187.190.6:56436] AH01630: client denied by server configuration: /var/www/ncp-web/
[Sun Dec 24 02:10:27.669567 2023] [authz_core:error] [pid 525302:tid 547692188032] [client 103.187.190.6:56452] AH01630: client denied by server configuration: /var/www/ncp-web/favicon.ico
[Sun Dec 24 02:26:22.490742 2023] [authz_host:error] [pid 525303:tid 547331498368] [client 47.245.106.69:41900] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Sun Dec 24 02:26:22.490951 2023] [authz_core:error] [pid 525303:tid 547331498368] [client 47.245.106.69:41900] AH01630: client denied by server configuration: /var/www/ncp-web/
[Sun Dec 24 02:26:23.211129 2023] [authz_host:error] [pid 525303:tid 547339891072] [client 47.245.106.69:42388] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Sun Dec 24 02:26:23.211270 2023] [authz_core:error] [pid 525303:tid 547339891072] [client 47.245.106.69:42388] AH01630: client denied by server configuration: /var/www/ncp-web/
[Sun Dec 24 02:26:24.491269 2023] [authz_host:error] [pid 525302:tid 547566363008] [client 47.245.106.69:42788] AH01753: access check of 'localhost' to /sitemap.xml failed, reason: unable to get the remote host name
[Sun Dec 24 02:26:24.491384 2023] [authz_host:error] [pid 525302:tid 547591541120] [client 47.245.106.69:42786] AH01753: access check of 'localhost' to /robots.txt failed, reason: unable to get the remote host name
[Sun Dec 24 02:26:24.491417 2023] [authz_core:error] [pid 525302:tid 547566363008] [client 47.245.106.69:42788] AH01630: client denied by server configuration: /var/www/ncp-web/sitemap.xml
[Sun Dec 24 02:26:24.491463 2023] [authz_core:error] [pid 525302:tid 547591541120] [client 47.245.106.69:42786] AH01630: client denied by server configuration: /var/www/ncp-web/robots.txt
[Sun Dec 24 09:33:29.252957 2023] [authz_host:error] [pid 525302:tid 546945597824] [client 82.166.180.180:39272] AH01753: access check of 'localhost' to /remote/logincheck failed, reason: unable to get the remote host name
[Sun Dec 24 09:33:29.253156 2023] [authz_core:error] [pid 525302:tid 546945597824] [client 82.166.180.180:39272] AH01630: client denied by server configuration: /var/www/ncp-web/remote
[Sun Dec 24 19:56:18.743991 2023] [authz_core:error] [pid 525302:tid 546979168640] [client 167.94.138.126:38364] AH01630: client denied by server configuration: /var/www/ncp-web/
[Sun Dec 24 19:56:22.288732 2023] [authz_core:error] [pid 525302:tid 546937205120] [client 167.94.138.126:37810] AH01630: client denied by server configuration: /var/www/ncp-web/
[Sun Dec 24 22:53:40.158965 2023] [authz_host:error] [pid 525302:tid 546928812416] [client 47.252.8.82:40594] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Sun Dec 24 22:53:40.159124 2023] [authz_core:error] [pid 525302:tid 546928812416] [client 47.252.8.82:40594] AH01630: client denied by server configuration: /var/www/ncp-web/
[Sun Dec 24 22:53:40.561425 2023] [authz_host:error] [pid 525303:tid 547339891072] [client 47.252.8.82:41064] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Sun Dec 24 22:53:40.561546 2023] [authz_core:error] [pid 525303:tid 547339891072] [client 47.252.8.82:41064] AH01630: client denied by server configuration: /var/www/ncp-web/
[Sun Dec 24 22:53:41.063661 2023] [authz_host:error] [pid 525302:tid 547557970304] [client 47.252.8.82:41300] AH01753: access check of 'localhost' to /robots.txt failed, reason: unable to get the remote host name
[Sun Dec 24 22:53:41.063796 2023] [authz_core:error] [pid 525302:tid 547557970304] [client 47.252.8.82:41300] AH01630: client denied by server configuration: /var/www/ncp-web/robots.txt
[Sun Dec 24 22:53:41.063961 2023] [authz_host:error] [pid 525303:tid 547314712960] [client 47.252.8.82:41302] AH01753: access check of 'localhost' to /sitemap.xml failed, reason: unable to get the remote host name
[Sun Dec 24 22:53:41.064029 2023] [authz_core:error] [pid 525303:tid 547314712960] [client 47.252.8.82:41302] AH01630: client denied by server configuration: /var/www/ncp-web/sitemap.xml
[Sun Dec 24 22:59:32.874179 2023] [ssl:warn] [pid 873:tid 547904152640] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sun Dec 24 22:59:32.875125 2023] [ssl:error] [pid 873:tid 547904152640] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=fv-az1270-243 / issuer: CN=fv-az1270-243 / serial: 320AB6A1170313D3D67EBAFE3A8BC9643604DF6F / notbefore: Nov 15 17:52:44 2023 GMT / notafter: Nov 12 17:52:44 2033 GMT]
[Sun Dec 24 22:59:32.875196 2023] [ssl:error] [pid 873:tid 547904152640] AH02604: Unable to configure certificate localhost:4443:0 for stapling
[Sun Dec 24 22:59:32.932714 2023] [ssl:warn] [pid 1119:tid 547904152640] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sun Dec 24 22:59:32.933148 2023] [ssl:error] [pid 1119:tid 547904152640] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=fv-az1270-243 / issuer: CN=fv-az1270-243 / serial: 320AB6A1170313D3D67EBAFE3A8BC9643604DF6F / notbefore: Nov 15 17:52:44 2023 GMT / notafter: Nov 12 17:52:44 2033 GMT]
[Sun Dec 24 22:59:32.933249 2023] [ssl:error] [pid 1119:tid 547904152640] AH02604: Unable to configure certificate localhost:4443:0 for stapling
[Sun Dec 24 22:59:32.939396 2023] [mpm_event:notice] [pid 1119:tid 547904152640] AH00489: Apache/2.4.56 (Debian) OpenSSL/1.1.1w configured -- resuming normal operations
[Sun Dec 24 22:59:32.939727 2023] [core:notice] [pid 1119:tid 547904152640] AH00094: Command line: '/usr/sbin/apache2'

Can provide whatever more logs that are needed!
Thanks for your help :smiley: