Unable to update v1.6 -> v1.8 - the updater doesn't like my miniconda3 installation in`a0/usr`
The
[a0-self-update] Update flow failed: [Errno 2] No such file or directory: '/a0/usr/miniconda3/pkgs/libasprintf-devel-0.25.1-hf2ab22a_0/lib/libasprintf.so'
entry below.
note: a0/usr is volume-mapped in my docker-compose.yml
Complete updater log from docker:
[a0-self-update] Consumed update file at /exe/a0-self-update.yaml
[a0-self-update] Trigger file content:
2026-04-08 20:58:57,858 INFO success: run_ui entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-04-08 20:58:57,858 INFO success: run_ui entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
[a0-self-update] $ git -C /a0 stash push --include-untracked --message a0-self-update rollback snapshot 2026-04-08T20:58:58.672594Z
[a0-self-update] stdout:
[a0-self-update] Saved local tracked/untracked changes into stash@{0}. Ignored files stay in place and are not stashed.
[a0-self-update] Restoring pre-update repository state after error: [Errno 2] No such file or directory: '/a0/usr/miniconda3/pkgs/libasprintf-devel-0.25.1-hf2ab22a_0/lib/libasprintf.so'
[a0-self-update] Restoring repository state to commit bc274e5d8057f3868c8fc0e6ff8fd938c1737098
[a0-self-update] $ git -C /a0 checkout -B main bc274e5d8057f3868c8fc0e6ff8fd938c1737098
[a0-self-update] stdout:
[a0-self-update] stderr:
[a0-self-update] $ git -C /a0 clean -ffd
[a0-self-update] $ git -C /a0 stash apply --index stash@{0}
[a0-self-update] stdout:
[a0-self-update] $ git -C /a0 stash drop stash@{0}
[a0-self-update] stdout:
[a0-self-update] Update flow failed: [Errno 2] No such file or directory: '/a0/usr/miniconda3/pkgs/libasprintf-devel-0.25.1-hf2ab22a_0/lib/libasprintf.so'
[a0-self-update] Running prepare.py before UI start
[a0-self-update] $ /opt/venv-a0/bin/python /a0/prepare.py --dockerized=true
[a0-self-update] stdout:
[a0-self-update] Starting Agent Zero UI
Initializing Python framework...
Checking for data migration...
Preparing web server runtime...
Initializing Agent Zero components...
Starting UI/API server...
What should I do to get this upgrade running?
This seems like a fundamental flaw in the updater: it should not care at all about what I have in my usr folder (beyond core a0 components/dirs that are to be updated).
Is it trying to upgrade my miniconda installation aside from agent-zero itself or something?
BTW, the libasprintf.so is a failed symlink (target file doesn't exist, dunno why) - the funny bit is that if miniconda doesn't care (works fine), why should a0 updater?
Alright, I've managed to upgrade after I temporarily moved my miniconda3 dir out of a0/usr for the time of upgrade.
Still, the bug stands - a0 updater shouldn't care.
Now every time I need to upgrade I'll have to move my miniconda dir for the time of upgrading.
Closing due to inactivity of 90 days.