Global Feed Post Login
Replying to Avatar ypout

nostr:npub1zk6u7mxlflguqteghn8q7xtu47hyerruv6379c36l8lxzzr4x90q0gl6ef

Hi Roland, I just updated by Pi Zero AlbyHub to the latest version, but it fails to start properly. I can connect via SSH but can't connect to the albyhub.local. The logs seem to suggest an issue binding to port 80.

Jan 15 18:46:00 albyhub systemd[1]: Started albyhub.service - Alby Hub.

Jan 15 18:46:01 albyhub albyhub[8497]: time="2025-01-15T18:46:01+13:00" level=info msg="AlbyHub Starting in HTTP mode"

Jan 15 18:46:01 albyhub albyhub[8497]: {"level":"info","msg":"AlbyHub v1.13.0","time":"2025-01-15T18:46:01+13:00"}

Jan 15 18:46:01 albyhub albyhub[8497]: {"error":"listen tcp :80: bind: permission denied","level":"error","msg":"echo server failed to start","time":"2025-01-15T18:46:01+13:00"}

Any ideas? Is it possible to roll back to the previous release?

Avatar
Roland 11mo ago 💬 1

I think the script was updated and you need to give the hub access to bind port 80. No need to roll back.

sudo setcap CAP_NET_BIND_SERVICE=+eip /opt/albyhub/bin/albyhub

See https://github.com/getAlby/hub/blob/master/scripts/pi-arm/install.sh

Reply to this note

Please Login to reply.

Discussion

Avatar
ypout 11mo ago

Thanks, that's got it running again, but I have to connect via the ip address, .local won't connect. I'll look into that layer. Thanks again Roland for your incrediblely speedy response.

Thread collapsed