# Upgrade page empty

**URL:** https://meta.discourse.org/t/upgrade-page-empty/210925
**Category:** Support
**Created:** [December 2, 2021, 7:53pm UTC](https://meta.discourse.org/t/upgrade-page-empty/210925 "2021-12-02T19:53:04Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![BryanV](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bryanv/32/226479_2.png) [@BryanV](https://meta.discourse.org/u/BryanV)
#### Post date: [December 2, 2021, 7:53pm UTC](https://meta.discourse.org/t/upgrade-page-empty/210925/1 "2021-12-02T19:53:05Z")

</div>

I got a notif today about upgrading, but navigating to the upgrade page, I find it is blank:

 ![Screen Shot 2021-12-02 at 11.46.53](https://global.discourse-cdn.com/meta/original/3X/8/3/8312c3be74a6c3982f689726b877464cc3313b3d.png)

I see there are several threads about this, and the concensus seems to be to manually rebuild. But the thing is I literally performed a manual rebuild two days ago, when I installed a custom Onebox plugin I just wrote:

[https://github.com/bokeh/discourse-bokeh-onebox](https://github.com/bokeh/discourse-bokeh-onebox)

I’d like to understand why this blank page is happening. Is there something amiss with my trivial plugin that caused this, or that I need to change? Is it unrelated to the plugin, and if so, what I can do to avoid this situation in the future?

---

<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 2, 2021, 8:22pm UTC](https://meta.discourse.org/t/upgrade-page-empty/210925/2 "2021-12-02T20:22:41Z")

</div>

Does it happen if you disable the plugins in safe-mode? That may help you narrow it down.

`[YourSite]/safe-mode`

---

<div class="post-metadata">

### Author: ![BryanV](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bryanv/32/226479_2.png) [@BryanV](https://meta.discourse.org/u/BryanV)
#### Post date: [December 2, 2021, 8:36pm UTC](https://meta.discourse.org/t/upgrade-page-empty/210925/3 "2021-12-02T20:36:52Z")

</div>

The `/upgrade` link is no longer present on the safe-mode `/admin` page and trying to navigate there manually does not work

> Oops! That page doesn’t exist or is private.

---

<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 2, 2021, 8:50pm UTC](https://meta.discourse.org/t/upgrade-page-empty/210925/4 "2021-12-02T20:50:09Z")

</div>

If you untick ‘disable all plugins’, but leave the other two, it’s there. 👍 Disabling the official plugins will disable docker-manager, but you should still be able to check themes and unofficial plugins, if that’s any help?

 ![Safe-mode](https://global.discourse-cdn.com/meta/original/3X/5/5/55f3202df9f197263019a591b1bd4a9644eb194d.jpeg)

---

<div class="post-metadata">

### Author: ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)
#### Post date: [December 2, 2021, 9:12pm UTC](https://meta.discourse.org/t/upgrade-page-empty/210925/5 "2021-12-02T21:12:05Z")

</div>

Do you have any red alert in the console if you type F12 in the upgrade page?

---

<div class="post-metadata">

### Author: ![BryanV](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bryanv/32/226479_2.png) [@BryanV](https://meta.discourse.org/u/BryanV)
#### Post date: [December 2, 2021, 9:16pm UTC](https://meta.discourse.org/t/upgrade-page-empty/210925/6 "2021-12-02T21:16:09Z")

</div>

@JammyDodger Ah, thank you. No that does not help, the upgrade page is completely blank, even in [safe mode](https://meta.discourse.org/t/53504?silent=true) with themes and unofficial plugins disabled.

@Steven yes, this is in the JS console log

 ![Screen Shot 2021-12-02 at 13.15.48](https://global.discourse-cdn.com/meta/original/3X/b/8/b8104561a1785d67fcbf6a130f7c09a3730366bb.png)

---

<div class="post-metadata">

### Author: ![BryanV](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bryanv/32/226479_2.png) [@BryanV](https://meta.discourse.org/u/BryanV)
#### Post date: [December 3, 2021, 12:30am UTC](https://meta.discourse.org/t/upgrade-page-empty/210925/7 "2021-12-03T00:30:12Z")

</div>

So, just summarizing, it appears the page is blank due to a 500 HTTP error from an AJAX request to

```plaintext
https://discourse.bokeh.org/admin/docker/repos

```

Is there a known explanation for this? Is there any corrective action short of a manual rebuild?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [December 3, 2021, 12:44am UTC](https://meta.discourse.org/t/upgrade-page-empty/210925/8 "2021-12-03T00:44:36Z")

</div>

If there is a 500 error, there should be a corresponding entry at `/logs`.

---

<div class="post-metadata">

### Author: ![BryanV](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bryanv/32/226479_2.png) [@BryanV](https://meta.discourse.org/u/BryanV)
#### Post date: [December 3, 2021, 1:30am UTC](https://meta.discourse.org/t/upgrade-page-empty/210925/9 "2021-12-03T01:30:47Z")

</div>

@Falco Thanks, I was not aware of that endoint. The error is

> NoMethodError (undefined method `downcase' for nil:NilClass) lib/middleware/omniauth_bypass_middleware.rb:71:in `call’ lib/content\_security\_policy/middleware.rb:12:in `call’ lib/middleware/anonymous\_c

> ****
>
> ```plaintext
> plugins/docker_manager/app/controllers/docker_manager/admin_controller.rb:40:in `block in repos'
> plugins/docker_manager/app/controllers/docker_manager/admin_controller.rb:29:in `map!'
> plugins/docker_manager/app/controllers/docker_manager/admin_controller.rb:29:in `repos'
> actionpack (6.1.4.1) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
> actionpack (6.1.4.1) lib/abstract_controller/base.rb:228:in `process_action'
> actionpack (6.1.4.1) lib/action_controller/metal/rendering.rb:30:in `process_action'
> actionpack (6.1.4.1) lib/abstract_controller/callbacks.rb:42:in `block in process_action'
> activesupport (6.1.4.1) lib/active_support/callbacks.rb:106:in `run_callbacks'
> actionpack (6.1.4.1) lib/abstract_controller/callbacks.rb:41:in `process_action'
> actionpack (6.1.4.1) lib/action_controller/metal/rescue.rb:22:in `process_action'
> actionpack (6.1.4.1) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
> activesupport (6.1.4.1) lib/active_support/notifications.rb:203:in `block in instrument'
> activesupport (6.1.4.1) lib/active_support/notifications/instrumenter.rb:24:in `instrument'
> activesupport (6.1.4.1) lib/active_support/notifications.rb:203:in `instrument'
> actionpack (6.1.4.1) lib/action_controller/metal/instrumentation.rb:33:in `process_action'
> actionpack (6.1.4.1) lib/action_controller/metal/params_wrapper.rb:249:in `process_action'
> activerecord (6.1.4.1) lib/active_record/railties/controller_runtime.rb:27:in `process_action'
> actionpack (6.1.4.1) lib/abstract_controller/base.rb:165:in `process'
> actionview (6.1.4.1) lib/action_view/rendering.rb:39:in `process'
> rack-mini-profiler (2.3.3) lib/mini_profiler/profiling_methods.rb:85:in `block in profile_method'
> actionpack (6.1.4.1) lib/action_controller/metal.rb:190:in `dispatch'
> actionpack (6.1.4.1) lib/action_controller/metal.rb:254:in `dispatch'
> actionpack (6.1.4.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
> actionpack (6.1.4.1) lib/action_dispatch/routing/route_set.rb:33:in `serve'
> actionpack (6.1.4.1) lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>'
> actionpack (6.1.4.1) lib/action_dispatch/routing/mapper.rb:49:in `serve'
> actionpack (6.1.4.1) lib/action_dispatch/journey/router.rb:50:in `block in serve'
> actionpack (6.1.4.1) lib/action_dispatch/journey/router.rb:32:in `each'
> actionpack (6.1.4.1) lib/action_dispatch/journey/router.rb:32:in `serve'
> actionpack (6.1.4.1) lib/action_dispatch/routing/route_set.rb:842:in `call'
> railties (6.1.4.1) lib/rails/engine.rb:539:in `call'
> railties (6.1.4.1) lib/rails/railtie.rb:207:in `public_send'
> railties (6.1.4.1) lib/rails/railtie.rb:207:in `method_missing'
> actionpack (6.1.4.1) lib/action_dispatch/routing/mapper.rb:20:in `block in <class:Constraints>'
> actionpack (6.1.4.1) lib/action_dispatch/routing/mapper.rb:49:in `serve'
> actionpack (6.1.4.1) lib/action_dispatch/journey/router.rb:50:in `block in serve'
> actionpack (6.1.4.1) lib/action_dispatch/journey/router.rb:32:in `each'
> actionpack (6.1.4.1) lib/action_dispatch/journey/router.rb:32:in `serve'
> actionpack (6.1.4.1) lib/action_dispatch/routing/route_set.rb:842:in `call'
> lib/middleware/omniauth_bypass_middleware.rb:71:in `call'
> rack (2.2.3) lib/rack/tempfile_reaper.rb:15:in `call'
> rack (2.2.3) lib/rack/conditional_get.rb:27:in `call'
> rack (2.2.3) lib/rack/head.rb:12:in `call'
> actionpack (6.1.4.1) lib/action_dispatch/http/permissions_policy.rb:22:in `call'
> lib/content_security_policy/middleware.rb:12:in `call'
> lib/middleware/anonymous_cache.rb:356:in `call'
> rack (2.2.3) lib/rack/session/abstract/id.rb:266:in `context'
> rack (2.2.3) lib/rack/session/abstract/id.rb:260:in `call'
> actionpack (6.1.4.1) lib/action_dispatch/middleware/cookies.rb:689:in `call'
> actionpack (6.1.4.1) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
> activesupport (6.1.4.1) lib/active_support/callbacks.rb:98:in `run_callbacks'
> actionpack (6.1.4.1) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
> actionpack (6.1.4.1) lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
> actionpack (6.1.4.1) lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'
> actionpack (6.1.4.1) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
> logster (2.9.8) lib/logster/middleware/reporter.rb:43:in `call'
> railties (6.1.4.1) lib/rails/rack/logger.rb:37:in `call_app'
> railties (6.1.4.1) lib/rails/rack/logger.rb:28:in `call'
> config/initializers/100-quiet_logger.rb:23:in `call'
> config/initializers/100-silence_logger.rb:31:in `call'
> actionpack (6.1.4.1) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
> actionpack (6.1.4.1) lib/action_dispatch/middleware/request_id.rb:26:in `call'
> lib/middleware/enforce_hostname.rb:23:in `call'
> rack (2.2.3) lib/rack/method_override.rb:24:in `call'
> actionpack (6.1.4.1) lib/action_dispatch/middleware/executor.rb:14:in `call'
> rack (2.2.3) lib/rack/sendfile.rb:110:in `call'
> actionpack (6.1.4.1) lib/action_dispatch/middleware/host_authorization.rb:92:in `call'
> rack-mini-profiler (2.3.3) lib/mini_profiler/profiler.rb:249:in `call'
> message_bus (3.3.6) lib/message_bus/rack/middleware.rb:61:in `call'
> lib/middleware/request_tracker.rb:198:in `call'
> railties (6.1.4.1) lib/rails/engine.rb:539:in `call'
> railties (6.1.4.1) lib/rails/railtie.rb:207:in `public_send'
> railties (6.1.4.1) lib/rails/railtie.rb:207:in `method_missing'
> rack (2.2.3) lib/rack/urlmap.rb:74:in `block in call'
> rack (2.2.3) lib/rack/urlmap.rb:58:in `each'
> rack (2.2.3) lib/rack/urlmap.rb:58:in `call'
> unicorn (6.0.0) lib/unicorn/http_server.rb:634:in `process_client'
> unicorn (6.0.0) lib/unicorn/http_server.rb:732:in `worker_loop'
> unicorn (6.0.0) lib/unicorn/http_server.rb:547:in `spawn_missing_workers'
> unicorn (6.0.0) lib/unicorn/http_server.rb:143:in `start'
> unicorn (6.0.0) bin/unicorn:128:in `<top (required)>'
> vendor/bundle/ruby/2.7.0/bin/unicorn:25:in `load'
> vendor/bundle/ruby/2.7.0/bin/unicorn:25:in `<main>'
> 
> ```

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [December 3, 2021, 1:46am UTC](https://meta.discourse.org/t/upgrade-page-empty/210925/10 "2021-12-03T01:46:01Z")

</div>

One of the plugins you have installed has a nil name somehow

> <https://github.com/discourse/docker_manager/blob/4e06649d32fe7af4841d63049a84f28a01df8dfd/app/controllers/docker_manager/admin_controller.rb#L40>

You can run `DockerManager::GitRepo.find_all` in a Rails console to check where this is coming from.

---

<div class="post-metadata">

### Author: ![BryanV](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bryanv/32/226479_2.png) [@BryanV](https://meta.discourse.org/u/BryanV)
#### Post date: [December 3, 2021, 1:51am UTC](https://meta.discourse.org/t/upgrade-page-empty/210925/11 "2021-12-03T01:51:39Z")

</div>

@Falco Well I guess (assume) that would be my Onebox plugin, though I am not sure why things also did not work in [safe mode](https://meta.discourse.org/t/53504?silent=true). In any case I cobbled this one file together from pieces, never having written any Ruby before, if you happen to know how/where I should specify the “name” that would be appreciated:

[https://github.com/bokeh/discourse-bokeh-onebox/blob/main/plugin.rb](https://github.com/bokeh/discourse-bokeh-onebox/blob/main/plugin.rb)

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [December 3, 2021, 2:02am UTC](https://meta.discourse.org/t/upgrade-page-empty/210925/12 "2021-12-03T02:02:46Z")

</div>

Maybe follow an example like

> <https://github.com/discourse/docker_manager/blob/4e06649d32fe7af4841d63049a84f28a01df8dfd/plugin.rb#L3>

---

<div class="post-metadata">

### Author: ![BryanV](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bryanv/32/226479_2.png) [@BryanV](https://meta.discourse.org/u/BryanV)
#### Post date: [December 3, 2021, 2:26am UTC](https://meta.discourse.org/t/upgrade-page-empty/210925/13 "2021-12-03T02:26:21Z")

</div>

😮 I did refer to several examples, I just would have never guessed the name was parsed out of a comment, and not configured as actual data/code. I’ll update my plugin and rebuild, thanks.

---

<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 2, 2022, 2:27am UTC](https://meta.discourse.org/t/upgrade-page-empty/210925/14 "2022-01-02T02:27:03Z")

</div>

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