# Sorry, there was an error upgrading Discourse. But then Discourse shows the module is up to date

**URL:** <https://meta.discourse.org/t/sorry-there-was-an-error-upgrading-discourse-but-then-discourse-shows-the-module-is-up-to-date/168793>\
**Category:** Product Support\
**Created:** [October 30, 2020, 8:51pm UTC](https://meta.discourse.org/t/sorry-there-was-an-error-upgrading-discourse-but-then-discourse-shows-the-module-is-up-to-date/168793 "2020-10-30T20:51:08Z")\
**Posts on this page:** 3\
**Page:** 1

## AI-generated summary

[@kgreed](/t/-/168793/1) is experiencing an issue with upgrading Discourse modules. After clicking the upgrade link, they received a "Sorry, there was an error upgrading Discourse" message, but the modules are now showing as up to date. However, the Discourse version still indicates that an upgrade is needed.

[@kgreed](/t/-/168793/1) shared the output of the last update, which shows a `RuntimeError` and a `Killed` message, indicating that the upgrade process failed. Despite this, the modules are now up to date, and [kgreed](/t/-/168793/1) is unsure if they should believe this or investigate further.

[@kgreed](/t/-/168793/2) plans to check a related issue on the Discourse meta forum for a possible solution.

<div class="post-metadata">

**Author:** ![kgreed](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kgreed/32/168602_2.png) [@kgreed](https://meta.discourse.org/u/kgreed)\
**Post date:** [October 30, 2020, 8:51pm UTC](https://meta.discourse.org/t/sorry-there-was-an-error-upgrading-discourse-but-then-discourse-shows-the-module-is-up-to-date/168793/1 "2020-10-30T20:51:08Z")

</div>

For the docker\_manager and discourse-solved modules I clicked the upgrade link in Discourse and after some time received the Sorry message.

However the modules now show as up to date in my Discourse.  
Do I believe that or should I be running something in Linux? ( is so, what?)

 ![image](https://global.discourse-cdn.com/meta/original/3X/c/d/cd84cd3d923744a6ab372d8d4fb505b8a9daf36e.png)

I ran the last update and got ouput

```plaintext
296913.235374078 Compressing: application-c6861fce930ebb07ae1f5a622066ef6a21c3e3daaa3a134ab5a008ef5c22468a.js
uglifyjs '/var/www/discourse/public/assets/_application-c6861fce930ebb07ae1f5a622066ef6a21c3e3daaa3a134ab5a008ef5c22468a.js' -m -c -o '/var/www/discourse/public/assets/application-c6861fce930ebb07ae1f5a622066ef6a21c3e3daaa3a134ab5a008ef5c22468a.js' --source-map "base='/var/www/discourse/public/assets',root='/assets',url='/assets/application-c6861fce930ebb07ae1f5a622066ef6a21c3e3daaa3a134ab5a008ef5c22468a.js.map'"
Killed
Docker Manager: FAILED TO UPGRADE
#<RuntimeError: RuntimeError>
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:178:in `run'
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:86:in `upgrade'
/var/www/discourse/plugins/docker_manager/scripts/docker_manager_upgrade.rb:19:in `block in <main>'
/var/www/discourse/plugins/docker_manager/scripts/docker_manager_upgrade.rb:6:in `fork'
/var/www/discourse/plugins/docker_manager/scripts/docker_manager_upgrade.rb:6:in `<main>'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in `load'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in `load'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3.3/lib/rails/commands/runner/runner_command.rb:42:in `perform'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/thor-1.0.1/lib/thor/command.rb:27:in `run'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3.3/lib/rails/command/base.rb:69:in `perform'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3.3/lib/rails/command.rb:46:in `invoke'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3.3/lib/rails/commands.rb:18:in `<main>'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:324:in `block in require'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:291:in `load_dependency'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:324:in `require'
bin/rails:17:in `<main>'
Spinning up 3 Unicorn worker(s) that were stopped initially

```

Now everything shows as up to date

 ![image](https://global.discourse-cdn.com/meta/original/3X/0/9/09f60cd649f5b3e1a8de33461391cdf2354f9bee.png)  
Yet the Discourse version still indicates I need to upgrade

 ![image](https://global.discourse-cdn.com/meta/original/3X/a/1/a19d75495820caca74f738bc264ceea03267c25c.png)

---

<div class="post-metadata">

**Author:** ![kgreed](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kgreed/32/168602_2.png) [@kgreed](https://meta.discourse.org/u/kgreed)\
**Post date:** [October 30, 2020, 10:02pm UTC](https://meta.discourse.org/t/sorry-there-was-an-error-upgrading-discourse-but-then-discourse-shows-the-module-is-up-to-date/168793/2 "2020-10-30T22:02:54Z")

</div>

I will check this [Error: ENOENT: no such file or directory on upgrading - #19 by bts](https://meta.discourse.org/t/error-enoent-no-such-file-or-directory-on-upgrading/135325/19)

---

<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:** [November 29, 2020, 10:06pm UTC](https://meta.discourse.org/t/sorry-there-was-an-error-upgrading-discourse-but-then-discourse-shows-the-module-is-up-to-date/168793/3 "2020-11-29T22:06:31Z")

</div>

Closed on November 29, 2020, 10:06pm UTC

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