게시물 수정 시 "500 error" 오류가 발생합니다

안녕하세요. 게시물을 편집할 때 “500 error” 오류가 발생합니다. 모든 게시물에서 발생하는 것은 아닙니다. 안전 모드(Safe mode)를 켜서 시도해 보았으며, 이미지와 오류 로그를 첨부합니다. 최신 버전으로 업데이트했지만 여전히 문제가 발생합니다. 도와주실 수 있을까요?

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

NoMethodError (undefined method `downcase' for nil:NilClass) /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'

여전히 이 문제가 발생하고 있습니다. 일부 페이지에서는 문제가 없지만, 다른 페이지에서는 발생합니다. 때때로 다음과 같은 문제가 나타납니다. 마치 JS 문제인 것처럼 보입니다.

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 최적화가 꺼져 있습니다. 그리고 클라우드를 회색으로 변경했습니다. 시도해 봤지만 결과는 동일합니다. 여전히 500 오류가 발생합니다.

image

Cloudflare를 DNS로만 사용하는 것은 괜찮습니다. 하지만 제 경험상 Discourse와 Cloudflare 프록시는 잘 맞지 않았습니다. :broken_heart: 사용을 피하시는 것을 권장합니다. 다른 CDN을 사용하실 수 있습니다. 선택지가 많이 있습니다.

하지만 제 생각에는 문제가 Cloudflare 때문은 아닌 것 같습니다. 지금까지는 아무 문제가 없었거든요. 또한 모든 게시물도 여전히 문제없고, 일부는 문제가 있습니다.

@Celil, 저도 최근에 동일한 문제를 겪었습니다 — 제출을 시도했을 때였죠:

@@ -1,37 +1,40 @@
-1.	## **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. -->
 
-1.	## **Related Issues**
+Not yet known.
 
-	<!-- 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. -->
+#### Related Issues
 
-	1.	https://bugzilla.redhat.com/show_bug.cgi?id=2271842#c0
-	1.	[quote="Mr. Beedell, Roke Julian Lockhart (RJLB), post:5, topic:109827, username:rokejulianlockhart"]
-		https://github.com/nextcloud/desktop/issues/6594#issue-2213769118
-		[/quote]
+<!-- 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. -->
 
-	<!-- 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. --> 
+-	[`bugzilla.redhat.com/show_bug.cgi?id=2271842`](https://bugzilla.redhat.com/show_bug.cgi?id=2271842#c0)
 
+-	[quote="Mr. Beedell, Roke Julian Lockhart (RJLB), post:5, topic:109827, username:rokejulianlockhart"]
+	[`github.com/nextcloud/desktop/issues/6594`](https://github.com/nextcloud/desktop/issues/6594#issue-2213769118)
+	[/quote]
 
-1.	## **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. -->
 
-	<!-- If there are steps users can take to mitigate the problem, list those here. -->
+#### Workarounds
 
-	None yet.
+<!-- When the issue is solved, change this to "Solution" and mark a reply, below, with that solution. -->
+
+<!-- If there are steps users can take to mitigate the problem, list those here. -->
+
+None yet.

…discussion.fedoraproject.org/t/109827/1의 새로운 내용으로, 저는 다음과 같은 것을 관찰했습니다:

{
  "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": "<!DOCTYPE html>\n<html>\n<head>\n  <title>Oops - Error 500</title>\n  <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\n</head>\n<body>\n    <h1>Oops</h1>\n    <p>The software powering this discussion forum encountered an unexpected problem. We apologize for the inconvenience.</p>\n    <p>Detailed information about the error was logged, and an automatic notification generated. We'll take a look at it.</p>\n    <p>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.</p>\n</body>\n</html>\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를 제거했습니다.

저는 kde와 f40 태그를 제거함으로써 문제를 해결했습니다. 결과적으로, 이 문제는 오류 메시지가 충분히 설명적이지 않다는 것입니다.

부수적 사항

그러나 이후 수정을 위한 모든 시도:

@@ -38,3 +38,11 @@ Not yet known.
 <!-- 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

…는 제가 다른 곳에서 겪었던 오류와 함께 실패합니다: