I get "500 error" error while editing post

Hi. I get “500 error” error while editing posts. not all of them have this problem. I tried safe mode on. I add image and error log. I’ve updated to the latest version but I’m still having trouble. can you help me?

for example: Teknolojik Aletlerin Sebep Olduğu Hastalıklar Nelerdir? - Hastalıklar - Sesan Forum

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>'

2 לייקים

Looks like an invalid URL entry in your site settings based on the stack trace?

לייק 1

I cant understand what you mean exactly.

It looks like your site settings have an invalid URL that is causing the error. Double check your modified site settings.

Did you somehow enabled s3 for uploads while leaving a blank bucket name setting? That shouldn’t be possible but looks like it is.

2 לייקים

I check the settings but there is no problem I think. When I check the logs there is a new error appeared. I cant solve the problem yet.

I am having the same problem on many pages and it affects the overall usage of the site.

for example: SGK MEDULA Web Servisleri Kullanım Kılavuzu - SGK - Medikal Bulut

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'

I’m still having this problem. some pages have no problem, but others have this. sometimes the following problem occurs. as if it was a js issue.

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

What is the exact value of the settings:

  • s3 bucket name
  • enable s3 uploads
  • secure media
2 לייקים

as below

image

Do you have a CDN configured?

no I dont use cdn. I am using just cloudflare.

לייק 1

Do you have cloudflare optimization turned on? If so try changing to the gray cloud, not orange cloud.

cloudflare optimization is turned off. and I change the cloud to gray. I tried but its same. still 500 error.

image

You’re welcome to use Cloudflare only as DNS, however Discourse :broken_heart: Cloudflare Proxy never went well in my experience. I would suggest avoiding it. You can use another CDN. There are lots of options.

But I think the problem is not about cloudflare. because to date we did not have any problems. also all posts are still no problem, some have.

@Celil, I recently experienced the same problem — when I attempted to submit:

@@ -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.

…as the new content of discussion.fedoraproject.org/t/109827/1, I observed:

{
  "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"
      }
    ]
  }
}

I’ve removed \$\.log\.entries\[\d+\]\.request\.headers from that HAR.

I solved it by removing the kde and f40 tags. Consequently, the problem appears to be that the error message is not sufficiently descriptive.

Tangential

However, all subsequent attempts to modify it:

@@ -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

…fail, with an error that I have encountered elsewhere: