Upgrading a selfhosted AlbyHub instance on Linux

Steps to upgrade Alby Hub on Linux

cadayton

13. Februar 2025February 13, 2025 · 1 Min. Lesezeit1 min read

Upgrade Details#

Download current release and manifest files

Navigate to https://github.com/getAlby/hub/releases/tag/v1.13.0/
	
Download
albyhub-Server-Linux-x86_64.tar.bz2
manifest.txt
manifext.txt.asc
	
Copy the downloaded files to $HOME
mv $HOME/Downloads/albyhub-Server-Linux-x86_64.tar.bz2 $HOME
mv $HOME/Downloads/manifest.txt $HOME
mv $HOME/Downloads/manifest.txt.asc $HOME

Verify manifest signature & Checksum

Only need to import once
	
curl https://raw.githubusercontent.com/getalby/hub/master/scripts/keys/rolznz.asc | gpg --import
	
gpg --verify manifest.txt.asc manifest.txt
	gpg: Signature made Tue 07 Jan 2025 08:56:42 PM PST
	gpg:                using RSA key 5D92185938E6DBF893DCCC5BA5EABD8835092B08
	gpg: Good signature from "Roland Bewick <roland.bewick@gmail.com>" [unknown]
	gpg: WARNING: This key is not certified with a trusted signature!
	gpg:          There is no indication that the signature belongs to the owner.
	Primary key fingerprint: 5D92 1859 38E6 DBF8 93DC  CC5B A5EA BD88 3509 2B08
		
shasum -a 256 server-linux-x86_64.tar.bz2
	a75c03d241921611dfc428c413c4a2c2cef35bc6d1974839b688ef462604058d  server-linux-x86_64.tar.bz2
	
The above checksum should be referenced in the manifest.txt file
	
cat manifest.txt

Stop AlbyHub & Backup existing data directory & Binaries

systemctl stop albyhub

cp -r $HOME/.local/share/albyhub /media/veracrypt1/albyhub
cp $HOME/bin/albyhub $HOME/bin/albyhub172
cp -r $HOME/lib $HOME/lib172

Extract new release Binaries & Start AlbyHub

tar -xvjf albyhub-Server-Linux-x86_64.tar.bz2
	
./
./lib/
./lib/libglalby_bindings.so
./lib/libldk_node.so
./lib/libbreez_sdk_bindings.so
./bin/
./bin/albyhub

systemctl start albyhub

Navigate to http://localhost:9090

#AlbyHub

Written by

Comments

No comments yet. Start the conversation.