Skip to content

Error: UPGRADE FAILED: post-upgrade hooks failed: 1 error occurred #31500

Closed Answered by Standard-IO
Standard-IO asked this question in Q&A / Help
Discussion options

You must be logged in to vote

I found related issues/questions (#28125, #27575, #28782) related to this topic but no one show a clear way how to debug this problem. Maybe because this is very related to k8s and helms charts.

The failing is a Job in k8s to init the postgres db.

We can change the way to install/upgrade the deployment to show more information by just add --debug and install the charts

helm upgrade --install --values my-values.yaml --debug superset superset/superset

After realice that the erros is a Job we can list the related pods by run the next command; a list will be deployed and we choose the job with the errors state:

kubectl get go -A
NAMESPACE              NAME                                     …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Standard-IO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant