# 3.2.1以降、あらゆる操作で500エラーが発生しています。

**URL:** <https://meta.discourse.org/t/since-3-2-1-i-get-500-errors-on-every-action/315211>\
**Category:** Self-hosting\
**Tags:** unsupported-install\
**Created:** [2024 年 7 月 6 日午前 12:57 UTC](https://meta.discourse.org/t/since-3-2-1-i-get-500-errors-on-every-action/315211 "2024-07-06T00:57:28Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![XCS](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xcs/32/284885_2.png) [@XCS](https://meta.discourse.org/u/XCS)\
**Post date:** [2024 年 7 月 6 日午前 12:57 UTC](https://meta.discourse.org/t/since-3-2-1-i-get-500-errors-on-every-action/315211/1 "2024-07-06T00:57:28Z")

</div>

3.2.3 で、トピックの投稿、編集、投稿の承認などを試みると、次のエラーが発生します。

> 2024-07-06T00:39:23.066901838Z NoMethodError (undefined method `trusted\_users\_can\_edit\_others?’ for SiteSetting:Class)

また、次も発生します。

```plaintext
24-07-06T00:39:24.067196373Z ActionView::Template::Error (undefined method `escape_uri' for UrlHelper:Class)
2024-07-06T00:39:24.067198898Z lib/plugin/instance.rb:541:in `block in on'
2024-07-06T00:39:24.067201202Z lib/discourse_event.rb:12:in `block in trigger'
2024-07-06T00:39:24.067203586Z lib/discourse_event.rb:12:in `trigger'
2024-07-06T00:39:24.067205881Z lib/pretty_text.rb:484:in `excerpt'
2024-07-06T00:39:24.067208165Z app/models/post.rb:523:in `excerpt'

```

CapRover 上の Bitnami 3.2.3 Discourse インストールを使用しています。  
プラグインはありませんが、RO ロケールが有効になっています。

すべてのイメージ（3.2.1、3.2.2、3.3.3）を試しましたが、エラーは同じです。他のすべては正常に機能しているように見え、3.2 アップデート前は正常に機能していました。

必要であれば、完全なスタックトレースを以下に示します。

```plaintext
2024-07-06T01:01:05.331159453Z Completed 500 Internal Server Error in 287ms (ActiveRecord: 0.0ms | Allocations: 46431)
2024-07-06T01:01:05.331163440Z NoMethodError (undefined method `escape_uri' for UrlHelper:Class)
2024-07-06T01:01:05.331167227Z lib/plugin/instance.rb:541:in `block in on'
2024-07-06T01:01:05.331170603Z lib/discourse_event.rb:12:in `block in trigger'
2024-07-06T01:01:05.331173679Z lib/discourse_event.rb:12:in `trigger'
2024-07-06T01:01:05.331176945Z lib/pretty_text.rb:484:in `excerpt'
2024-07-06T01:01:05.331180312Z app/models/post.rb:523:in `excerpt'
2024-07-06T01:01:05.331183558Z app/models/post.rb:532:in `excerpt_for_topic'
2024-07-06T01:01:05.331186833Z lib/post_creator.rb:506:in `update_topic_stats'
2024-07-06T01:01:05.331190089Z lib/post_creator.rb:196:in `block in create'
2024-07-06T01:01:05.331193455Z lib/post_creator.rb:390:in `block in transaction'
2024-07-06T01:01:05.331197323Z lib/post_creator.rb:390:in `transaction'
2024-07-06T01:01:05.331200789Z lib/post_creator.rb:188:in `create'
2024-07-06T01:01:05.331203995Z lib/new_post_manager.rb:318:in `perform_create_post'
2024-07-06T01:01:05.331207261Z lib/new_post_manager.rb:252:in `perform'
2024-07-06T01:01:05.331215837Z app/controllers/posts_controller.rb:201:in `create'
2024-07-06T01:01:05.331219554Z app/controllers/application_controller.rb:423:in `block in with_resolved_locale'
2024-07-06T01:01:05.331223071Z app/controllers/application_controller.rb:423:in `with_resolved_locale'
2024-07-06T01:01:05.331226587Z lib/middleware/omniauth_bypass_middleware.rb:64:in `call'
2024-07-06T01:01:05.331229904Z lib/content_security_policy/middleware.rb:12:in `call'
2024-07-06T01:01:05.331233230Z lib/middleware/anonymous_cache.rb:393:in `call'
2024-07-06T01:01:05.331236506Z lib/middleware/gtm_script_nonce_injector.rb:10:in `call'
2024-07-06T01:01:05.331239702Z config/initializers/008-rack-cors.rb:14:in `call'
2024-07-06T01:01:05.331242908Z config/initializers/100-quiet_logger.rb:20:in `call'
2024-07-06T01:01:05.331246204Z config/initializers/100-silence_logger.rb:29:in `call'
2024-07-06T01:01:05.331249290Z lib/middleware/enforce_hostname.rb:24:in `call'
2024-07-06T01:01:05.331252456Z lib/middleware/request_tracker.rb:236:in `call'

```

---

_[View the full topic](https://meta.discourse.org/t/since-3-2-1-i-get-500-errors-on-every-action/315211)._
