HPB service down

Dear all,

my problem seems to be similar to this one:

However, I could not solve it by the steps meintioned there.

Some days ago my cloud (NCP on Raspi 4) stopped working, android app sais “server is in maintenance mode” though it isn’t. Cloud is not accessible. I did not make any changes (!). My guess is that this is somehow connected to an automatic update/upgrade. My system info looks like this:

System Info
NextCloudPi version	v1.50.2
NextCloudPi image	NextCloudPi_11-27-20
OS	Debian GNU/Linux 11. 5.15.61-v8+ (aarch64)
automount	yes
USB devices	sda
datadir	/media/NextCloudPi/ncdata
data in SD	no
data filesystem	ext2/ext3
data disk usage	119G/916G
rootfs usage	2.8G/29G
swapfile	/media/NextCloudPi/swap
dbdir	/var/lib/mysql
Nextcloud check	ok
Nextcloud version	23.0.6.1
HTTPD service	up
PHP service	up
MariaDB service	up
Redis service	up
HPB service	down
Postfix service	up
Internet check	ok
public IPv4	***
public IPv6	not found
Port check 80	open (ipv4)
Port check 443	open (ipv4)
IP	****
gateway	****
Interface	enxb827eb194de2
certificates	***
NAT loopback	yes
Uptime	14min

What I have tried so far:
Apply all availble updates through the NCP web interface
Apply Bullseye update manually through SSH / Terminal (took quite some time, but was successful as far as I can tell)
Apply all availble updates through the NCP web interface AGAIN
Try the steps from above mentioned thread
Several reboots in between and at the end

Unfortunately it’s still the same: HPC service down.

I saw that on Github there were some hpb service fixes yesterday (GitHub - nextcloud/nextcloudpi: 📦 Build code for NextcloudPi: Raspberry Pi, Odroid, Rock64, Docker, curl installer...). I’m not quite sure if those are allready included in the v1.50.2? Should I just wait for some fix to be applied by automatic update? What can I do?

You might already know that I’m not a technnical expert, more an interested user. Especially linux terminal commmands are really hard for me to understand so what I can do is mainly copy - paste of them - sorry :frowning:

If you need further information I’ll be happy to provide that. Here are my logs:

Fri 30 Sep 06:25:02 BST 2022 - Running /etc/cron.daily/ncp-autoupdate...
[ nc-update-nc-apps-auto ]
checking for updates...
[ncp-update-nc]
NCP doesn't support Nextcloud versions greater than 23 with Debian 10 (Buster). Please run ncp-dist-upgrade.

