I’m trying to debug a charm action for my nextcloud charm.
How to debug is referred to here in the docs: Juju - The simplest way to deploy and maintain applications in the cloud
Following the docs don’t help me much.
The documentation just say “run debug-hooks” but I’m faced with a serious uphill:
- I don’t even know where to start given the documentation. The documentation is extremely thin here.
- In the documentation link above, it references Debugging charm hooks which doesn’t cover debugging actions at all.
- When my action fails, I get the most cryptic error message which leads me nowhere.
$ juju run-action nextcloud/0 maintenance mod=“on” --wait
ERROR validation failed: (root).mod : must be of type string, given true
Debugging … anyone that has a better description on how I can debug my action than the documentation provides?