Improve error message for missing upgrade tag #608

Open
opened 2024-04-11 06:53:30 +00:00 by decentral1se · 5 comments
Owner

WARN[0011] no published versions in catalogue, trying local recipe repository
FATA[0011] '' is not supported (^$)

> WARN[0011] no published versions in catalogue, trying local recipe repository > FATA[0011] '' is not supported (^$)
decentral1se added the
bug
abra
labels 2024-04-11 06:53:30 +00:00

Hehe, I was meaning to file a more ambitious issue but you beat me to it... 👍

To relatively inexperienced Operators, such as yours truly, these can be a bit vague and unclear (as most technical error msgs are 🤣).
I can think of a two ways to better handle this:

🧠 1. Add to Docs site Abra -> Error Messages

We can have longer explanations in the CLI. I feel like the best place for these msgs is on the Abra -> Trouble or perhaps a new page called Error Messages

🤯 2. Provide links to docs in Terminal after Error Message

user@dev:~$ abra app upgrade sextant.eotl.supply
WARN[0007] no published versions in catalogue, trying local recipe repository 
FATA[0007] '' is not supported (^$)

To solve this read this help page: 

https://docs.coopcloud.tech/abra/trouble/#ERR-0007

It's probably not feasible for every real bug / stack trace... but known cases seems possible to me?!

Hehe, I was meaning to file a more ambitious issue but you beat me to it... 👍 To relatively inexperienced *Operators*, such as yours truly, these can be a bit vague and unclear (as most technical error msgs are 🤣). I can think of a two ways to better handle this: 🧠 **1. Add to Docs site `Abra -> Error Messages`** We can have longer explanations in the CLI. I feel like the best place for these msgs is on the [Abra -> Trouble](https://docs.coopcloud.tech/abra/trouble) or perhaps a new page called `Error Messages` 🤯 **2. Provide links to docs in Terminal after Error Message** ``` user@dev:~$ abra app upgrade sextant.eotl.supply WARN[0007] no published versions in catalogue, trying local recipe repository FATA[0007] '' is not supported (^$) To solve this read this help page: https://docs.coopcloud.tech/abra/trouble/#ERR-0007 ``` It's probably not feasible for every real bug / stack trace... but known cases seems possible to me?!
Member

But how's this particular error fixed? :P

But how's this particular error fixed? :P
Member

Meanwhile I had to undeploy + rm the app and recreate it with chaos mode, I couldn't upgrade even in chaos mode on 0.9.0-beta

Meanwhile I had to undeploy + rm the app and recreate it with chaos mode, I couldn't upgrade even in chaos mode on 0.9.0-beta
Owner

Can someone drop an output of -d from when this occurs? 🙏

Can someone drop an output of `-d` from when this occurs? 🙏
Member

I don't have it now, but it was here: https://git.coopcloud.tech/coop-cloud/abra/src/tag/0.9.0-beta/cli/app/upgrade.go#L203

Edit: So my guess was that chosenUpgrade was "" and tagcmp.Parse() was failing because of it, but I didn't do anything more than that

I don't have it now, but it was here: https://git.coopcloud.tech/coop-cloud/abra/src/tag/0.9.0-beta/cli/app/upgrade.go#L203 Edit: So my guess was that `chosenUpgrade` was `""` and `tagcmp.Parse()` was failing because of it, but I didn't do anything more than that
decentral1se added this to the Abra v0.10.1 project 2025-04-20 05:52:38 +00:00
decentral1se moved this to Backlog in Abra v0.10.1 on 2025-04-20 06:06:40 +00:00
decentral1se moved this to Backlog in Abra v0.10.1 on 2025-04-21 19:08:15 +00:00
decentral1se moved this to Backlog in Abra v0.10.1 on 2025-04-21 19:08:25 +00:00
decentral1se moved this to Backlog in Abra v0.10.1 on 2025-04-24 08:58:35 +00:00
decentral1se moved this to Backlog in Abra v0.10.1 on 2025-04-24 08:58:37 +00:00
decentral1se moved this to Backlog in Abra v0.10.1 on 2025-04-24 08:58:38 +00:00
decentral1se removed this from the Abra v0.10.1 project 2025-04-24 09:01:16 +00:00
decentral1se added this to the Abra "next" project 2025-04-24 19:37:35 +00:00
decentral1se moved this to Backlog in Abra "next" on 2025-05-11 08:24:52 +00:00
Sign in to join this conversation.
No description provided.