rails r ‘Setting.set(‘system_bcc’, ‘xxx@xxx.de’)’
I, [2023-12-06T16:16:30.605501 #60] INFO – : ActionCable is using the redis instance at redis://zammad-redis:6379.
I, [2023-12-06T16:16:30.615284#60-5980] INFO – : Using memcached as Rails cache store.
I, [2023-12-06T16:16:30.615372#60-5980] INFO – : Using the Redis back end for Zammad’s web socket session store.
Please specify a valid ruby command or the path of a script to run.
Run ‘rails runner -h’ for help.
zammad@ed92ce18b028:~$ rails r “Setting.set(‘system_bcc’, ‘xxx@xxx.de’)”
I, [2023-12-07T08:14:22.187389 #114] INFO – : ActionCable is using the redis instance at redis://zammad-redis:6379.
I, [2023-12-07T08:14:22.223688#114-5980] INFO – : Using memcached as Rails cache store.
I, [2023-12-07T08:14:22.224098#114-5980] INFO – : Using the Redis back end for Zammad’s web socket session store.
/opt/zammad/app/models/setting.rb:39:in set': Can't find config setting 'system_bcc' (RuntimeError) from /usr/local/bundle/gems/railties-7.0.8/lib/rails/commands/runner/runner_command.rb:46:in ’
from /usr/local/bundle/gems/railties-7.0.8/lib/rails/commands/runner/runner_command.rb:46:in eval' from /usr/local/bundle/gems/railties-7.0.8/lib/rails/commands/runner/runner_command.rb:46:in perform’
from /usr/local/bundle/gems/thor-1.3.0/lib/thor/command.rb:28:in run' from /usr/local/bundle/gems/thor-1.3.0/lib/thor/invocation.rb:127:in invoke_command’
from /usr/local/bundle/gems/thor-1.3.0/lib/thor.rb:527:in dispatch' from /usr/local/bundle/gems/railties-7.0.8/lib/rails/command/base.rb:87:in perform’
from /usr/local/bundle/gems/railties-7.0.8/lib/rails/command.rb:48:in invoke' from /usr/local/bundle/gems/railties-7.0.8/lib/rails/commands.rb:18:in ’
from /usr/local/bundle/gems/bootsnap-1.17.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in require' from /usr/local/bundle/gems/bootsnap-1.17.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in require’
from bin/rails:5:in `’