Nextcloud version: 21.0.4.1
Operating system and version: Linux 5.10.52-v7l+ armv7l (Raspbian)
Apache or nginx version: Apache 2.4.38
PHP version: 7.3
NextcloudPI Version: v1.38.5
The issue you are facing:
When i try to access Nextcloud via Domain name / externally, there are no Login fields shown. Only (sometimes) the Nextcloud-Logo and the blue Background and Footer Line.
Looks like the site is not served the JavaScript.
After some time on the blue screen with logo Browser-Console shows some errors:
OC / OCA not defined
jQuery is not defined
When I Access ist per local IP, everything works fine.
I tried different Browsers, different devices → all the same
I played around with the overwrite.cli.url parameter
I played around with the original Certificates and Let’sEncryptCertificates
I checked all logs i could find
I checked, that port 80 and 443 are open and forwarded in my router
(Trying to put my PI to the web via Hotspot on my cellphone resulted in major problems)
Nextcloud Android App is not working properly as well (stuck in connect- screen with )
I tried to switch from strato (*.de-Domain) to no-ip-domain
I tried to find similar posts in different forums, but they didn’t get me further:
e.g.
which is similar, but got no helping answer (didn’t want to reopen the old post)
I’m a bit desperate
Thanks a lot for helping!
Is this the first time you’ve seen this error? Y
Steps to replicate it:
go to [Domain] → showing blue page with logo and Footer no login fields
ncp-report:
NextCloudPi diagnostics
NextCloudPi version v1.38.5
NextCloudPi image NextCloudPi_12-20-19
distribution Raspbian GNU/Linux 10 \n \l
automount yes
USB devices sda
datadir /media/SSD-RaspiCloudE4/ncdata
data in SD no
data filesystem ext2/ext3
data disk usage 9,0G/135G
rootfs usage 7,3G/13G
swapfile none
dbdir /var/lib/mysql
Nextcloud check ok
Nextcloud version 21.0.4.1
HTTPD service up
PHP service up
MariaDB service up
Redis service up
Postfix service up
internet check ok
port check 80 open
port check 443 open
IP ***REMOVED SENSITIVE VALUE***
gateway ***REMOVED SENSITIVE VALUE***
interface eth0
certificates ***REMOVED SENSITIVE VALUE***
NAT loopback no
uptime 1:04
Nextcloud configuration
{
"system": {
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": {
"0": "localhost",
"11": "2a01:c23:8410:7800:9135:53f8:bd5a:ae3a",
"1": "192.168.1.100",
"5": "nextcloudpi.local",
"7": "nextcloudpi",
"8": "nextcloudpi.lan",
"20": "[DOMAIN].de",
"21": "www.[DOMAIN].de",
"12": "[DOMAIN].de",
"13": "www.[DOMAIN].de",
"22": "[DOMAIN].ddns.net",
"3": "[DOMAIN].ddns.net"
},
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "21.0.4.1",
"overwrite.cli.url": "https:\/\/www.[DOMAIN].de",
"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***"
},
"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,
"tempdirectory": "\/media\/SSD-RaspiCloudE4\/ncdata\/tmp",
"logfile": "\/media\/SSD-RaspiCloudE4\/ncdata\/nextcloud.log",
"loglevel": 0,
"log_type": "file",
"theme": "",
"ldapIgnoreNamingRules": false,
"ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
"default_phone_region": "DE",
"hide_login_form": false,
"debug": true
}
}
HTTPd logs
[Fri Aug 20 12:07:11.342675 2021] [authz_host:error] [pid 3395] [client 192.168.1.139:57172] AH01753: access check of 'localhost' to /img/defaults.svg failed, reason: unable to get the remote host name
[Fri Aug 20 12:07:11.342675 2021] [authz_host:error] [pid 3447] [client 192.168.1.139:65000] AH01753: access check of 'localhost' to /img/toggle.svg failed, reason: unable to get the remote host name
[Fri Aug 20 12:07:11.347274 2021] [authz_host:error] [pid 3447] [client 192.168.1.139:65000] AH01753: access check of 'localhost' to /img/ncp-logo.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.100:4443/
[Fri Aug 20 12:07:11.390298 2021] [authz_host:error] [pid 3390] [client 192.168.1.139:57175] AH01753: access check of 'localhost' to /img/poweroff.svg failed, reason: unable to get the remote host name
[Fri Aug 20 12:07:11.390310 2021] [authz_host:error] [pid 3400] [client 192.168.1.139:57174] AH01753: access check of 'localhost' to /img/loading-small.gif failed, reason: unable to get the remote host name, referer: https://192.168.1.100:4443/
[Fri Aug 20 12:07:11.445384 2021] [authz_host:error] [pid 3447] [client 192.168.1.139:65000] AH01753: access check of 'localhost' to /img/search.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.100:4443/css/ncp.css
[Fri Aug 20 12:07:11.445480 2021] [authz_host:error] [pid 3452] [client 192.168.1.139:57173] AH01753: access check of 'localhost' to /img/nc-button.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.100:4443/css/ncp.css
[Fri Aug 20 12:07:11.445759 2021] [authz_host:error] [pid 3395] [client 192.168.1.139:57172] AH01753: access check of 'localhost' to /img/dashboard.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.100:4443/css/ncp.css
[Fri Aug 20 12:07:11.446044 2021] [authz_host:error] [pid 3390] [client 192.168.1.139:57175] AH01753: access check of 'localhost' to /img/defaults-white.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.100:4443/css/ncp.css
[Fri Aug 20 12:07:11.446372 2021] [authz_host:error] [pid 3400] [client 192.168.1.139:57174] AH01753: access check of 'localhost' to /img/settings-white.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.100:4443/css/ncp.css
[Fri Aug 20 12:07:11.447063 2021] [authz_host:error] [pid 3452] [client 192.168.1.139:57173] AH01753: access check of 'localhost' to /img/info-white.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.100:4443/css/ncp.css
[Fri Aug 20 12:07:11.447599 2021] [authz_host:error] [pid 3395] [client 192.168.1.139:57172] AH01753: access check of 'localhost' to /img/files.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.100:4443/css/ncp.css
[Fri Aug 20 12:07:11.452993 2021] [authz_host:error] [pid 3472] [client 192.168.1.139:57176] AH01753: access check of 'localhost' to /img/wizard.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.100:4443/css/ncp.css
[Fri Aug 20 12:07:11.486341 2021] [authz_host:error] [pid 3447] [client 192.168.1.139:65000] AH01753: access check of 'localhost' to /ncp-output.php failed, reason: unable to get the remote host name
[Fri Aug 20 12:07:11.556237 2021] [authz_host:error] [pid 3452] [client 192.168.1.139:57173] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Fri Aug 20 12:07:11.784047 2021] [authz_host:error] [pid 3395] [client 192.168.1.139:57172] AH01753: access check of 'localhost' to /img/favicon.png failed, reason: unable to get the remote host name
[Fri Aug 20 12:07:19.696507 2021] [authz_host:error] [pid 3452] [client 192.168.1.139:57173] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Fri Aug 20 12:07:19.719465 2021] [authz_host:error] [pid 3452] [client 192.168.1.139:57173] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
find: '/etc/letsencrypt/live/': No such file or directory
Sorry, user www-data is not allowed to execute '/usr/bin/php /var/www/nextcloud/occ maintenance:mode' as www-data on nextcloudpi.
Database logs
2021-08-20 11:23:05 0 [Note] InnoDB: Uses event mutexes
2021-08-20 11:23:05 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-08-20 11:23:05 0 [Note] InnoDB: Number of pools: 1
2021-08-20 11:23:05 0 [Note] InnoDB: Using generic crc32 instructions
2021-08-20 11:23:05 0 [Note] InnoDB: Initializing buffer pool, total size = 896M, instances = 1, chunk size = 128M
2021-08-20 11:23:05 0 [Note] InnoDB: Completed initialization of buffer pool
2021-08-20 11:23:05 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2021-08-20 11:23:05 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2021-08-20 11:23:05 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2021-08-20 11:23:05 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2021-08-20 11:23:05 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2021-08-20 11:23:05 0 [Note] InnoDB: 10.3.29 started; log sequence number 2422086479; transaction id 13497769
2021-08-20 11:23:05 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2021-08-20 11:23:05 0 [Note] Plugin 'FEEDBACK' is disabled.
2021-08-20 11:23:05 0 [Note] Server socket created on IP: '127.0.0.1'.
2021-08-20 11:23:05 0 [Note] Reading of all Master_info entries succeeded
2021-08-20 11:23:05 0 [Note] Added new Master_info '' to hash table
2021-08-20 11:23:05 0 [Note] /usr/sbin/mysqld: ready for connections.
Version: '10.3.29-MariaDB-0+deb10u1' socket: '/run/mysqld/mysqld.sock' port: 3306 Raspbian 10
2021-08-20 11:23:06 0 [Note] InnoDB: Buffer pool(s) load completed at 210820 11:23:06
Nextcloud logs
{"reqId":"YR@DDalcjiizM-qlhboEJQAAAAw","level":0,"time":"2021-08-20T10:25:17+00:00","remoteAddr":"192.168.1.139","user":"ncp-admin","app":"files_external","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0","version":"21.0.4.1"}
{"reqId":"YR@DDalcjiizM-qlhboEJQAAAAw","level":0,"time":"2021-08-20T10:25:17+00:00","remoteAddr":"192.168.1.139","user":"ncp-admin","app":"files_sharing","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0","version":"21.0.4.1"}
{"reqId":"YR@DK7tj5AxenPG-s8uQbgAAAAQ","level":0,"time":"2021-08-20T10:25:47+00:00","remoteAddr":"192.168.1.139","user":"ncp-admin","app":"contacts","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0","version":"21.0.4.1"}
{"reqId":"YR@DK7tj5AxenPG-s8uQbgAAAAQ","level":0,"time":"2021-08-20T10:25:47+00:00","remoteAddr":"192.168.1.139","user":"ncp-admin","app":"files_external","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0","version":"21.0.4.1"}
{"reqId":"YR@DK7tj5AxenPG-s8uQbgAAAAQ","level":0,"time":"2021-08-20T10:25:47+00:00","remoteAddr":"192.168.1.139","user":"ncp-admin","app":"files_sharing","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0","version":"21.0.4.1"}
{"reqId":"YR@DSbOjl6VksEltm3Ln4AAAAAM","level":0,"time":"2021-08-20T10:26:17+00:00","remoteAddr":"192.168.1.139","user":"ncp-admin","app":"contacts","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0","version":"21.0.4.1"}
{"reqId":"YR@DSbOjl6VksEltm3Ln4AAAAAM","level":0,"time":"2021-08-20T10:26:17+00:00","remoteAddr":"192.168.1.139","user":"ncp-admin","app":"files_external","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0","version":"21.0.4.1"}
{"reqId":"YR@DSbOjl6VksEltm3Ln4AAAAAM","level":0,"time":"2021-08-20T10:26:17+00:00","remoteAddr":"192.168.1.139","user":"ncp-admin","app":"files_sharing","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0","version":"21.0.4.1"}
{"reqId":"YR@DZygPOBiKUT@5FK5XGAAAAAk","level":0,"time":"2021-08-20T10:26:47+00:00","remoteAddr":"192.168.1.139","user":"ncp-admin","app":"contacts","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0","version":"21.0.4.1"}
{"reqId":"YR@DZygPOBiKUT@5FK5XGAAAAAk","level":0,"time":"2021-08-20T10:26:47+00:00","remoteAddr":"192.168.1.139","user":"ncp-admin","app":"files_external","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0","version":"21.0.4.1"}
{"reqId":"YR@DZygPOBiKUT@5FK5XGAAAAAk","level":0,"time":"2021-08-20T10:26:47+00:00","remoteAddr":"192.168.1.139","user":"ncp-admin","app":"files_sharing","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0","version":"21.0.4.1"}
{"reqId":"YR@DhUAQiHrirfKnHHqLugAAAAA","level":0,"time":"2021-08-20T10:27:17+00:00","remoteAddr":"192.168.1.139","user":"ncp-admin","app":"contacts","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0","version":"21.0.4.1"}
{"reqId":"YR@DhUAQiHrirfKnHHqLugAAAAA","level":0,"time":"2021-08-20T10:27:17+00:00","remoteAddr":"192.168.1.139","user":"ncp-admin","app":"files_external","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0","version":"21.0.4.1"}
{"reqId":"YR@DhUAQiHrirfKnHHqLugAAAAA","level":0,"time":"2021-08-20T10:27:17+00:00","remoteAddr":"192.168.1.139","user":"ncp-admin","app":"files_sharing","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0","version":"21.0.4.1"}
{"reqId":"rzv8cC8njfkC4HCGnIvg","level":0,"time":"2021-08-20T10:27:18+00:00","remoteAddr":"","user":"--","app":"contacts","method":"","url":"--","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"21.0.4.1"}
{"reqId":"rzv8cC8njfkC4HCGnIvg","level":0,"time":"2021-08-20T10:27:18+00:00","remoteAddr":"","user":"--","app":"files_external","method":"","url":"--","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"21.0.4.1"}
{"reqId":"rzv8cC8njfkC4HCGnIvg","level":0,"time":"2021-08-20T10:27:18+00:00","remoteAddr":"","user":"--","app":"files_sharing","method":"","url":"--","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"21.0.4.1"}
{"reqId":"WAQl7fQJ8oTGNPAqezqh","level":0,"time":"2021-08-20T10:27:26+00:00","remoteAddr":"","user":"--","app":"contacts","method":"","url":"--","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"21.0.4.1"}
{"reqId":"WAQl7fQJ8oTGNPAqezqh","level":0,"time":"2021-08-20T10:27:26+00:00","remoteAddr":"","user":"--","app":"files_external","method":"","url":"--","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"21.0.4.1"}
{"reqId":"WAQl7fQJ8oTGNPAqezqh","level":0,"time":"2021-08-20T10:27:26+00:00","remoteAddr":"","user":"--","app":"files_sharing","method":"","url":"--","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"21.0.4.1"}