# Failed upgrade: docker manager

**URL:** https://meta.discourse.org/t/failed-upgrade-docker-manager/289316
**Category:** Support
**Created:** [December 20, 2023, 11:18am UTC](https://meta.discourse.org/t/failed-upgrade-docker-manager/289316 "2023-12-20T11:18:38Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![ChrisBeach](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrisbeach/32/214628_2.png) [@ChrisBeach](https://meta.discourse.org/u/ChrisBeach)
#### Post date: [December 20, 2023, 11:18am UTC](https://meta.discourse.org/t/failed-upgrade-docker-manager/289316/1 "2023-12-20T11:18:38Z")

</div>

I’ve just tried upgrading Docker Manager, and it failed with the following:

```plaintext
$ cd /var/www/discourse/plugins/docker_manager && git fetch --tags --prune-tags --prune --force
$ cd /var/www/discourse/plugins/docker_manager && git reset --hard HEAD@{upstream}
HEAD is now at 4c550d5 FIX: Hide this plugin from the plugin list (#199)

...

/var/www/discourse/lib/discourse_ip_info.rb:48:in `mmdb_download': undefined method `path' for nil:NilClass (NoMethodError)

    filename = File.basename(gz_file.path)
                                    ^^^^^
	from /var/www/discourse/lib/tasks/maxminddb.rake:67:in `block (3 levels) in <main>'
	from /var/www/discourse/lib/tasks/maxminddb.rake:65:in `each'
	from /var/www/discourse/lib/tasks/maxminddb.rake:65:in `block (2 levels) in <main>'
Docker Manager: FAILED TO UPGRADE
#<RuntimeError: RuntimeError>
```

I’d appreciate any assistance you can give

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [December 20, 2023, 11:38am UTC](https://meta.discourse.org/t/failed-upgrade-docker-manager/289316/2 "2023-12-20T11:38:11Z")

</div>

Could you try a command line rebuild?

---

<div class="post-metadata">

### Author: ![ChrisBeach](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrisbeach/32/214628_2.png) [@ChrisBeach](https://meta.discourse.org/u/ChrisBeach)
#### Post date: [December 20, 2023, 11:38am UTC](https://meta.discourse.org/t/failed-upgrade-docker-manager/289316/3 "2023-12-20T11:38:50Z")

</div>

I’m nervous to try that, as it’ll take down the whole forum if it fails, will it not?

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [December 20, 2023, 11:39am UTC](https://meta.discourse.org/t/failed-upgrade-docker-manager/289316/4 "2023-12-20T11:39:58Z")

</div>

It will, though you could restart the pre-rebuild version with `./launcher start app`.

I think your maxmind database needs a command line rebuild to renew itself.

---

<div class="post-metadata">

### Author: ![ChrisBeach](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrisbeach/32/214628_2.png) [@ChrisBeach](https://meta.discourse.org/u/ChrisBeach)
#### Post date: [December 20, 2023, 11:57am UTC](https://meta.discourse.org/t/failed-upgrade-docker-manager/289316/5 "2023-12-20T11:57:53Z")

</div>

a `./launcher rebuild app` fixed it for me - thank you @JammyDodger 👍

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [January 19, 2024, 11:58am UTC](https://meta.discourse.org/t/failed-upgrade-docker-manager/289316/6 "2024-01-19T11:58:13Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
