nextcloud / nextcloudpi

📦 Build code for NextcloudPi: Raspberry Pi, Odroid, Rock64, curl installer...
https://nextcloudpi.com
2.49k stars 295 forks source link

HPB service down #1336

Closed Jeanoo closed 3 years ago

Jeanoo commented 3 years ago

Hello I saw this today Capture d’écran 2021-09-17 094538 Nextcloudpi 1.39.1

theCalcaholic commented 3 years ago

Can you please connect to your instance over ssh, execute the following command and include its output (make sure to replace all IP addresses and urls with placeholders):

ncc notify_push:self-test
Jeanoo commented 3 years ago

I have copied the command in Putty, but I get the following error

There are no commands defined in the "notify_push" namespace.

I have a raspberypi 4

theCalcaholic commented 3 years ago

Oh, I see. HPB is only relevant for Nextcloud version 21 and higher. You can ignore that error as long as you didn't update your NC version

nephilim75 commented 2 years ago

One of my customers is facing the same issue. He is running NC 22.2.2 on a RasPi 4 and HPB service is still down.

theCalcaholic commented 2 years ago

@nephilim75 I have created a new issue, as this is a different bug: #1397

Jeanoo commented 2 years ago

I am in exactly the same situation

One of my customers is facing the same issue. He is running NC 22.2.2 on a RasPi 4 and HPB service is still down.

theCalcaholic commented 2 years ago

@Jeanoo @nephilim75 Please reboot ncp or run systemctl restart notify_push. A fix has been pushed to devel, so this shouldn't occur anymore in the future

Jeanoo commented 2 years ago

after executing the order, it's always the same HPB service down

per@raspberrypi:~ $ systemctl restart notify_push
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentification requise pour redémarrer « notify_push.service ».
Authenticating as: ,,, (pi)
Password:
==== AUTHENTICATION COMPLETE ===
per@raspberrypi:~ $
ovpc commented 2 years ago

@Jeanoo try again with

sudo systemctl restart notify_push

Also please use the forum if you need assistance or have questions.

Jeanoo commented 2 years ago

thank you for the help

always the same thing HPB service | down

theCalcaholic commented 2 years ago

@Jeanoo In that case, that's yet a different bug or configuration issue. Please use the forum (as recommended by @ovpc) to check that. Please include the output of ncp-report and ncc notify_push:self-test. If it turns out to be another bug, you can create a new issue and describe the bug in detail.

Jeanoo commented 2 years ago

this is very strange! i updated several apps, then ran sudo systemctl restart notify_push

and the HPB service is up

Jeanoo commented 2 years ago

I have again problems with HPB service sudo ncp-report <--! Paste this in GitHub report -->

