Alternative way of destroying a controller


Hello ,

I have deployed my charm on my local controller and the status is showing as error , Then I have made some changes on my hooks file to solve that error , what’s the ideal way to re-deploy this charm on the same controller without having to destroy it again and re-deploy everything ?

I run the same deploy command and the status still showing as error , so I thought it might need to be destroyed every time if i made any changes…

please advice on above
thank you


The command that you’re probably looking for is:

juju upgrade-charm

For usage instructions, use:

juju help upgrade-charm

Also, it is also possible to update a charm’s status “on the fly”. If you SSH into the machine (perhaps via juju ssh), then fix the underlying issue, you can return to your original shell and execute:

juju resolve <unit>