# 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:** 1\
**Showing post:** 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

---

_[View the full topic](https://meta.discourse.org/t/failed-upgrade-docker-manager/289316)._