NextCloudPi diagnostics ``` NextCloudPi version v1.48.1 OS Raspbian GNU/Linux 10. 5.10.103-v7l+ (armv7l) automount yes USB devices sda sdb datadir /media/myCloudDrive/ncdata data in SD no data filesystem btrfs data disk usage 453G/1.9T rootfs usage 5.5G/15G swapfile /var/swap dbdir /var/lib/mysql Nextcloud check ok Nextcloud version 22.0.0.11 HTTPD service up PHP service up MariaDB service up Redis service up HPB service down 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 2:40 ```
Nextcloud configuration ``` { "system": { "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": { "0": "localhost", "1": "192.168.1.123", "2": "213.55.240.212", "3": "site.site-site.com", "5": "nextcloudpi.local", "6": "nextcloudpi", "7": "nextcloudpi.lan", "8": "***********", "14": "******", "11": "************" }, "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "22.0.0.11", "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": "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\/myCloudDrive\/ncdata\/nextcloud.log", "loglevel": 0, "log_type": "file", "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***", "app_install_overwrite": [ "joplin", "bookmarks_fulltextsearch", "passman" ], "theme": "", "data-fingerprint": "***REMOVED SENSITIVE VALUE***", "trusted_proxies": "***REMOVED SENSITIVE VALUE***", "simpleSignUpLink.shown": false, "overwrite.cli.url": "https:\/\/site.site-site.com\/" } } ```
HTTPd logs ``` [Thu Jul 14 10:39:33.461702 2022] [authz_host:error] [pid 1012:tid 2830734336] [client 192.168.1.149:56477] AH01753: access check of 'localhost' to /img/defaults-white.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.123:4443/css/ncp.css [Thu Jul 14 10:39:33.462282 2022] [authz_host:error] [pid 1012:tid 2771944448] [client 192.168.1.149:56477] AH01753: access check of 'localhost' to /img/files.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.123:4443/css/ncp.css [Thu Jul 14 10:39:33.462336 2022] [authz_host:error] [pid 1012:tid 2780345344] [client 192.168.1.149:56477] AH01753: access check of 'localhost' to /img/info-white.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.123:4443/css/ncp.css [Thu Jul 14 10:39:33.464845 2022] [authz_host:error] [pid 1012:tid 2788746240] [client 192.168.1.149:56477] AH01753: access check of 'localhost' to /img/logs.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.123:4443/css/ncp.css [Thu Jul 14 10:39:33.466015 2022] [authz_host:error] [pid 1012:tid 2788746240] [client 192.168.1.149:56477] AH01753: access check of 'localhost' to /ncp-output.php failed, reason: unable to get the remote host name [Thu Jul 14 10:39:33.472191 2022] [authz_host:error] [pid 1012:tid 2780345344] [client 192.168.1.149:56477] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name [Thu Jul 14 10:39:43.055203 2022] [authz_host:error] [pid 1012:tid 2780345344] [client 192.168.1.149:56477] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name [Thu Jul 14 10:39:43.113876 2022] [authz_host:error] [pid 1012:tid 2780345344] [client 192.168.1.149:56477] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name [Thu Jul 14 10:39:43.113891 2022] [authz_host:error] [pid 1012:tid 2771944448] [client 192.168.1.149:56477] AH01753: access check of 'localhost' to /img/download.svg failed, reason: unable to get the remote host name [Thu Jul 14 10:39:43.114237 2022] [authz_host:error] [pid 1012:tid 2771944448] [client 192.168.1.149:56477] AH01753: access check of 'localhost' to /img/delete.svg failed, reason: unable to get the remote host name [Thu Jul 14 10:40:36.089267 2022] [authz_host:error] [pid 1012:tid 2755142656] [client 192.168.1.149:56477] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name [Thu Jul 14 10:40:36.161037 2022] [authz_host:error] [pid 1012:tid 2755142656] [client 192.168.1.149:56477] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name [Thu Jul 14 10:40:36.161349 2022] [authz_host:error] [pid 1012:tid 2755142656] [client 192.168.1.149:56477] AH01753: access check of 'localhost' to /index.php failed, reason: unable to get the remote host name [Thu Jul 14 10:40:36.232014 2022] [authz_host:error] [pid 1012:tid 2755142656] [client 192.168.1.149:56477] AH01753: access check of 'localhost' to /index.php failed, reason: unable to get the remote host name [Thu Jul 14 10:41:02.988960 2022] [authz_host:error] [pid 1012:tid 2755142656] [client 192.168.1.149:56477] AH01753: access check of 'localhost' to /js/ncp.js failed, reason: unable to get the remote host name, referer: https://192.168.1.123:4443/ [Thu Jul 14 10:41:03.290598 2022] [authz_host:error] [pid 1012:tid 2755142656] [client 192.168.1.149:56477] AH01753: access check of 'localhost' to /img/toggle.svg failed, reason: unable to get the remote host name [Thu Jul 14 10:41:03.290598 2022] [authz_host:error] [pid 1012:tid 2780345344] [client 192.168.1.149:56477] AH01753: access check of 'localhost' to /img/defaults.svg failed, reason: unable to get the remote host name [Thu Jul 14 10:41:03.310830 2022] [authz_host:error] [pid 1012:tid 2755142656] [client 192.168.1.149:56477] AH01753: access check of 'localhost' to /ncp-output.php failed, reason: unable to get the remote host name [Thu Jul 14 10:41:03.316944 2022] [authz_host:error] [pid 1012:tid 2780345344] [client 192.168.1.149:56477] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name [Thu Jul 14 10:41:04.072006 2022] [authz_host:error] [pid 1012:tid 2780345344] [client 192.168.1.149:56477] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name ```
Database logs ``` 2022-07-14 8:02:04 0 [Note] InnoDB: Uses event mutexes 2022-07-14 8:02:04 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2022-07-14 8:02:04 0 [Note] InnoDB: Number of pools: 1 2022-07-14 8:02:04 0 [Note] InnoDB: Using generic crc32 instructions 2022-07-14 8:02:05 0 [Note] InnoDB: Initializing buffer pool, total size = 2G, instances = 1, chunk size = 128M 2022-07-14 8:02:05 0 [Note] InnoDB: Completed initialization of buffer pool 2022-07-14 8:02:05 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2022-07-14 8:02:05 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2022-07-14 8:02:05 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2022-07-14 8:02:05 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2022-07-14 8:02:05 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2022-07-14 8:02:05 0 [Note] InnoDB: 10.3.34 started; log sequence number 43376644586; transaction id 111984353 2022-07-14 8:02:05 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2022-07-14 8:02:05 0 [Note] Plugin 'FEEDBACK' is disabled. 2022-07-14 8:02:05 0 [Note] Server socket created on IP: '127.0.0.1'. 2022-07-14 8:02:05 0 [Note] Reading of all Master_info entries succeeded 2022-07-14 8:02:05 0 [Note] Added new Master_info '' to hash table 2022-07-14 8:02:05 0 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.3.34-MariaDB-0+deb10u1' socket: '/run/mysqld/mysqld.sock' port: 3306 Raspbian 10 2022-07-14 8:02:39 0 [Note] InnoDB: Buffer pool(s) load completed at 220714 8:02:39 ```
Nextcloud logs ``` {"reqId":"Ys-WskYaMZwhgpRZTmYWLAAAABQ","level":0,"time":"2022-07-14T08:41:22+00:00","remoteAddr":"192.168.1.1","user":"--","app":"no app in context","method":"DELETE","url":"/remote.php/webdav/Joplin/locks/1_1_13afc93449414763a72c13ea59d16168.json","message":"Token is not valid: Token does not exist","userAgent":"Joplin/1.0","version":"22.0.0.11","exception":{"Exception":"OC\\Authentication\\Exceptions\\InvalidTokenException","Message":"Token does not exist","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Authentication/Token/Manager.php","line":146,"function":"getToken","class":"OC\\Authentication\\Token\\DefaultTokenProvider","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/User/Session.php","line":531,"function":"getToken","class":"OC\\Authentication\\Token\\Manager","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/User/Session.php","line":447,"function":"isTokenPassword","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Auth.php","line":129,"function":"logClientIn","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Auth/Backend/AbstractBasic.php","line":103,"function":"validateUserPass","class":"OCA\\DAV\\Connector\\Sabre\\Auth","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Auth.php","line":252,"function":"check","class":"Sabre\\DAV\\Auth\\Backend\\AbstractBasic","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Auth.php","line":154,"function":"auth","class":"OCA\\DAV\\Connector\\Sabre\\Auth","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php","line":182,"function":"check","class":"OCA\\DAV\\Connector\\Sabre\\Auth","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php","line":137,"function":"check","class":"Sabre\\DAV\\Auth\\Plugin","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"beforeMethod","class":"Sabre\\DAV\\Auth\\Plugin","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":456,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["beforeMethod:DELETE",[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/nextcloud/apps/dav/appinfo/v1/webdav.php","line":83,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/nextcloud/remote.php","line":166,"args":["/var/www/nextcloud/apps/dav/appinfo/v1/webdav.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Authentication/Token/DefaultTokenProvider.php","Line":159,"Previous":{"Exception":"OCP\\AppFramework\\Db\\DoesNotExistException","Message":"token does not exist","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Authentication/Token/DefaultTokenProvider.php","line":157,"function":"getToken","class":"OC\\Authentication\\Token\\DefaultTokenMapper","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/Authentication/Token/Manager.php","line":146,"function":"getToken","class":"OC\\Authentication\\Token\\DefaultTokenProvider","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/User/Session.php","line":531,"function":"getToken","class":"OC\\Authentication\\Token\\Manager","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/User/Session.php","line":447,"function":"isTokenPassword","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Auth.php","line":129,"function":"logClientIn","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Auth/Backend/AbstractBasic.php","line":103,"function":"validateUserPass","class":"OCA\\DAV\\Connector\\Sabre\\Auth","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Auth.php","line":252,"function":"check","class":"Sabre\\DAV\\Auth\\Backend\\AbstractBasic","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Auth.php","line":154,"function":"auth","class":"OCA\\DAV\\Connector\\Sabre\\Auth","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php","line":182,"function":"check","class":"OCA\\DAV\\Connector\\Sabre\\Auth","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php","line":137,"function":"check","class":"Sabre\\DAV\\Auth\\Plugin","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"beforeMethod","class":"Sabre\\DAV\\Auth\\Plugin","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":456,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["beforeMethod:DELETE",[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/nextcloud/apps/dav/appinfo/v1/webdav.php","line":83,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/nextcloud/remote.php","line":166,"args":["/var/www/nextcloud/apps/dav/appinfo/v1/webdav.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Authentication/Token/DefaultTokenMapper.php","Line":93},"CustomMessage":"Token is not valid: Token does not exist"}} {"reqId":"Ys-WsoNAXqUMhem8AVTfSQAAAEI","level":0,"time":"2022-07-14T08:41:22+00:00","remoteAddr":"192.168.1.149","user":"ncp","app":"files_sharing","method":"PROPFIND","url":"/remote.php/dav/files/ncp/Documents/===%20Luisa","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.0stable-Win64 (build 20211129) (Nextcloud, windows-10.0.19043 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"22.0.0.11"} {"reqId":"Ys-Ws4NAXqUMhem8AVTfSgAAAFI","level":0,"time":"2022-07-14T08:41:23+00:00","remoteAddr":"192.168.1.149","user":"ncp","app":"files_sharing","method":"PROPFIND","url":"/remote.php/dav/files/ncp/Documents/=====partitions","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.0stable-Win64 (build 20211129) (Nextcloud, windows-10.0.19043 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"22.0.0.11"} {"reqId":"Ys-Ws4NAXqUMhem8AVTfSwAAAFQ","level":0,"time":"2022-07-14T08:41:23+00:00","remoteAddr":"192.168.1.149","user":"ncp","app":"files_sharing","method":"PROPFIND","url":"/remote.php/dav/files/ncp/Documents/===Enfants","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.0stable-Win64 (build 20211129) (Nextcloud, windows-10.0.19043 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"22.0.0.11"} {"reqId":"Ys-Ws4NAXqUMhem8AVTfTAAAAFU","level":0,"time":"2022-07-14T08:41:23+00:00","remoteAddr":"192.168.1.149","user":"ncp","app":"files_sharing","method":"PROPFIND","url":"/remote.php/dav/files/ncp/Documents/Keepass","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.0stable-Win64 (build 20211129) (Nextcloud, windows-10.0.19043 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"22.0.0.11"} {"reqId":"Ys-Ws4NAXqUMhem8AVTfTQAAAFY","level":0,"time":"2022-07-14T08:41:23+00:00","remoteAddr":"192.168.1.149","user":"ncp","app":"files_sharing","method":"PROPFIND","url":"/remote.php/dav/files/ncp/Documents/Carlos","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.0stable-Win64 (build 20211129) (Nextcloud, windows-10.0.19043 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"22.0.0.11"} {"reqId":"lh6Xk8ja93XtvlwgvjR0","level":0,"time":"2022-07-14T08:41:37+00:00","remoteAddr":"","user":"--","app":"extract","method":"","url":"--","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"22.0.0.11"} {"reqId":"lh6Xk8ja93XtvlwgvjR0","level":0,"time":"2022-07-14T08:41:37+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":"22.0.0.11"} {"reqId":"lh6Xk8ja93XtvlwgvjR0","level":0,"time":"2022-07-14T08:41:37+00:00","remoteAddr":"","user":"--","app":"scanner","method":"","url":"--","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"22.0.0.11"} {"reqId":"twcPsjgGkz5x01WbmDHc","level":0,"time":"2022-07-14T08:41:38+00:00","remoteAddr":"","user":"--","app":"extract","method":"","url":"--","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"22.0.0.11"} {"reqId":"twcPsjgGkz5x01WbmDHc","level":0,"time":"2022-07-14T08:41:38+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":"22.0.0.11"} {"reqId":"twcPsjgGkz5x01WbmDHc","level":0,"time":"2022-07-14T08:41:38+00:00","remoteAddr":"","user":"--","app":"scanner","method":"","url":"--","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"22.0.0.11"} {"reqId":"NWR3THeBB7dPVl0Q0gpZ","level":0,"time":"2022-07-14T08:41:39+00:00","remoteAddr":"","user":"--","app":"extract","method":"","url":"--","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"22.0.0.11"} {"reqId":"NWR3THeBB7dPVl0Q0gpZ","level":0,"time":"2022-07-14T08:41:39+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":"22.0.0.11"} {"reqId":"NWR3THeBB7dPVl0Q0gpZ","level":0,"time":"2022-07-14T08:41:39+00:00","remoteAddr":"","user":"--","app":"scanner","method":"","url":"--","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"22.0.0.11"} {"reqId":"Ys-WyYNAXqUMhem8AVTfTgAAAFM","level":0,"time":"2022-07-14T08:41:46+00:00","remoteAddr":"192.168.1.149","user":"ncp","app":"files_sharing","method":"PROPFIND","url":"/remote.php/dav/files/ncp/Documents/===%20%C3%A9coles","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.0stable-Win64 (build 20211129) (Nextcloud, windows-10.0.19043 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"22.0.0.11"} {"reqId":"B61cG7n5YjW8pHxA119F","level":0,"time":"2022-07-14T08:41:46+00:00","remoteAddr":"","user":"--","app":"extract","method":"","url":"--","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"22.0.0.11"} {"reqId":"B61cG7n5YjW8pHxA119F","level":0,"time":"2022-07-14T08:41:46+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":"22.0.0.11"} {"reqId":"B61cG7n5YjW8pHxA119F","level":0,"time":"2022-07-14T08:41:46+00:00","remoteAddr":"","user":"--","app":"scanner","method":"","url":"--","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"22.0.0.11"} {"reqId":"Ys-WyoNAXqUMhem8AVTfTwAAAE0","level":0,"time":"2022-07-14T08:41:46+00:00","remoteAddr":"192.168.1.149","user":"ncp","app":"files_sharing","method":"PROPFIND","url":"/remote.php/dav/files/ncp/Documents/Images","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.0stable-Win64 (build 20211129) (Nextcloud, windows-10.0.19043 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"22.0.0.11"} ```