[ nc-limits ] (Fri 30 Sep 08:40:05 BST 2022)
Using 715579392 for PHP max memory
Using 6 PHP threads
An unhandled exception has been thrown:
RedisException: No such file or directory in /var/www/nextcloud/lib/private/RedisFactory.php:132
Stack trace:
#0 /var/www/nextcloud/lib/private/RedisFactory.php(132): Redis->pconnect('/var/run/redis/...', 0, 0, '', 0, 0)
#1 /var/www/nextcloud/lib/private/RedisFactory.php(172): OC\RedisFactory->create()
#2 /var/www/nextcloud/lib/private/Memcache/Redis.php(46): OC\RedisFactory->getInstance()
#3 /var/www/nextcloud/lib/private/Memcache/Factory.php(120): OC\Memcache\Redis->__construct('6530327aab8927c...', '')
#4 /var/www/nextcloud/lib/private/Server.php(1080): OC\Memcache\Factory->createLocking('lock')
#5 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(160): OC\Server->OC\{closure}(Object(OC\Server))
#6 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container))
#7 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(127): Pimple\Container->offsetGet('OCP\\Lock\\ILocki...')
#8 /var/www/nextcloud/lib/private/ServerContainer.php(136): OC\AppFramework\Utility\SimpleContainer->query('OCP\\Lock\\ILocki...', false)
#9 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query('OCP\\Lock\\ILocki...')
#10 /var/www/nextcloud/lib/private/Server.php(2040): OC\AppFramework\Utility\SimpleContainer->get('OCP\\Lock\\ILocki...')
#11 /var/www/nextcloud/lib/private/Files/View.php(118): OC\Server->getLockingProvider()
#12 /var/www/nextcloud/lib/private/Server.php(439): OC\Files\View->__construct()
#13 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(160): OC\Server->OC\{closure}(Object(OC\Server))
#14 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container))
#15 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(127): Pimple\Container->offsetGet('OC\\Files\\Node\\H...')
#16 /var/www/nextcloud/lib/private/ServerContainer.php(136): OC\AppFramework\Utility\SimpleContainer->query('OC\\Files\\Node\\H...', false)
#17 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query('OC\\Files\\Node\\H...')
#18 /var/www/nextcloud/lib/private/Server.php(1403): OC\AppFramework\Utility\SimpleContainer->get('OC\\Files\\Node\\H...')
#19 /var/www/nextcloud/lib/base.php(594): OC\Server->boot()
#20 /var/www/nextcloud/lib/base.php(1089): OC::init()
#21 /var/www/nextcloud/console.php(48): require_once('/var/www/nextcl...')
#22 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
#23 {main}
System config value overwrite.cli.url set to string https://***.net/
System config value trusted_proxies => 11 set to string 127.0.0.1
System config value trusted_proxies => 12 set to string ::1
System config value trusted_proxies => 13 set to string ***.net
System config value trusted_proxies => 14 set to string ***
✓ redis is configured
✓ push server is receiving redis messages
[ nc-update ] (Fri Sep 30 08:48:20 BST 2022)
Downloading updates
Performing updates
Running nc-autoupdate-nc
[ nc-autoupdate-nc ] (Fri Sep 30 08:48:41 BST 2022)
automatic Nextcloud updates enabled
automatic Nextcloud updates enabled

Update to bullseye available. Type 'sudo ncp-dist-upgrade' to upgrade
ERROR 1146 (42S02) at line 1: Table 'nextcloud.oc_group_user' doesn't exist
admin user not found
wall: cannot get tty name: Inappropriate ioctl for device
NextCloudPi updated to version v1.50.2

[ nc-limits ] (Fri 30 Sep 08:52:58 BST 2022)
Using 715579392 for PHP max memory
Using 6 PHP threads
An unhandled exception has been thrown:
RedisException: No such file or directory in /var/www/nextcloud/lib/private/RedisFactory.php:132
Stack trace:
#0 /var/www/nextcloud/lib/private/RedisFactory.php(132): Redis->pconnect('/var/run/redis/...', 0, 0, '', 0, 0)
#1 /var/www/nextcloud/lib/private/RedisFactory.php(172): OC\RedisFactory->create()
#2 /var/www/nextcloud/lib/private/Memcache/Redis.php(46): OC\RedisFactory->getInstance()
#3 /var/www/nextcloud/lib/private/Memcache/Factory.php(120): OC\Memcache\Redis->__construct('6530327aab8927c...', '')
#4 /var/www/nextcloud/lib/private/Server.php(1080): OC\Memcache\Factory->createLocking('lock')
#5 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(160): OC\Server->OC\{closure}(Object(OC\Server))
#6 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container))
#7 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(127): Pimple\Container->offsetGet('OCP\\Lock\\ILocki...')
#8 /var/www/nextcloud/lib/private/ServerContainer.php(136): OC\AppFramework\Utility\SimpleContainer->query('OCP\\Lock\\ILocki...', false)
#9 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query('OCP\\Lock\\ILocki...')
#10 /var/www/nextcloud/lib/private/Server.php(2040): OC\AppFramework\Utility\SimpleContainer->get('OCP\\Lock\\ILocki...')
#11 /var/www/nextcloud/lib/private/Files/View.php(118): OC\Server->getLockingProvider()
#12 /var/www/nextcloud/lib/private/Server.php(439): OC\Files\View->__construct()
#13 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(160): OC\Server->OC\{closure}(Object(OC\Server))
#14 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container))
#15 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(127): Pimple\Container->offsetGet('OC\\Files\\Node\\H...')
#16 /var/www/nextcloud/lib/private/ServerContainer.php(136): OC\AppFramework\Utility\SimpleContainer->query('OC\\Files\\Node\\H...', false)
#17 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query('OC\\Files\\Node\\H...')
#18 /var/www/nextcloud/lib/private/Server.php(1403): OC\AppFramework\Utility\SimpleContainer->get('OC\\Files\\Node\\H...')
#19 /var/www/nextcloud/lib/base.php(594): OC\Server->boot()
#20 /var/www/nextcloud/lib/base.php(1089): OC::init()
#21 /var/www/nextcloud/console.php(48): require_once('/var/www/nextcl...')
#22 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
#23 {main}
System config value overwrite.cli.url set to string https://***.net/
System config value trusted_proxies => 11 set to string 127.0.0.1
System config value trusted_proxies => 12 set to string ::1
System config value trusted_proxies => 13 set to string ***.net
System config value trusted_proxies => 14 set to string ***
✓ redis is configured
✓ push server is receiving redis messages
[ SSH ] (Fri Sep 30 09:08:37 BST 2022)
New password: Retype new password: passwd: password updated successfully
Synchronizing state of ssh.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable ssh
Created symlink /etc/systemd/system/sshd.service → /lib/systemd/system/ssh.service.
Created symlink /etc/systemd/system/multi-user.target.wants/ssh.service → /lib/systemd/system/ssh.service.
SSH enabled

