Installation Loop - pyenv git

Hi there, trying to install a fresh Apis Instance fails with

2024-12-12 11:00:29,622 p=584364 u=root n=ansible | TASK [/usr/local/apnscp/resources/playbooks/roles/software/pyenv/../pyenv-support : Clone pyenv repository] ***
2024-12-12 11:00:30,332 p=584364 u=root n=ansible | fatal: [localhost]: FAILED! => {"changed": false, "cmd": "/bin/git checkout --force v1.2.4", "msg": "Failed to checkout v1.2.4", "rc": 1, "stderr": "error: pathspec 'v1.2.4' did not match any file(s) known to git\n", "stderr_lines": ["error: pathspec 'v1.2.4' did not match any file(s) known to git"], "stdout": "", "stdout_lines": []}
2024-12-12 11:00:30,337 p=584364 u=root n=ansible | PLAY RECAP *********************************************************************
2024-12-12 11:00:30,338 p=584364 u=root n=ansible | localhost                  : ok=1587 changed=11   unreachable=0    failed=1    skipped=719  rescued=0    ignored=0
2024-12-12 11:00:34,742 p=595718 u=root n=ansible | PLAY [localhost] ***************************************************************

Changing /usr/local/apnscp/resources/playbooks/roles/software/pyenv-support/defaults/main.yml back to

- pyenv_repo: https://github.com/apisnetworks/pyenv
+ pyenv_repo: https://github.com/pyenv/pyenv

allows the installation to finish but is obviously not as intended.

1 Like

Missing tags during upstream clone. Thanks for the heads up, resolved.