Thanks to visit codestin.com
Credit goes to github.com

Skip to content

1.7.1

Choose a tag to compare

@nesitor nesitor released this 15 Jul 12:42
· 63 commits to main since this release

We are excited to announce our release for aleph-vm in version 1.7.1!

This update brings an important bug fix solve an issue with HAProxy and IPv6 connectivity.

What's Changed

Full Changelog: 1.7.0...1.7.1

How to upgrade

1. Upgrade the packages

This part did not change, download and install the new package as usual.

On Debian 12 (Bookworm):

rm -f /opt/aleph-vm.debian-12.deb
wget -P /opt https://github.com/aleph-im/aleph-vm/releases/download/1.7.1/aleph-vm.debian-12.deb
apt install /opt/aleph-vm.debian-12.deb

On Ubuntu 22.04 (Jammy Jellyfish):

sudo rm -f /opt/aleph-vm.ubuntu-22.04.deb
sudo wget -P /opt https://github.com/aleph-im/aleph-vm/releases/download/1.7.1/aleph-vm.ubuntu-22.04.deb
sudo apt install /opt/aleph-vm.ubuntu-22.04.deb

On Ubuntu 24.04 (Noble Numbat):

sudo rm -f /opt/aleph-vm.ubuntu-24.04.deb
sudo wget -P /opt https://github.com/aleph-im/aleph-vm/releases/download/1.7.1/aleph-vm.ubuntu-24.04.deb
sudo apt install /opt/aleph-vm.ubuntu-24.04.deb

2. Migrate from Caddy to HAProxy Configuration (ONLY if the previous version installed is lowed or equal than 1.6.0)

If your server was previously configured with Caddy, you can migrate to the HAProxy + Certbot setup using the steps
below. This configuration supports HTTPS and provides a secure reverse-proxy setup. The existing Caddy setup will remain
intact until you have tested and verified the HAProxy setup. Once verified, you may optionally remove the Caddy
package.

Step 1: Stop the aleph-vm-supervisor Service

Before making changes, stop the aleph-vm-supervisor service managed by systemd to ensure a smooth migration process.

sudo systemctl stop aleph-vm-supervisor

Verify that the service has stopped:

sudo systemctl status aleph-vm-supervisor

Step 2: Stop Caddy Without Removing Its Configuration

Stop Caddy to prevent conflicts. Do not remove its configuration yet, so you can revert to Caddy if needed.

sudo systemctl stop caddy
sudo systemctl disable caddy

Check that Caddy is no longer running:

ps aux | grep caddy

Step 3: Install HAProxy

Follow this link with the instructions to install and setup HAProxy:
For Debian: https://docs.aleph.cloud/nodes/compute/installation/debian-12/#_4-install-a-reverse-proxy
For Ubuntu: https://docs.aleph.cloud/nodes/compute/installation/ubuntu-24.04/#_4-install-a-reverse-proxy

Alternatively, you can automate the installation using that script:

wget https://gist.githubusercontent.com/aliel/6051c2d573e53440f52777f247d5b735/raw/setup_haproxy.sh
chmod +x setup_haproxy.sh
./setup_haproxy.sh

3. Apply last HAProxy Configuration (ONLY if the previous version installed was equal to 1.7.0)

If your server was previously configured with last version, and you are having issues with metrics and IPv6, only apply last version configuration on HAProxy and restart it, this should solve the issue.

sudo mv etc/haproxy/haproxy-aleph.cfg /etc/haproxy/haproxy.cfg
sudo systemctl restart haproxy