Upgrade order incorrect
❯ sudo sh -c "$(curl -sSL https://get.funkwhale.audio/upgrade.sh)"
[Beginning upgrade]
[1/4] Retrieving currently installed version from /srv/funkwhale/ansible/playbook.yml
[1/4] No target version specified, retrieving latest version from https://docs.funkwhale.audio/latest.txt
Upgrade summary:
- Current version: 1.1.4
- Target version: 1.2.9
- Upgrading may cause temporary downtime on your pod
Do you want to proceed with the upgrade? [YES/no]:
[2/4] Replacing current version number in /srv/funkwhale/ansible/playbook.yml…
[3/4] Upgrading ansible dependencies...
[3/4] Upgrading Funkwhale using ansible playbook in /srv/funkwhale/ansible...
Traceback (most recent call last):
File "/root/.local/bin/ansible-galaxy", line 32, in <module>
from ansible import context
ModuleNotFoundError: No module named 'ansible'
❯ sudo sh -c "$(curl -sSL https://get.funkwhale.audio/upgrade.sh)"
[Beginning upgrade]
[1/4] Retrieving currently installed version from /srv/funkwhale/ansible/playbook.yml
[1/4] No target version specified, retrieving latest version from https://docs.funkwhale.audio/latest.txt
Upgrade summary:
- Current version: 1.2.9
- Target version: 1.2.9
- Upgrading may cause temporary downtime on your pod
Do you want to proceed with the upgrade? [YES/no]:
[2/4] Replacing current version number in /srv/funkwhale/ansible/playbook.yml…
[3/4] Upgrading ansible dependencies...
[3/4] Upgrading Funkwhale using ansible playbook in /srv/funkwhale/ansible...
Traceback (most recent call last):
File "/root/.local/bin/ansible-galaxy", line 32, in <module>
from ansible import context
ModuleNotFoundError: No module named 'ansible'
The version number should only be upgraded after the upgrade was successful. Why ansible is missing (just as celery, looking at the logs), is still a mystery to me.