[ unattended-upgrades ] (Fri 30 Sep 09:40:26 BST 2022)
Unattended upgrades active: yes (autoreboot true)

[ nc-limits ] (Fri 30 Sep 09:40:36 BST 2022)
Using 715579392 for PHP max memory
Using 6 PHP threads
Clearing opcache...
This can take some time. Please don't interrupt the process/close your browser tab.
Done.

[ nc-limits ] (Fri 30 Sep 09:43:12 BST 2022)
Using 715361280 for PHP max memory
System config value trusted_domains => 3 set to string ***.net
System config value overwrite.cli.url set to string https://***.net/
System config value trusted_proxies => 11 set to string 127.0.0.1
System config value trusted_proxies => 12 set to string ::1
System config value trusted_proxies => 13 set to string ***.net
System config value trusted_proxies => 14 set to string ***
Using 6 PHP threads
✓ redis is configured
✓ push server is receiving redis messages
Clearing opcache...
This can take some time. Please don't interrupt the process/close your browser tab.
Done.

[ nc-limits ] (Fri 30 Sep 09:54:34 BST 2022)
Using 715361280 for PHP max memory
System config value trusted_domains => 3 set to string ***.net
System config value overwrite.cli.url set to string https://***.net/
System config value trusted_proxies => 11 set to string 127.0.0.1
System config value trusted_proxies => 12 set to string ::1
System config value trusted_proxies => 13 set to string ***.net
System config value trusted_proxies => 14 set to string ***
Using 6 PHP threads
✓ redis is configured
✓ push server is receiving redis messages

[ nc-update ] (Fri Sep 30 09:58:43 BST 2022)
Downloading updates
Performing updates
Running nc-autoupdate-nc
[ nc-autoupdate-nc ] (Fri Sep 30 10:03:25 BST 2022)
automatic Nextcloud updates enabled
automatic Nextcloud updates enabled

NextCloudPi updated to version v1.50.2

[ nc-limits ] (Fri 30 Sep 10:07:50 BST 2022)
Using 715361280 for PHP max memory
System config value trusted_domains => 3 set to string ***.net
System config value overwrite.cli.url set to string https://***.net/
System config value trusted_proxies => 11 set to string 127.0.0.1
System config value trusted_proxies => 12 set to string ::1
System config value trusted_proxies => 13 set to string ***.net
System config value trusted_proxies => 14 set to string ***
Using 6 PHP threads
✓ redis is configured
✓ push server is receiving redis messages

Hey, I believe, this is your issue: After updating to v1.50.1 HPB service shows "down", nextcloud unreachable · Issue #1593 · nextcloud/nextcloudpi · GitHub

I’ll give more details later

Thanks, that’s probably the very same issue. I’ll follow the other thread. If I can provide any information to help solve this issue please let me know.