# Problem with api version when updating docker manager

**URL:** <https://meta.discourse.org/t/problem-with-api-version-when-updating-docker-manager/291548>\
**Category:** Bug\
**Tags:** docker-manager\
**Created:** [January 13, 2024, 9:39pm UTC](https://meta.discourse.org/t/problem-with-api-version-when-updating-docker-manager/291548 "2024-01-13T21:39:33Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)\
**Post date:** [January 13, 2024, 10:05pm UTC](https://meta.discourse.org/t/problem-with-api-version-when-updating-docker-manager/291548/3 "2024-01-13T22:05:49Z")

</div>

Hello 👋

I think this happens here:

The Plugin Api version changed here to `1.24.0`

> <https://github.com/discourse/discourse/blob/731699a7cfcfdd317c5ce08a21dbf4cf020bbc8d/app/assets/javascripts/discourse/app/lib/plugin-api.js#L149>

And the recent update in Docker Manager is use this plugin api version.

> <https://github.com/discourse/docker_manager/blob/5a0499af2911bcda043c613cbf7048158114725b/admin/assets/javascripts/discourse/initializers/admin-sidebar-upgrade.js#L8>

So you have to update Discourse too because Docker Manager use plugin api version which higher than Discourse used plugin api version before update and Docker Manager will break.

The problem with this in admin you can only update first Docker Manager so rebuild required in this case.

---

_[View the full topic](https://meta.discourse.org/t/problem-with-api-version-when-updating-docker-manager/291548)._
