Open janvlug opened 1 week ago
You can fix it on cli:
sudo systemctl status ncp-update-nc.service
sudo systemctl restart ncp-update-nc.service
Thanks. The instructions above worked.
For interested people, first I did this on the command line:
After that, I ran ncp_update_nextcloud in the web interface, and got this:
I'm not sure if there is still something that has to be fixed, or if this issue will not appear for others and can be closed. So I leave the issue open for now.
You can also reboot your server. I faced the same problem.
When trying to run nc-update-nextcloud from the web interface, I get:
System information
NextcloudPi diagnostics
``` NextcloudPi version v1.55.2 NextcloudPi image NextCloudPi_RaspberryPi_v1.51.3.img OS Debian GNU/Linux 12. 6.1.21-v8+ (aarch64) automount yes USB devices sda datadir /media/nextcloudpi_data/ncdata/data data in SD no data filesystem btrfs data disk usage 2.7T/5.3T rootfs usage 7.4G/59G swapfile /var/swap dbdir /media/USBdrive/ncdatabase Nextcloud check ok Nextcloud version 29.0.7.1 HTTPD service up PHP service up MariaDB service up Redis service up HPB service up Postfix service up Internet check ok Public IPv4 ***REMOVED SENSITIVE VALUE*** Public IPv6 ***REMOVED SENSITIVE VALUE*** Port 80 open Port 443 open IP ***REMOVED SENSITIVE VALUE*** Gateway ***REMOVED SENSITIVE VALUE*** Interface eth0 Certificates ***REMOVED SENSITIVE VALUE*** NAT loopback no Uptime 31days ```Nextcloud configuration
``` { "system": { "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": { "0": "localhost", "7": "nextcloudpi", "5": "nextcloudpi.local", "8": "nextcloudpi.lan", "3": "vlug.info", "11": "redacted", "1": "192.168.178.15", "2": "redacted.com", "14": "nextcloudpi" }, "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "29.0.7.1", "overwrite.cli.url": "https:\/\/vlug.info\/", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "", "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\/nextcloudpi_data\/ncdata\/data\/tmp", "mail_smtpmode": "smtp", "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\/nextcloudpi_data\/ncdata\/data\/nextcloud.log", "trusted_proxies": "***REMOVED SENSITIVE VALUE***", "loglevel": "2", "log_type": "file", "mysql.utf8mb4": true, "theme": "", "data-fingerprint": "1ffbe802b84316f94db84dfd10411753", "mail_sendmailmode": "smtp", "mail_smtpsecure": "ssl", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "465", "mail_smtpauth": 1, "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "maintenance_window_start": 3 } } ```HTTPd logs
``` [Thu Oct 10 15:32:00.846834 2024] [authz_host:error] [pid 4182203:tid 4182214] [remote 192.168.178.38:50720] AH01753: access check of 'localhost' to /img/nc-button.svg failed, reason: unable to get the remote host name, referer: https://nextcloudpi.local:4443/css/ncp.css [Thu Oct 10 15:32:00.874916 2024] [authz_host:error] [pid 4182203:tid 4182208] [remote 192.168.178.38:50720] AH01753: access check of 'localhost' to /ncp-output.php failed, reason: unable to get the remote host name [Thu Oct 10 15:32:00.885704 2024] [authz_host:error] [pid 4182203:tid 4182223] [remote 192.168.178.38:50720] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name [Thu Oct 10 15:32:00.887550 2024] [authz_host:error] [pid 4182203:tid 4182226] [remote 192.168.178.38:50720] AH01753: access check of 'localhost' to /img/settings-white.svg failed, reason: unable to get the remote host name, referer: https://nextcloudpi.local:4443/css/ncp.css [Thu Oct 10 15:32:01.329221 2024] [authz_host:error] [pid 4182203:tid 4182215] [remote 192.168.178.38:50720] AH01753: access check of 'localhost' to /img/favicon.png failed, reason: unable to get the remote host name [Thu Oct 10 15:32:01.518966 2024] [authz_host:error] [pid 4182203:tid 4182215] [remote 192.168.178.38:50720] AH01753: access check of 'localhost' to /img/favicon.png failed, reason: unable to get the remote host name [Thu Oct 10 15:32:19.196581 2024] [authz_host:error] [pid 4182203:tid 4182206] [remote 192.168.178.38:50720] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name [Thu Oct 10 15:32:19.421464 2024] [authz_host:error] [pid 4182203:tid 4182206] [remote 192.168.178.38:50720] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name [Thu Oct 10 15:32:20.232754 2024] [authz_host:error] [pid 4182203:tid 4182218] [remote 192.168.178.38:50720] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name [Thu Oct 10 15:32:20.237969 2024] [authz_host:error] [pid 4182203:tid 4182224] [remote 192.168.178.38:50720] AH01753: access check of 'localhost' to /img/download.svg failed, reason: unable to get the remote host name [Thu Oct 10 15:32:20.242142 2024] [authz_host:error] [pid 4182203:tid 4182216] [remote 192.168.178.38:50720] AH01753: access check of 'localhost' to /img/delete.svg failed, reason: unable to get the remote host name [Thu Oct 10 15:32:20.457154 2024] [authz_host:error] [pid 4182203:tid 4182216] [remote 192.168.178.38:50720] AH01753: access check of 'localhost' to /img/delete.svg failed, reason: unable to get the remote host name [Thu Oct 10 15:32:20.462392 2024] [authz_host:error] [pid 4182203:tid 4182224] [remote 192.168.178.38:50720] AH01753: access check of 'localhost' to /img/download.svg failed, reason: unable to get the remote host name [Thu Oct 10 15:32:20.503987 2024] [authz_host:error] [pid 4182203:tid 4182218] [remote 192.168.178.38:50720] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name [Thu Oct 10 15:32:34.718474 2024] [authz_host:error] [pid 4182203:tid 4182222] [remote 192.168.178.38:50720] AH01753: access check of 'localhost' to /img/info.svg failed, reason: unable to get the remote host name, referer: https://nextcloudpi.local:4443/css/ncp.css [Thu Oct 10 15:32:34.896784 2024] [authz_host:error] [pid 4182203:tid 4182222] [remote 192.168.178.38:50720] AH01753: access check of 'localhost' to /img/info.svg failed, reason: unable to get the remote host name, referer: https://nextcloudpi.local:4443/css/ncp.css [Thu Oct 10 15:32:36.491862 2024] [authz_host:error] [pid 4182203:tid 4182220] [remote 192.168.178.38:50720] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name [Thu Oct 10 15:32:36.670225 2024] [authz_host:error] [pid 4182203:tid 4182220] [remote 192.168.178.38:50720] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name [Thu Oct 10 15:35:23.872085 2024] [authz_host:error] [pid 4182203:tid 4182224] [remote 192.168.178.38:50720] AH01753: access check of 'localhost' to /img/red-circle.svg failed, reason: unable to get the remote host name, referer: https://nextcloudpi.local:4443/css/ncp.css [Thu Oct 10 15:35:24.049089 2024] [authz_host:error] [pid 4182203:tid 4182224] [remote 192.168.178.38:50720] AH01753: access check of 'localhost' to /img/red-circle.svg failed, reason: unable to get the remote host name, referer: https://nextcloudpi.local:4443/css/ncp.css ```Database logs
``` tail: cannot open '/var/log/mysql/*.log' for reading: No such file or directory ```Nextcloud logs
``` {"reqId":"Zwd7Qr5B2IfMLiXbU9LRWwAAhgU","level":2,"time":"2024-10-10T06:59:25+00:00","remoteAddr":"86.85.119.40","user":"--","app":"core","method":"OPTIONS","url":"/remote.php/webdav","message":"Login failed: 'janjr' (Remote IP: '86.85.119.40')","userAgent":"gnome-online-accounts/3.50.2 libsoup/3.4.4","version":"29.0.7.1","data":{"app":"core"}} {"reqId":"Zwd7pkF004GB1JTmWQEqBQAAAAs","level":3,"time":"2024-10-10T07:00:54+00:00","remoteAddr":"86.85.119.40","user":"janjr","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/user_status/api/v1/user_status?format=json","message":"unlink(/media/nextcloudpi_data/ncdata/data/appdata_ocrrxqnhospw/richdocuments/remoteData/discovery): No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#348","userAgent":"Mozilla/5.0 (Linux) mirall/3.13.2git (Nextcloud, fedora-6.10.6-200.fc40.x86_64 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"29.0.7.1","data":{"app":"PHP"}} {"reqId":"Zwd7pjkzU1KAwEmsJrd2mQAAAFY","level":3,"time":"2024-10-10T07:00:54+00:00","remoteAddr":"86.85.119.40","user":"janjr","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications?format=json","message":"unlink(/media/nextcloudpi_data/ncdata/data/appdata_ocrrxqnhospw/richdocuments/remoteData/capabilities): No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#348","userAgent":"Mozilla/5.0 (Linux) mirall/3.13.2git (Nextcloud, fedora-6.10.6-200.fc40.x86_64 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"29.0.7.1","data":{"app":"PHP"}} {"reqId":"Zwd74jkzU1KAwEmsJrd2oAAAAFI","level":3,"time":"2024-10-10T07:01:54+00:00","remoteAddr":"86.85.119.40","user":"janjr","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/user_status/api/v1/user_status?format=json","message":"unlink(/media/nextcloudpi_data/ncdata/data/appdata_ocrrxqnhospw/richdocuments/remoteData/discovery): No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#348","userAgent":"Mozilla/5.0 (Linux) mirall/3.13.2git (Nextcloud, fedora-6.10.6-200.fc40.x86_64 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"29.0.7.1","data":{"app":"PHP"}} {"reqId":"Zwd74jkzU1KAwEmsJrd2oAAAAFI","level":3,"time":"2024-10-10T07:01:54+00:00","remoteAddr":"86.85.119.40","user":"janjr","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/user_status/api/v1/user_status?format=json","message":"unlink(/media/nextcloudpi_data/ncdata/data/appdata_ocrrxqnhospw/richdocuments/remoteData/capabilities): No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#348","userAgent":"Mozilla/5.0 (Linux) mirall/3.13.2git (Nextcloud, fedora-6.10.6-200.fc40.x86_64 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"29.0.7.1","data":{"app":"PHP"}}