投稿の編集中に「500 error」エラーが発生します

こんにちは。投稿を編集する際に「500 エラー」が発生します。すべての投稿でこの問題が起きているわけではありません。セーフモードをオンにしてみましたが、画像とエラーログを追加しても解決しませんでした。最新バージョンにアップデートしましたが、まだ問題が続いています。ご支援いただけますでしょうか?

例:https://medikalbulut.org/t/teknolojik-aletlerin-sebep-oldugu-hastaliklar-nelerdir/2505

NoMethodError (nil:NilClass に対して `downcase' メソッドが定義されていません) /var/www/discourse/app/models/global_setting.rb:107:in `s3_bucket_name'

/var/www/discourse/app/models/global_setting.rb:107:in `s3_bucket_name'
/var/www/discourse/app/models/site_setting.rb:157:in `absolute_base_url'
/var/www/discourse/lib/url_helper.rb:60:in `secure_proxy_without_cdn'
/var/www/discourse/lib/url_helper.rb:79:in `cook_url'
/var/www/discourse/app/models/topic_link.rb:180:in `ensure_entry_for'
/var/www/discourse/app/models/topic_link.rb:128:in `block (2 levels) in extract_from'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.1/lib/active_record/connection_adapters/abstract/database_statements.rb:281:in `block in transaction'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.1/lib/active_record/connection_adapters/abstract/transaction.rb:280:in `block in within_new_transaction'
/usr/local/lib/ruby/2.6.0/monitor.rb:235:in `mon_synchronize'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.1/lib/active_record/connection_adapters/abstract/transaction.rb:278:in `within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.1/lib/active_record/connection_adapters/abstract/database_statements.rb:281:in `transaction'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.1/lib/active_record/transactions.rb:212:in `transaction'
/var/www/discourse/app/models/topic_link.rb:126:in `block in extract_from'
/var/www/discourse/app/models/topic_link.rb:124:in `each'
/var/www/discourse/app/models/topic_link.rb:124:in `extract_from'
/var/www/discourse/lib/post_revisor.rb:207:in `revise!'
/var/www/discourse/app/controllers/topics_controller.rb:369:in `update'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/abstract_controller/base.rb:196:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/rendering.rb:30:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/callbacks.rb:135:in `run_callbacks'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/abstract_controller/callbacks.rb:41:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/rescue.rb:22:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/instrumentation.rb:33:in `block in process_action'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/notifications.rb:180:in `block in instrument'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/notifications.rb:180:in `instrument'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/instrumentation.rb:32:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.1/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/abstract_controller/base.rb:136:in `process'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/rendering.rb:39:in `process'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rack-mini-profiler-1.1.4/lib/mini_profiler/profiling_methods.rb:104:in `block in profile_method'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal.rb:191:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal.rb:252:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/routing/route_set.rb:51:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/routing/route_set.rb:33:in `serve'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/journey/router.rb:49:in `block in serve'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/journey/router.rb:32:in `each'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/journey/router.rb:32:in `serve'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/routing/route_set.rb:837:in `call'
/var/www/discourse/lib/middleware/omniauth_bypass_middleware.rb:68:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/tempfile_reaper.rb:15:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/conditional_get.rb:38:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/head.rb:12:in `call'
/var/www/discourse/lib/content_security_policy/middleware.rb:12:in `call'
/var/www/discourse/lib/middleware/anonymous_cache.rb:318:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/session/abstract/id.rb:232:in `context'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/session/abstract/id.rb:226:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/cookies.rb:648:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/callbacks.rb:101:in `run_callbacks'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:17:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:32:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/logster-2.5.1/lib/logster/middleware/reporter.rb:43:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/rack/logger.rb:38:in `call_app'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/rack/logger.rb:28:in `call'
/var/www/discourse/config/initializers/100-quiet_logger.rb:18:in `call'
/var/www/discourse/config/initializers/100-silence_logger.rb:31:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/request_id.rb:27:in `call'
/var/www/discourse/lib/middleware/enforce_hostname.rb:17:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/method_override.rb:22:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/executor.rb:14:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/sendfile.rb:111:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/host_authorization.rb:77:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rack-mini-profiler-1.1.4/lib/mini_profiler/profiler.rb:296:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/message_bus-2.2.3/lib/message_bus/rack/middleware.rb:57:in `call'
/var/www/discourse/lib/middleware/request_tracker.rb:181:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/engine.rb:526:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/railtie.rb:190:in `public_send'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/railtie.rb:190:in `method_missing'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/urlmap.rb:68:in `block in call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/urlmap.rb:53:in `each'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/urlmap.rb:53:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/unicorn-5.5.1/lib/unicorn/http_server.rb:605:in `process_client'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/unicorn-5.5.1/lib/unicorn/http_server.rb:700:in `worker_loop'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/unicorn-5.5.1/lib/unicorn/http_server.rb:548:in `spawn_missing_workers'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/unicorn-5.5.1/lib/unicorn/http_server.rb:144:in `start'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/unicorn-5.5.1/bin/unicorn:128:in `<top (required)>'
/var/www/discourse/vendor/bundle/ruby/2.6.0/bin/unicorn:23:in `load'
/var/www/discourse/vendor/bundle/ruby/2.6.0/bin/unicorn:23:in `<main>'

スタックトレースから、サイトの設定に無効な URL が入力されているようです。

あなたの意図が正確にわかりません。

サイト設定に無効な URL が含まれており、エラーの原因となっているようです。変更したサイト設定を再度ご確認ください。

アップロード用に S3 を有効にしたまま、バケット名設定を空白のままにしてしまったのでしょうか?それはありえないはずですが、そうなっているようです。

設定を確認しましたが、問題はないと思います。しかし、ログを確認すると新しいエラーが表示されました。まだ問題を解決できていません。

多くのページで同じ問題が発生しており、サイトの全体的な利用に影響を与えています。

例えば:https://medikalbulut.org/t/sgk-medula-web-servisleri-kullanim-kilavuzu/1581

Job exception: undefined method downcase’ for nil:NilClass`

/var/www/discourse/app/models/global_setting.rb:107:in `s3_bucket_name'
/var/www/discourse/app/models/site_setting.rb:157:in `absolute_base_url'
/var/www/discourse/lib/url_helper.rb:60:in `secure_proxy_without_cdn'
/var/www/discourse/lib/url_helper.rb:79:in `cook_url'
/var/www/discourse/app/models/topic_link.rb:180:in `ensure_entry_for'
/var/www/discourse/app/models/topic_link.rb:128:in `block (2 levels) in extract_from'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.1/lib/active_record/connection_adapters/abstract/database_statements.rb:281:in `block in transaction'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.1/lib/active_record/connection_adapters/abstract/transaction.rb:280:in `block in within_new_transaction'
/usr/local/lib/ruby/2.6.0/monitor.rb:235:in `mon_synchronize'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.1/lib/active_record/connection_adapters/abstract/transaction.rb:278:in `within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.1/lib/active_record/connection_adapters/abstract/database_statements.rb:281:in `transaction'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.1/lib/active_record/transactions.rb:212:in `transaction'
/var/www/discourse/app/models/topic_link.rb:126:in `block in extract_from'
/var/www/discourse/app/models/topic_link.rb:124:in `each'
/var/www/discourse/app/models/topic_link.rb:124:in `extract_from'
/var/www/discourse/app/jobs/regular/process_post.rb:53:in `extract_links'
/var/www/discourse/app/jobs/regular/process_post.rb:37:in `execute'
/var/www/discourse/app/jobs/base.rb:232:in `block (2 levels) in perform'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rails_multisite-2.0.7/lib/rails_multisite/connection_management.rb:63:in `with_connection'
/var/www/discourse/app/jobs/base.rb:221:in `block in perform'
/var/www/discourse/app/jobs/base.rb:217:in `each'
/var/www/discourse/app/jobs/base.rb:217:in `perform'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sidekiq-6.0.3/lib/sidekiq/processor.rb:196:in `execute_job'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sidekiq-6.0.3/lib/sidekiq/processor.rb:164:in `block (2 levels) in process'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sidekiq-6.0.3/lib/sidekiq/middleware/chain.rb:138:in `block in invoke'
/var/www/discourse/lib/sidekiq/pausable.rb:138:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sidekiq-6.0.3/lib/sidekiq/middleware/chain.rb:140:in `block in invoke'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sidekiq-6.0.3/lib/sidekiq/middleware/chain.rb:143:in `invoke'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sidekiq-6.0.3/lib/sidekiq/processor.rb:163:in `block in process'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sidekiq-6.0.3/lib/sidekiq/processor.rb:136:in `block (6 levels) in dispatch'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sidekiq-6.0.3/lib/sidekiq/job_retry.rb:111:in `local'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sidekiq-6.0.3/lib/sidekiq/processor.rb:135:in `block (5 levels) in dispatch'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sidekiq-6.0.3/lib/sidekiq.rb:37:in `block in <module:Sidekiq>'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sidekiq-6.0.3/lib/sidekiq/processor.rb:131:in `block (4 levels) in dispatch'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sidekiq-6.0.3/lib/sidekiq/processor.rb:257:in `stats'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sidekiq-6.0.3/lib/sidekiq/processor.rb:126:in `block (3 levels) in dispatch'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sidekiq-6.0.3/lib/sidekiq/job_logger.rb:13:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sidekiq-6.0.3/lib/sidekiq/processor.rb:125:in `block (2 levels) in dispatch'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sidekiq-6.0.3/lib/sidekiq/job_retry.rb:78:in `global'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sidekiq-6.0.3/lib/sidekiq/processor.rb:124:in `block in dispatch'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sidekiq-6.0.3/lib/sidekiq/logger.rb:10:in `with'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sidekiq-6.0.3/lib/sidekiq/job_logger.rb:33:in `prepare'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sidekiq-6.0.3/lib/sidekiq/processor.rb:123:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sidekiq-6.0.3/lib/sidekiq/processor.rb:162:in `process'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sidekiq-6.0.3/lib/sidekiq/processor.rb:78:in `process_one'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sidekiq-6.0.3/lib/sidekiq/processor.rb:68:in `run'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sidekiq-6.0.3/lib/sidekiq/util.rb:15:in `watchdog'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sidekiq-6.0.3/lib/sidekiq/util.rb:24:in `block in safe_thread'

まだこの問題が発生しています。一部のページには問題がないのですが、他のページではこの問題が起きます。時には次のような問題が発生します。JavaScript の問題のようです。

VM82:1 PUT https://medikalbulut.org/posts/2068 500
(anonymous) @ VM82:1
XMLHttpRequest.send @ includes.js?v=7e0146095db5a4bd0c9ae1b165d69e56:757
send @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:9851
ajax @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:9448
i @ _application-b00d9e09c75d5d7ecef09d201960762fe0e5d6fe45ad5b02d98085db754b78ac.js:10221
(anonymous) @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:70335
n @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:70843
o @ _application-b00d9e09c75d5d7ecef09d201960762fe0e5d6fe45ad5b02d98085db754b78ac.js:10235
update @ _application-b00d9e09c75d5d7ecef09d201960762fe0e5d6fe45ad5b02d98085db754b78ac.js:16809
update @ _application-b00d9e09c75d5d7ecef09d201960762fe0e5d6fe45ad5b02d98085db754b78ac.js:12532
update @ _application-b00d9e09c75d5d7ecef09d201960762fe0e5d6fe45ad5b02d98085db754b78ac.js:9961
save @ _application-b00d9e09c75d5d7ecef09d201960762fe0e5d6fe45ad5b02d98085db754b78ac.js:10015
(anonymous) @ _application-b00d9e09c75d5d7ecef09d201960762fe0e5d6fe45ad5b02d98085db754b78ac.js:14834
g @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:70136
k @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:70309
C @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:70295
t.invoke @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:64637
t.flush @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:64527
t.flush @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:64731
t._end @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:65307
t.end @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:64993
t._run @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:65362
t.run @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:65042
h @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:51824
r.success @ _application-b00d9e09c75d5d7ecef09d201960762fe0e5d6fe45ad5b02d98085db754b78ac.js:10180
n @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:3305
fireWith @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:3435
l @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:9547
(anonymous) @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:9799
load (async)
send @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:9818
ajax @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:9448
i @ _application-b00d9e09c75d5d7ecef09d201960762fe0e5d6fe45ad5b02d98085db754b78ac.js:10221
(anonymous) @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:70335
n @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:70843
o @ _application-b00d9e09c75d5d7ecef09d201960762fe0e5d6fe45ad5b02d98085db754b78ac.js:10235
update @ _application-b00d9e09c75d5d7ecef09d201960762fe0e5d6fe45ad5b02d98085db754b78ac.js:13933
(anonymous) @ _application-b00d9e09c75d5d7ecef09d201960762fe0e5d6fe45ad5b02d98085db754b78ac.js:14803
g @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:70136
k @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:70309
(anonymous) @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:70374
t.invoke @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:64637
t.flush @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:64527
t.flush @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:64731
t._end @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:65307
t.end @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:64993
t._run @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:65362
t._join @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:65336
t.join @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:65053
p @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:51878
(anonymous) @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:44419
r @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:48299
handleEvent @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:44415
handleEvent @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:43352
(anonymous) @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:43742
dispatch @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:5251
v.handle @ _ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:5058
Show 42 more frames

設定の正確な値は以下の通りです:

  • S3 バケット名
  • S3 アップロードの有効化
  • 安全なメディア

下記をご覧ください

image

CDN を設定していますか?

いいえ、CDNは使用していません。Cloudflareのみを使用しています。

Cloudflare の最適化はオンになっていますか?もしそうなら、オレンジ色のクラウドではなく、グレーのクラウドに変更してみてください。

Cloudflare の最適化が無効になっています。クラウドのアイコンをグレーに変更しましたが、試しても同じで、まだ 500 エラーが発生しています。

image

DNS として Cloudflare のみを使用することは自由ですが、私の経験上、Discourse は Cloudflare のプロキシと相性が悪く、推奨しません。別の CDN を利用することをお勧めします。選択肢はたくさんあります。

しかし、問題は Cloudflare ではないと思います。これまで問題がなかったからです。また、すべての投稿に問題はなく、一部にのみ問題があります。

@Celilさん、私も最近同じ問題を経験しました。送信しようとしたところ:

@@ -1,37 +1,40 @@
-1.\t## **Problem**
+#### Problem
 
-	<!-- In the space below this line, describe briefly how the problem appears to a user. -->
+	<!-- In the space below this line, describe briefly how the problem appears to a user. -->
 
-	Installing https://kojipkgs.fedoraproject.org//packages/nextcloud-client/3.12.1/1.fc40/x86_64/nextcloud-client-3.12.1-1.fc40.x86_64.rpm (from https://koji.fedoraproject.org/koji/rpminfo?rpmID=37986784) causes neither the button icons nor context menu entries whatsoever to render:
+Installing [`nextcloud-client-3.12.1-1.fc40`](https://kojipkgs.fedoraproject.org//packages/nextcloud-client/3.12.1/1.fc40/x86_64/nextcloud-client-3.12.1-1.fc40.x86_64.rpm) [^1] causes neither the button icons nor context menu entries whatsoever to render:
 
-	> ![Screenshot_20240327_140512|391x500](upload://zYLry4EObChENbAFMLVWHd0V52u.png)
+[^1]: [`koji.fedoraproject.org/koji/rpminfo?rpmID=37986784`](https://koji.fedoraproject.org/koji/rpminfo?rpmID=37986784)
 
-	## **Cause**
+> ![`Screenshot_20240327_140512|391x500`](upload://zYLry4EObChENbAFMLVWHd0V52u.png)
 
-	<!-- If we know what causes the issue, describe that in one or two lines, without getting deeply technical. -->
-	<!-- Link to other posts explaining technical details if it seems useful. -->
+#### Causes
 
-	Not yet known.
+<!-- If we know what causes the issue, describe that in one or two lines, without getting deeply technical. -->
+<!-- Link to other posts explaining technical details if it seems useful. -->
+
+Not yet known.
 
-1.\t## **Related Issues**
+#### Related Issues
 
-	<!-- Replace both instances of NNNN with the bugzilla bug ID in the Bugzilla line below. -->
-	<!-- If there are more than one related bug, copy to new lines for each. -->
+<!-- Replace both instances of NNNN with the bugzilla bug ID in the Bugzilla line below. -->
+<!-- If there are more than one related bug, copy to new lines for each. -->
 
-	1.\thttps://bugzilla.redhat.com/show_bug.cgi?id=2271842#c0
-	1.\t[quote="Mr. Beedell, Roke Julian Lockhart (RJLB), post:5, topic:109827, username:rokejulianlockhart"]
-	\thttps://github.com/nextcloud/desktop/issues/6594#issue-2213769118
-	\t[/quote]
+-\t[`bugzilla.redhat.com/show_bug.cgi?id=2271842`](https://bugzilla.redhat.com/show_bug.cgi?id=2271842#c0)
 
-	<!-- If there are upstream trackers covering this issue, you could link them here too. -->
-	<!-- You may also want to link to related discussions on Ask Fedora. -->
-	<!-- And, if there are similar problems that are NOT this one, note that too, with links. -->
+-\t[quote="Mr. Beedell, Roke Julian Lockhart (RJLB), post:5, topic:109827, username:rokejulianlockhart"]
+\t[`github.com/nextcloud/desktop/issues/6594`](https://github.com/nextcloud/desktop/issues/6594#issue-2213769118)
+\t[/quote]
 
-1.\t## **Workarounds**
+<!-- If there are upstream trackers covering this issue, you could link them here too. -->
+<!-- You may also want to link to related discussions on Ask Fedora. -->
+<!-- And, if there are similar problems that are NOT this one, note that too, with links. -->
 
-	<!-- When the issue is solved, change this to "Solution" and mark a reply, below, with that solution. -->
+#### Workarounds
 
-	<!-- If there are steps users can take to mitigate the problem, list those here. -->
+<!-- When the issue is solved, change this to "Solution" and mark a reply, below, with that solution. -->
 
-	None yet.
+<!-- If there are steps users can take to mitigate the problem, list those here. -->
+
+None yet.

…として、discussion.fedoraproject.org/t/109827/1 の新しいコンテンツから観察したところ:

~~~JSON { "log": { "version": "1.2", "creator": { "name": "Firefox", "version": "150.0a1" }, "browser": { "name": "Firefox", "version": "150.0a1" }, "pages": [ { "id": "page_1", "pageTimings": { "onContentLoad": -1, "onLoad": -1 }, "startedDateTime": "2026-03-17T21:53:04.873+00:00", "title": "https://discussion.fedoraproject.org/t/button-iconography-absent-in-nextcloud-client/109827" } ], "entries": [ { "startedDateTime": "2026-03-17T21:53:04.873+00:00", "request": { "bodySize": 151, "method": "PUT", "url": "https://discussion.fedoraproject.org/t/109827/tags", "httpVersion": "HTTP/2", "queryString": [], "headersSize": 1800, "postData": { "mimeType": "application/x-www-form-urlencoded", "params": [ { "name": "tags[0][id]", "value": "395" }, { "name": "tags[0][name]", "value": "kde" }, { "name": "tags[0][slug]", "value": "kde" }, { "name": "tags[1][id]", "value": "947" }, { "name": "tags[1][name]", "value": "f40" }, { "name": "tags[1][slug]", "value": "f40" } ], "text": "tags%5B0%5D%5Bid%5D=395&tags%5B0%5D%5Bname%5D=kde&tags%5B0%5D%5Bslug%5D=kde&tags%5B1%5D%5Bid%5D=947&tags%5B1%5D%5Bname%5D=f40&tags%5B1%5D%5Bslug%5D=f40" } }, "response": { "status": 500, "statusText": "", "httpVersion": "HTTP/2", "cookies": [], "content": { "mimeType": "text/html; charset=utf-8", "size": 658, "text": "\n\n\n Oops - Error 500\n \n\n\n

Oops

\n

The software powering this discussion forum encountered an unexpected problem. We apologize for the inconvenience.

\n

Detailed information about the error was logged, and an automatic notification generated. We'll take a look at it.

\n

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.

\n\n\n" }, "redirectURL": "", "headersSize": 526, "bodySize": 1184 }, "cache": {}, "timings": { "blocked": 0, "dns": 0, "connect": 0, "ssl": 0, "send": 0, "wait": 354, "receive": 0 }, "time": 354, "_securityState": "secure", "serverIPAddress": "184.105.99.43", "connection": "443", "pageref": "page_1" }, { "startedDateTime": "2026-03-17T21:53:05.743+00:00", "request": { "bodySize": 103, "method": "POST", "url": "https://discussion.fedoraproject.org/presence/update", "httpVersion": "HTTP/2", "queryString": [], "headersSize": 1843, "postData": { "mimeType": "application/x-www-form-urlencoded", "params": [ { "name": "client_id", "value": "df74222a2ae04283b0bd48d210ba2dab" }, { "name": "present_channels[]", "value": "/discourse-presence/edit/285884" } ], "text": "client_id=df74222a2ae04283b0bd48d210ba2dab&present_channels%5B%5D=%2Fdiscourse-presence%2Fedit%2F285884" } }, "response": { "status": 200, "statusText": "", "httpVersion": "HTTP/2", "content": { "mimeType": "application/json; charset=utf-8", "size": 40, "text": "{\"/discourse-presence/edit/285884\":true}" }, "redirectURL": "", "headersSize": 1468, "bodySize": 1508 }, "cache": {}, "timings": { "blocked": 0, "dns": 0, "connect": 0, "ssl": 0, "send": 0, "wait": 207, "receive": 0 }, "time": 207, "_securityState": "secure", "serverIPAddress": "184.105.99.43", "connection": "443", "pageref": "page_1" } ] } } ~~~

HARから$.log.entries[\\d+].request.headersを削除しました。

kdef40のタグを削除することで解決しました。したがって、問題はエラーメッセージが十分に説明的でないことにあるようです。

余談

しかし、その後のすべての変更試行:

@@ -38,3 +38,11 @@ None yet.
 
 <!-- If there are steps users can take to mitigate the problem, list those here. -->
 
 None yet.
+
+---
+
+#### Tangential
+
+This post should be tagged, but cannot be:
+
+https://meta.discourse.org/t/i-get-500-error-error-while-editing-post/136500/17?u=rokejulianlockhart
\ No newline at end of file

…は、他所で遭遇したエラーで失敗します。