Skip to content

1.10.0

Choose a tag to compare

@aliel aliel released this 07 Mar 15:14
· 45 commits to main since this release

What's Changed

New features:

  • Implement VM backup on demand (#874)
  • Add Trixie (Debian 13) distribution (#882)

Changes

  • fix: supervisor exits with error code when port is in use by @shem-aleph in #868
  • fix: unhandled exception in API calls in the diagnostic VM by @odesenfans in #877
  • ci: group runtime jobs for faster CI execution by @odesenfans in #878
  • fix digitalocean error by @aliel in #883
  • ci: only build/test pull requests and main by @odesenfans in #879
  • ci: use ubuntu 24.04 for pytest workflow by @odesenfans in #880
  • fix: support explicit interface type for plain mode programs by @shem-aleph in #869
  • fix: mypy issues introduced by interface changes by @odesenfans in #887
  • CI: retry connecting to VM in case of failure by @odesenfans in #886
  • Migrate guest_api from aioredis to redis.asyncio by @aliel in #884
  • Fix: Preserve port forwarding mappings after restart/reboot by @nesitor in #870
  • Fix: reset stale HTTP session after asyncio.run() during startup by @aliel in #888
  • Fix: ensure port forwarding rules are recreated by @aliel in #881
  • fix: add IPv6 nftables forward rules to coexist with Docker by @odesenfans in #885
  • fix: launching function with immutable volume fails by @odesenfans in #875
  • Task: Clean orphan nft port redirect rules left from previous runs by @aliel in #889
  • internal: avoid downloading large file on each run of unit tests by @odesenfans in #890
  • Fix nft logging on non json output by @aliel in #891
  • fix: recreate port fwd on restart (on reinstall, restore) by @aliel in #892
  • Add migration for port forwarding changes by @aliel in #893

New Contributors

Full Changelog: 1.9.1...1.10.0

How to upgrade

1. Upgrade the packages

Auto detect

curl -fsSL https://raw.githubusercontent.com/aleph-im/aleph-vm/main/scripts/crn_upgrade.sh | sudo bash -s -- --version 1.10.0

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

On Debian 13 (Trixies):

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

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.10.0/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.10.0/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.10.0/aleph-vm.ubuntu-24.04.deb
sudo apt install /opt/aleph-vm.ubuntu-24.04.deb

2. Apply last HAProxy Configuration (if you already did the migration to HAProxy.)

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.

ln -fs /etc/haproxy/haproxy-aleph.cfg /etc/haproxy/haproxy.cfg
sudo systemctl restart haproxy
sudo systemctl restart aleph-vm-supervisor