# Error 500 When rebuild today

**URL:** https://meta.discourse.org/t/error-500-when-rebuild-today/315738
**Category:** Support
**Created:** [July 10, 2024, 1:05pm UTC](https://meta.discourse.org/t/error-500-when-rebuild-today/315738 "2024-07-10T13:05:45Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![kokoloman001](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kokoloman001/32/389438_2.png) [@kokoloman001](https://meta.discourse.org/u/kokoloman001)
#### Post date: [July 10, 2024, 1:05pm UTC](https://meta.discourse.org/t/error-500-when-rebuild-today/315738/1 "2024-07-10T13:05:45Z")

</div>

I installed a new plugin (calendar) and rebuilt when finished. I found this message.

> Oops  
> The software powering this discussion forum encountered an unexpected problem. We apologize for the inconvenience.  
> Detailed information about the error was logged, and an automatic notification generated. We’ll take a look at it.  
> No further action is necessary. However, if the error condition persists, you can provide additional detail, including steps to reproduce the error, by posting a discussion topic in the site’s feedback category.

This Error logs

```plaintext
Message
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>})
lib/js_locale_helper.rb:153:in `output_MF'
app/controllers/extra_locales_controller.rb:53:in `bundle_js'
app/controllers/extra_locales_controller.rb:29:in `bundle_js_hash'
app/controllers/extra_locales_controller.rb:38:in `url'
app/views/layouts/application.html.erb:40
lib/topic_list_responder.rb:15:in `block (2 levels) in respond_with_list'
lib/topic_list_responder.rb:8:in `respond_with_list'
app/controllers/list_controller.rb:342:in `block (2 levels) in <class:ListController>'
app/controllers/list_controller.rb:312:in `public_send'
app/controllers/list_controller.rb:312:in `top'
app/controllers/application_controller.rb:424:in `block in with_resolved_locale'
app/controllers/application_controller.rb:424:in `with_resolved_locale'
lib/middleware/omniauth_bypass_middleware.rb:64:in `call'
lib/content_security_policy/middleware.rb:12:in `call'
lib/middleware/anonymous_cache.rb:393:in `call'
lib/middleware/csp_script_nonce_injector.rb:12:in `call'
config/initializers/008-rack-cors.rb:14:in `call'
lib/freedom_patches/rails_rack_logger_from_rails_7_2.rb:35:in `call_app'
lib/freedom_patches/rails_rack_logger_from_rails_7_2.rb:22:in `call'
config/initializers/100-quiet_logger.rb:20:in `call'
config/initializers/100-silence_logger.rb:29:in `call'
lib/middleware/enforce_hostname.rb:24:in `call'
lib/middleware/request_tracker.rb:360:in `call'
Backtrace
messageformat-wrapper (1.0.0) lib/messageformat.rb:26:in `rescue in compile'
messageformat-wrapper (1.0.0) lib/messageformat.rb:23:in `compile'
messageformat-wrapper (1.0.0) lib/messageformat.rb:8:in `compile'
lib/js_locale_helper.rb:153:in `output_MF'
app/controllers/extra_locales_controller.rb:53:in `bundle_js'
app/controllers/extra_locales_controller.rb:29:in `bundle_js_hash'
app/controllers/extra_locales_controller.rb:38:in `url'
app/views/layouts/application.html.erb:40
actionview (7.1.3.4) lib/action_view/base.rb:264:in `public_send'
actionview (7.1.3.4) lib/action_view/base.rb:264:in `_run'
actionview (7.1.3.4) lib/action_view/template.rb:261:in `block in render'
activesupport (7.1.3.4) lib/active_support/notifications.rb:208:in `instrument'
actionview (7.1.3.4) lib/action_view/template.rb:549:in `instrument_render_template'
actionview (7.1.3.4) lib/action_view/template.rb:249:in `render'
rack-mini-profiler (3.3.1) lib/mini_profiler/profiling_methods.rb:115:in `block in profile_method' 
actionview (7.1.3.4) lib/action_view/renderer/template_renderer.rb:77:in `block in render_with_layout'
activesupport (7.1.3.4) lib/active_support/notifications.rb:206:in `block in instrument'
activesupport (7.1.3.4) lib/active_support/notifications/instrumenter.rb:58:in `instrument'
activesupport (7.1.3.4) lib/active_support/notifications.rb:206:in `instrument'
actionview (7.1.3.4) lib/action_view/renderer/template_renderer.rb:75:in `render_with_layout'
actionview (7.1.3.4) lib/action_view/renderer/template_renderer.rb:59:in `render_template'
actionview (7.1.3.4) lib/action_view/renderer/template_renderer.rb:11:in `render'
actionview (7.1.3.4) lib/action_view/renderer/renderer.rb:63:in `render_template_to_object'
actionview (7.1.3.4) lib/action_view/renderer/renderer.rb:31:in `render_to_object'
actionview (7.1.3.4) lib/action_view/rendering.rb:135:in `block in _render_template'
actionview (7.1.3.4) lib/action_view/base.rb:291:in `in_rendering_context'
actionview (7.1.3.4) lib/action_view/rendering.rb:134:in `_render_template'
actionpack (7.1.3.4) lib/action_controller/metal/streaming.rb:256:in `_render_template'
actionview (7.1.3.4) lib/action_view/rendering.rb:121:in `render_to_body'
actionpack (7.1.3.4) lib/action_controller/metal/rendering.rb:158:in `render_to_body'
actionpack (7.1.3.4) lib/action_controller/metal/renderers.rb:141:in `render_to_body'
actionpack (7.1.3.4) lib/abstract_controller/rendering.rb:27:in `render'
actionpack (7.1.3.4) lib/action_controller/metal/rendering.rb:139:in `render'
actionpack (7.1.3.4) lib/action_controller/metal/instrumentation.rb:29:in `block (2 levels) in render'
/usr/local/lib/ruby/3.3.0/benchmark.rb:313:in `realtime'
activesupport (7.1.3.4) lib/active_support/core_ext/benchmark.rb:14:in `ms'
actionpack (7.1.3.4) lib/action_controller/metal/instrumentation.rb:29:in `block in render'
actionpack (7.1.3.4) lib/action_controller/metal/instrumentation.rb:98:in `cleanup_view_runtime'
activerecord (7.1.3.4) lib/active_record/railties/controller_runtime.rb:39:in `cleanup_view_runtime'
actionpack (7.1.3.4) lib/action_controller/metal/instrumentation.rb:28:in `render'
lib/topic_list_responder.rb:15:in `block (2 levels) in respond_with_list'
actionpack (7.1.3.4) lib/action_controller/metal/mime_responds.rb:214:in `respond_to'
lib/topic_list_responder.rb:8:in `respond_with_list'
app/controllers/list_controller.rb:342:in `block (2 levels) in <class:ListController>'
app/controllers/list_controller.rb:312:in `public_send'
app/controllers/list_controller.rb:312:in `top'
actionpack (7.1.3.4) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
actionpack (7.1.3.4) lib/abstract_controller/base.rb:224:in `process_action'
actionpack (7.1.3.4) lib/action_controller/metal/rendering.rb:165:in `process_action'
actionpack (7.1.3.4) lib/abstract_controller/callbacks.rb:259:in `block in process_action'
activesupport (7.1.3.4) lib/active_support/callbacks.rb:121:in `block in run_callbacks'
app/controllers/application_controller.rb:424:in `block in with_resolved_locale'
i18n (1.14.5) lib/i18n.rb:351:in `with_locale'
app/controllers/application_controller.rb:424:in `with_resolved_locale'
activesupport (7.1.3.4) lib/active_support/callbacks.rb:130:in `block in run_callbacks'
activesupport (7.1.3.4) lib/active_support/callbacks.rb:141:in `run_callbacks'
actionpack (7.1.3.4) lib/abstract_controller/callbacks.rb:258:in `process_action'
actionpack (7.1.3.4) lib/action_controller/metal/rescue.rb:25:in `process_action'
actionpack (7.1.3.4) lib/action_controller/metal/instrumentation.rb:74:in `block in process_action'
activesupport (7.1.3.4) lib/active_support/notifications.rb:206:in `block in instrument'
activesupport (7.1.3.4) lib/active_support/notifications/instrumenter.rb:58:in `instrument'
activesupport (7.1.3.4) lib/active_support/notifications.rb:206:in `instrument'
actionpack (7.1.3.4) lib/action_controller/metal/instrumentation.rb:73:in `process_action'
actionpack (7.1.3.4) lib/action_controller/metal/params_wrapper.rb:261:in `process_action'
activerecord (7.1.3.4) lib/active_record/railties/controller_runtime.rb:32:in `process_action'
actionpack (7.1.3.4) lib/abstract_controller/base.rb:160:in `process'
actionview (7.1.3.4) lib/action_view/rendering.rb:40:in `process'
rack-mini-profiler (3.3.1) lib/mini_profiler/profiling_methods.rb:115:in `block in profile_method' 
actionpack (7.1.3.4) lib/action_controller/metal.rb:227:in `dispatch'
actionpack (7.1.3.4) lib/action_controller/metal.rb:309:in `dispatch'
actionpack (7.1.3.4) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
actionpack (7.1.3.4) lib/action_dispatch/routing/route_set.rb:32:in `serve'
actionpack (7.1.3.4) lib/action_dispatch/routing/mapper.rb:21:in `block in <class:Constraints>'
actionpack (7.1.3.4) lib/action_dispatch/routing/mapper.rb:51:in `serve'
actionpack (7.1.3.4) lib/action_dispatch/journey/router.rb:51:in `block in serve'
actionpack (7.1.3.4) lib/action_dispatch/journey/router.rb:131:in `block in find_routes'
actionpack (7.1.3.4) lib/action_dispatch/journey/router.rb:124:in `each'
actionpack (7.1.3.4) lib/action_dispatch/journey/router.rb:124:in `find_routes'
actionpack (7.1.3.4) lib/action_dispatch/journey/router.rb:32:in `serve'
actionpack (7.1.3.4) lib/action_dispatch/routing/route_set.rb:882:in `call'
lib/middleware/omniauth_bypass_middleware.rb:64:in `call'
rack (2.2.9) lib/rack/tempfile_reaper.rb:15:in `call'
rack (2.2.9) lib/rack/conditional_get.rb:27:in `call'
rack (2.2.9) lib/rack/head.rb:12:in `call'
actionpack (7.1.3.4) lib/action_dispatch/http/permissions_policy.rb:36:in `call'
lib/content_security_policy/middleware.rb:12:in `call'
lib/middleware/anonymous_cache.rb:393:in `call'
lib/middleware/csp_script_nonce_injector.rb:12:in `call'
config/initializers/008-rack-cors.rb:14:in `call'
rack (2.2.9) lib/rack/session/abstract/id.rb:266:in `context'
rack (2.2.9) lib/rack/session/abstract/id.rb:260:in `call'
actionpack (7.1.3.4) lib/action_dispatch/middleware/cookies.rb:689:in `call'
actionpack (7.1.3.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (7.1.3.4) lib/active_support/callbacks.rb:101:in `run_callbacks'
actionpack (7.1.3.4) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
actionpack (7.1.3.4) lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'
actionpack (7.1.3.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
logster (2.20.0) lib/logster/middleware/reporter.rb:40:in `call'
lib/freedom_patches/rails_rack_logger_from_rails_7_2.rb:35:in `call_app'
lib/freedom_patches/rails_rack_logger_from_rails_7_2.rb:22:in `call'
config/initializers/100-quiet_logger.rb:20:in `call'
config/initializers/100-silence_logger.rb:29:in `call'
actionpack (7.1.3.4) lib/action_dispatch/middleware/request_id.rb:28:in `call'
lib/middleware/enforce_hostname.rb:24:in `call'
rack (2.2.9) lib/rack/method_override.rb:24:in `call'
actionpack (7.1.3.4) lib/action_dispatch/middleware/executor.rb:14:in `call'
rack (2.2.9) lib/rack/sendfile.rb:110:in `call'
rack-mini-profiler (3.3.1) lib/mini_profiler.rb:334:in `call'
message_bus (4.3.8) lib/message_bus/rack/middleware.rb:60:in `call'
lib/middl

```

I tried rebuild 3-4 more times but got the same thing.  
I’ve tried deleting the calendar plugin and rebuilding it but still get the same thing.

---

<div class="post-metadata">

### Author: ![HamMan2118](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hamman2118/32/383565_2.png) [@HamMan2118](https://meta.discourse.org/u/HamMan2118)
#### Post date: [July 10, 2024, 2:46pm UTC](https://meta.discourse.org/t/error-500-when-rebuild-today/315738/2 "2024-07-10T14:46:10Z")

</div>

Hi there @kokoloman001,

Have you tried doing a Command Line rebuild, as well as entering the site in [Safe Mode](https://meta.discourse.org/t/53504?silent=true)?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [July 10, 2024, 3:23pm UTC](https://meta.discourse.org/t/error-500-when-rebuild-today/315738/3 "2024-07-10T15:23:33Z")

</div>

Do you have any other plugins installed?

---

<div class="post-metadata">

### Author: ![kokoloman001](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kokoloman001/32/389438_2.png) [@kokoloman001](https://meta.discourse.org/u/kokoloman001)
#### Post date: [July 10, 2024, 3:30pm UTC](https://meta.discourse.org/t/error-500-when-rebuild-today/315738/4 "2024-07-10T15:30:19Z")

</div>

I rebuild more than 3-5 times but get the same result.  
Now I have a fresh install. It works when I don’t install my backup.  
The problem probably comes from my backup file. But it’s the file dated 30/06/2024 and it was working fine before I rebuild.

---

<div class="post-metadata">

### Author: ![kokoloman001](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kokoloman001/32/389438_2.png) [@kokoloman001](https://meta.discourse.org/u/kokoloman001)
#### Post date: [July 10, 2024, 3:35pm UTC](https://meta.discourse.org/t/error-500-when-rebuild-today/315738/5 "2024-07-10T15:35:13Z")

</div>

Plugins installed on my site

```plaintext
docker_manager
discourse-post-voting
discourse-reactions
discourse-signatures
discourse-staff-alias
discourse-private-replies
discourse-encrypt
discourse-vk-auth
discourse-topic-voting
discourse-follow.git
discourse-formatting-toolbar.git
discourse-bbcode.git
discourse-adplugin
discourse-google-one-tap
discourse-solved
discourse-rss-polling
discourse-private-topics
discourse-code-review
discourse-patreon
discourse-github
discourse-templates
discourse-ai
discourse-calendar

```

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [July 10, 2024, 4:09pm UTC](https://meta.discourse.org/t/error-500-when-rebuild-today/315738/6 "2024-07-10T16:09:54Z")

</div>

> [@kokoloman001](#):
>
> ```plaintext
> discourse-vk-auth
> 
> ```

I think it might be this one. Which one are you using? (Including the full URL of your plugins makes it easier to tell what you’ve got and which are official). Edit: Oh, but there is an official on of those, so you’re probably using that one.

Or do you not have that installed on your test site?

I’d try to make a backup of your current database like this:

```plaintext
cd /var/discourse
./launcher enter app
discourse backup

```

---

<div class="post-metadata">

### Author: ![kokoloman001](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kokoloman001/32/389438_2.png) [@kokoloman001](https://meta.discourse.org/u/kokoloman001)
#### Post date: [July 10, 2024, 4:28pm UTC](https://meta.discourse.org/t/error-500-when-rebuild-today/315738/7 "2024-07-10T16:28:27Z")

</div>

```plaintext
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/discourse/discourse-post-voting.git
          - git clone https://github.com/discourse/discourse-reactions.git
          - git clone https://github.com/discourse/discourse-signatures.git
          - git clone https://github.com/discourse/discourse-staff-alias.git
          - git clone https://github.com/communiteq/discourse-private-replies.git
          - git clone https://github.com/discourse/discourse-encrypt.git
          - git clone https://github.com/discourse/discourse-vk-auth.git
          - git clone https://github.com/discourse/discourse-topic-voting.git
          - git clone https://github.com/discourse/discourse-follow.git
          - git clone https://github.com/MonDiscourse/discourse-formatting-toolbar.git
          - git clone https://github.com/discourse/discourse-bbcode.git
          - git clone https://github.com/discourse/discourse-adplugin.git
          - git clone https://github.com/discourse/discourse-google-one-tap.git
          - git clone https://github.com/discourse/discourse-solved.git
          - git clone https://github.com/discourse/discourse-rss-polling.git
          - git clone https://github.com/communiteq/discourse-private-topics.git
          - git clone https://github.com/discourse/discourse-code-review.git
          - git clone https://github.com/discourse/discourse-patreon.git
          - git clone https://github.com/discourse/discourse-github.git
          - git clone https://github.com/discourse/discourse-templates.git
          - git clone https://github.com/discourse/discourse-ai.git
          - git clone https://github.com/discourse/discourse-calendar.git

```

I’m attempting to install it on a test server. It works when there are no backup files installed. When I restored the backup, it returned an error 500.

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [July 10, 2024, 4:58pm UTC](https://meta.discourse.org/t/error-500-when-rebuild-today/315738/8 "2024-07-10T16:58:46Z")

</div>

Are you able to access safe-mode?  
Are you able to access /logs ? What do they say?
