docs: troubleshooting branch issue

Closes toolshed/docs.coopcloud.tech#272
This commit is contained in:
decentral1se 2025-04-22 12:08:13 +02:00
parent ceea72df37
commit 141eb762bc
Signed by untrusted user: decentral1se
GPG Key ID: 03789458B3D0C410

View File

@ -83,3 +83,21 @@ This appears to be an upstream issue for which we can't do much in `abra` to sol
## Caller path in debug stacktrace doesn't exist
Debug stacktrace currently begins with `/drone/` due to CI. Remove the initial `/drone/` and the path is relative to the abra project root.
## `failed to select default branch` error
General speaking, this error should happen in the > v0.10.x `abra` version series. You can try upgrading if you're on an old version: `abra upgrade`.
If you're really stuck, `rm -rf`'ing the relevant recipe repository and catalogue might do the trick.
```
$ abra app new foobar
FATA[0000] unable to validate recipe: failed to select default branch in /root/.abra/catalogue
$ rm -rf ~/.abra/recipes/foobar ~/.abra/catalogue
```
Otherwise, you can try manually cloning the recipe repository to the correct location.
```
$ git clone https://git.coopcloud.tech/coop-cloud/MyCoolRecipe.git ~/.abra/recipes
```