Docker Manager "Reset Upgrade" Button is broken

Earlier today I started an update of a plugin (discourse-assign) and all it pritned was the header (“this can take a while”). after 10 minutes it still said the same so I tried the reset button, which didn’t do anything. Figuring I might as well do a rebuild I did the app rebuild but it’s still on that status:

And reset doesn’t work either. How can I manually reset this?

You could nuke all you upgrade keys I guess…

./launcher enter app
rails c
$redis.keys('upgrade:*').each{|key| $redis.del key }

I am confused though cause when you click on currently upgrading for assign it should allow you to reset it per:

https://github.com/discourse/docker_manager/blob/master/lib/docker_manager/git_repo.rb#L17

So perhaps this is failing and there is something in the logs?

1 Like

This is in the javascript console:

TypeError: n.modal is not a function[Meer info]
docker-manager-vendor-0f40b47ee049673f662da49945b5c9a4ab51ef403d03c049cd7c76941f785b2d.js:22:8124
e/m.dialog
https://talk.remobjects.com/assets/docker-manager-vendor-0f40b47ee049673f662da49945b5c9a4ab51ef403d03c049cd7c76941f785b2d.js:22:8124
e/m.confirm
https://talk.remobjects.com/assets/docker-manager-vendor-0f40b47ee049673f662da49945b5c9a4ab51ef403d03c049cd7c76941f785b2d.js:22:4783
resetUpgrade
https://talk.remobjects.com/assets/docker-manager-app-28a9ed6a46d012e2e86f1d8ba50ef6fbc706b0c95ea7d4339e617b460cbe8a2b.js:1:4066
send
https://talk.remobjects.com/assets/docker-manager-vendor-0f40b47ee049673f662da49945b5c9a4ab51ef403d03c049cd7c76941f785b2d.js:12:26045
l</e.prototype.handler/</<
https://talk.remobjects.com/assets/docker-manager-vendor-0f40b47ee049673f662da49945b5c9a4ab51ef403d03c049cd7c76941f785b2d.js:7:28273
d
https://talk.remobjects.com/assets/docker-manager-vendor-0f40b47ee049673f662da49945b5c9a4ab51ef403d03c049cd7c76941f785b2d.js:9:31369
l</e.prototype.handler/<
https://talk.remobjects.com/assets/docker-manager-vendor-0f40b47ee049673f662da49945b5c9a4ab51ef403d03c049cd7c76941f785b2d.js:7:28213
run
https://talk.remobjects.com/assets/docker-manager-vendor-0f40b47ee049673f662da49945b5c9a4ab51ef403d03c049cd7c76941f785b2d.js:5:22829
l
https://talk.remobjects.com/assets/docker-manager-vendor-0f40b47ee049673f662da49945b5c9a4ab51ef403d03c049cd7c76941f785b2d.js:10:26035
l</e.prototype.handler
https://talk.remobjects.com/assets/docker-manager-vendor-0f40b47ee049673f662da49945b5c9a4ab51ef403d03c049cd7c76941f785b2d.js:7:27902
setupHandler/<
https://talk.remobjects.com/assets/docker-manager-vendor-0f40b47ee049673f662da49945b5c9a4ab51ef403d03c049cd7c76941f785b2d.js:14:13806
dispatch
https://talk.remobjects.com/assets/docker-manager-vendor-0f40b47ee049673f662da49945b5c9a4ab51ef403d03c049cd7c76941f785b2d.js:4:10891
add/g.handle
https://talk.remobjects.com/assets/docker-manager-vendor-0f40b47ee049673f662da49945b5c9a4ab51ef403d03c049cd7c76941f785b2d.js:4:8ball:
2 Likes

This looks like some sort of bug in docker manager to me.

Do you not even get to the more info modal ?

Confirmed Reset Upgrade button is broken.

We will get this sorted in the next couple of weeks.

6 Likes

thanks. In the mean time I’ll use your trick above then to get around this.

2 Likes

Fixed in:

https://github.com/discourse/docker_manager/commit/94c583ba2de816b203be7726282f70ba6a8ef419

Thanks for reporting @carlokok :smiley:

8 Likes