sudo ncc notify_push:self-test ✓ redis is configured 🗴 can't connect to push server: cURL error 6: Could not resolve host: raspberrypi (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://raspberrypi/push/test/cookie

theCalcaholic commented 2 years ago

@Jeanoo Can you run systemctl restart notify_push and check again? Currently, the HPB service sometimes doesn't survive nextcloud updates (it's on my list)

Jeanoo commented 2 years ago

thank you theCalcaholic this time did not correct the problem, it remains unavailable

TheShanMan commented 2 years ago

Same for me. I did an ncp-dist-upgrade, ran into an unmet dependency error with smbclient, solved it by following the steps mentioned here, and reran the ncp-dist-upgrade. I've rebooted a few times and run the systemctl command above prior to the most recent reboot. HPB service is down and the 80 and 443 ports are closed.

theCalcaholic commented 2 years ago

@Jeanoo Okay, I think I understand the issue. I'll work on a fix tomorrow

Jeanoo commented 2 years ago

Ok

mstegmaier commented 2 years ago

I'm also getting HPB service down. I'm using nextcloudpi v1.49.0 using docker. ncc notify_push:self-test reports the following

redis is configured
can't connect to push server: cURL error 6: Could not resolve host: 335f71e044c0 (see ...) for https://335f71e044c0/push/test/cookie

I have no idea where it got that 335f71e044c0 from. Can I fix the push server URL anywhere?

nacho-domatix commented 1 year ago

It happened to me after one day of fresh install. On LXC.

pfructuoso commented 1 year ago

I have the same issue. Everytime I checked HPB service was down. It looks like it´s related to php-json dependency to php8.2. I trid to run ncc but the PHP client by command line is 8.2 and I got the message This version of Nextcloud is not compatible with PHP>=8.2.<br/>You are currently running 8.2.0. I fixed it setting PHP 8.1 as php client sudo update-alternatives --set php /usr/bin/php8.1 After that everything is good.

I hope this could help others!

ZendaiOwl commented 1 year ago

Thank you

A fix for this is in the pipeline in the development branch, removing the deprecated php-json package, it's now included in the base php package instead and if the php-json package is installed apt update ends up installing some php 8.2 packages which are incompatible with the nextcloud version

nhat1980 commented 11 months ago

I disable Collabora Online - Built-in CODE Server (ARM64) and Nextcloud Office app then enable again. This problem then resolve