# Upgrading Discourse before upgrading plugins causes problems

**URL:** <https://meta.discourse.org/t/upgrading-discourse-before-upgrading-plugins-causes-problems/61781>\
**Category:** Feature\
**Created:** [Avril 28, 2017, 2:42 UTC](https://meta.discourse.org/t/upgrading-discourse-before-upgrading-plugins-causes-problems/61781 "2017-04-28T14:42:25Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [Avril 29, 2017, 3:01 UTC](https://meta.discourse.org/t/upgrading-discourse-before-upgrading-plugins-causes-problems/61781/10 "2017-04-29T15:01:20Z")

</div>

> [@pfaffman](#):
>
> it’s probably always best to upgrade plugins first

Not always - what if the new version of the plugin depends on features only available in the latest version of Discourse 😬

When I want to upgrade and can’t be bothered to wait for every individual plugin to upgrade separately, I SSH into the server, enter the container, do a manual `git pull` in every plugin directory, then hit the “upgrade” button for Discourse itself in the UI, which updates everything simultaneously. But that’s clearly not a good UX!

> [@fefrei](#):
>
> after a failed upgrade, the container can be in a weird state, where it thinks it is upgraded although the upgrade did not complete.

This is an annoying problem which I’ve hit a few times - as far as I can tell there’s no indication in docker-manager that the upgrade failed, even though asset compilation failed. All it needs is a warning at the top saying something like

> [@](#):
>
> Last update failed, click here to try again or try rebuilding the container

Maybe that’s something else that could be implemented in addition to an Upgrade All button.

---

_[View the full topic](https://meta.discourse.org/t/upgrading-discourse-before-upgrading-plugins-causes-problems/61781)._
