Zammad services Failed with result 'exit-code'

Infos:

  • Used Zammad version: i think the newest? idk how i can see it without the website.
    i installed zammad today
  • Used Zammad installation type: package
  • Operating system: Debian 11.5
  • Browser + version: Google Chrome - 107.0.5304.89

Expected behavior:

  • That Zammad works

Actual behavior:

  • if i open the site i get “403 Forbidden”

Steps to reproduce the behavior:

  • /

Syslog:

Dec 1 12:40:15 mail7 systemd[1]: Started zammad.service.
Dec 1 12:40:15 mail7 systemd[1]: Started zammad-web.service.
Dec 1 12:40:15 mail7 systemd[1]: Started zammad-web-1.service.
Dec 1 12:40:15 mail7 systemd[1]: Started zammad-websocket.service.
Dec 1 12:40:15 mail7 systemd[1]: Started zammad-websocket-1.service.
Dec 1 12:40:15 mail7 systemd[1]: Started zammad-worker.service.
Dec 1 12:40:15 mail7 systemd[1]: Started zammad-worker-1.service.
Dec 1 12:40:24 mail7 zammad-web-1.service[45137]: => Booting Puma
Dec 1 12:40:24 mail7 zammad-web-1.service[45137]: => Rails 6.1.6 application starting in production
Dec 1 12:40:24 mail7 zammad-web-1.service[45137]: => Run bin/rails server --help for more startup options
Dec 1 12:40:26 mail7 zammad-web-1.service[45137]: Exiting
Dec 1 12:40:26 mail7 zammad-websocket-1.service[45140]: bundler: failed to load command: script/websocket-server.rb (script/websocket-server.rb)
Dec 1 12:40:26 mail7 zammad-web-1.service[45137]: bundler: failed to load command: script/rails (script/rails)
Dec 1 12:40:26 mail7 zammad-web-1.service[45137]: /opt/zammad/vendor/bundle/ruby/3.0.0/gems/graphql-2.0.9/lib/graphql/schema/field.rb:219:in initialize': unknown keyword: :is_dependent_field (ArgumentError) Dec 1 12:40:26 mail7 zammad-web-1.service[45137]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/graphql-2.0.9/lib/graphql/schema/field.rb:124:in new’
… (much more errors)
Dec 1 12:40:26 mail7 zammad-websocket-1.service[45140]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in block (2 levels) in synchronize' Dec 1 12:40:26 mail7 zammad-websocket-1.service[45140]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in handle_interrupt’
Dec 1 12:40:26 mail7 systemd[1]: zammad-websocket-1.service: Main process exited, code=exited, status=1/FAILURE
Dec 1 12:40:26 mail7 zammad-worker-1.service[45143]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activerecord-6.1.6/lib/active_record/timestamp.rb:121:in _update_record' Dec 1 12:40:26 mail7 zammad-worker-1.service[45143]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activerecord-6.1.6/lib/active_record/persistence.rb:900:in create_or_update’
Dec 1 12:40:26 mail7 zammad-worker-1.service[45143]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activerecord-6.1.6/lib/active_record/callbacks.rb:457:in block in create_or_update' Dec 1 12:40:26 mail7 zammad-worker-1.service[45143]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.6/lib/active_support/callbacks.rb:98:in run_callbacks’
Dec 1 12:40:26 mail7 zammad-worker-1.service[45143]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.6/lib/active_support/callbacks.rb:824:in _run_save_callbacks' Dec 1 12:40:26 mail7 zammad-worker-1.service[45143]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activerecord-6.1.6/lib/active_record/callbacks.rb:457:in create_or_update’
Dec 1 12:40:26 mail7 zammad-worker-1.service[45143]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activerecord-6.1.6/lib/active_record/timestamp.rb:126:in create_or_update' Dec 1 12:40:26 mail7 zammad-worker-1.service[45143]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activerecord-6.1.6/lib/active_record/persistence.rb:507:in save!’
Dec 1 12:40:26 mail7 zammad-worker-1.service[45143]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activerecord-6.1.6/lib/active_record/validations.rb:53:in save!' Dec 1 12:40:26 mail7 zammad-worker-1.service[45143]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activerecord-6.1.6/lib/active_record/transactions.rb:302:in block in save!’
Dec 1 12:40:26 mail7 zammad-worker-1.service[45143]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activerecord-6.1.6/lib/active_record/transactions.rb:354:in block in with_transaction_returning_status' Dec 1 12:40:26 mail7 zammad-worker-1.service[45143]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activerecord-6.1.6/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in block in transaction’
Dec 1 12:40:26 mail7 zammad-worker-1.service[45143]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activerecord-6.1.6/lib/active_record/connection_adapters/abstract/transaction.rb:319:in block in within_new_transaction' Dec 1 12:40:26 mail7 zammad-worker-1.service[45143]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in block (2 levels) in synchronize’
Dec 1 12:40:26 mail7 zammad-worker-1.service[45143]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in handle_interrupt' Dec 1 12:40:26 mail7 zammad-web-1.service[45137]: #011from /opt/zammad/vendor/ruby-3.0.4/lib/ruby/3.0.0/tsort.rb:226:in tsort_each’
Dec 1 12:40:26 mail7 zammad-web-1.service[45137]: #011from /opt/zammad/vendor/ruby-3.0.4/lib/ruby/3.0.0/tsort.rb:205:in tsort_each' Dec 1 12:40:26 mail7 zammad-web-1.service[45137]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/railties-6.1.6/lib/rails/initializable.rb:60:in run_initializers’
Dec 1 12:40:26 mail7 zammad-web-1.service[45137]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/railties-6.1.6/lib/rails/application.rb:391:in initialize!' Dec 1 12:40:26 mail7 zammad-web-1.service[45137]: #011from /opt/zammad/config/environment.rb:7:in
Dec 1 12:40:26 mail7 zammad-web-1.service[45137]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in require' Dec 1 12:40:26 mail7 zammad-web-1.service[45137]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in require’
Dec 1 12:40:26 mail7 zammad-web-1.service[45137]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/zeitwerk-2.6.0/lib/zeitwerk/kernel.rb:35:in require' Dec 1 12:40:26 mail7 zammad-web-1.service[45137]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.6/lib/active_support/dependencies.rb:332:in block in require’
Dec 1 12:40:26 mail7 zammad-web-1.service[45137]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.6/lib/active_support/dependencies.rb:299:in load_dependency' Dec 1 12:40:26 mail7 zammad-web-1.service[45137]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.6/lib/active_support/dependencies.rb:332:in require’
Dec 1 12:40:26 mail7 zammad-web-1.service[45137]: #011from config.ru:5:in block in <main>' Dec 1 12:40:26 mail7 zammad-web-1.service[45137]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/rack-2.2.3.1/lib/rack/builder.rb:116:in eval’
Dec 1 12:40:26 mail7 zammad-web-1.service[45137]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/rack-2.2.3.1/lib/rack/builder.rb:116:in new_from_string' Dec 1 12:40:26 mail7 zammad-web-1.service[45137]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/rack-2.2.3.1/lib/rack/builder.rb:105:in load_file’
Dec 1 12:40:26 mail7 zammad-web-1.service[45137]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/rack-2.2.3.1/lib/rack/builder.rb:66:in parse_file' Dec 1 12:40:26 mail7 zammad-web-1.service[45137]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/rack-2.2.3.1/lib/rack/server.rb:349:in build_app_and_options_from_config’
Dec 1 12:40:26 mail7 zammad-web-1.service[45137]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/rack-2.2.3.1/lib/rack/server.rb:249:in app' Dec 1 12:40:26 mail7 zammad-web-1.service[45137]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/rack-2.2.3.1/lib/rack/server.rb:422:in wrapped_app’
Dec 1 12:40:26 mail7 zammad-web-1.service[45137]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/rack-2.2.3.1/lib/rack/server.rb:312:in block in start' Dec 1 12:40:26 mail7 zammad-websocket-1.service[45140]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in block in synchronize’
Dec 1 12:40:26 mail7 zammad-websocket-1.service[45140]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in handle_interrupt' Dec 1 12:40:26 mail7 zammad-websocket-1.service[45140]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in synchronize’
Dec 1 12:40:26 mail7 zammad-websocket-1.service[45140]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activerecord-6.1.6/lib/active_record/connection_adapters/abstract/transaction.rb:317:in within_new_transaction' Dec 1 12:40:26 mail7 zammad-websocket-1.service[45140]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activerecord-6.1.6/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in transaction’
Dec 1 12:40:26 mail7 zammad-websocket-1.service[45140]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activerecord-6.1.6/lib/active_record/transactions.rb:350:in with_transaction_returning_status' Dec 1 12:40:26 mail7 zammad-websocket-1.service[45140]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activerecord-6.1.6/lib/active_record/transactions.rb:302:in save!’
Dec 1 12:40:26 mail7 zammad-websocket-1.service[45140]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activerecord-6.1.6/lib/active_record/suppressor.rb:48:in save!' Dec 1 12:40:26 mail7 zammad-websocket-1.service[45140]: #011from /opt/zammad/app/models/setting.rb:41:in set’
Dec 1 12:40:26 mail7 zammad-websocket-1.service[45140]: #011from /opt/zammad/lib/static_assets.rb:135:in read' Dec 1 12:40:26 mail7 zammad-websocket-1.service[45140]: #011from /opt/zammad/lib/static_assets.rb:173:in sync’
Dec 1 12:40:26 mail7 zammad-websocket-1.service[45140]: #011from /opt/zammad/config/initializers/logo.rb:11:in block in <main>' Dec 1 12:40:26 mail7 zammad-websocket-1.service[45140]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.6/lib/active_support/callbacks.rb:427:in instance_exec’
Dec 1 12:40:26 mail7 zammad-websocket-1.service[45140]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.6/lib/active_support/callbacks.rb:427:in block in make_lambda' Dec 1 12:40:26 mail7 zammad-websocket-1.service[45140]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.6/lib/active_support/callbacks.rb:198:in block (2 levels) in halting’
Dec 1 12:40:26 mail7 zammad-websocket-1.service[45140]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.6/lib/active_support/callbacks.rb:604:in block (2 levels) in default_terminator' Dec 1 12:40:26 mail7 zammad-websocket-1.service[45140]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.6/lib/active_support/callbacks.rb:603:in catch’
Dec 1 12:40:26 mail7 systemd[1]: zammad-websocket-1.service: Failed with result ‘exit-code’.
Dec 1 12:40:26 mail7 zammad-worker-1.service[45143]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in block in synchronize' Dec 1 12:40:26 mail7 zammad-worker-1.service[45143]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in handle_interrupt’
Dec 1 12:40:26 mail7 zammad-worker-1.service[45143]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.6/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in synchronize' … (much more errors) Dec 1 12:40:26 mail7 zammad-websocket-1.service[45140]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/friendly_errors.rb:103:in with_friendly_errors’
Dec 1 12:40:26 mail7 zammad-websocket-1.service[45140]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/exe/bundle:36:in <top (required)>' Dec 1 12:40:26 mail7 zammad-websocket-1.service[45140]: #011from /opt/zammad/bin/bundle:121:in load’
Dec 1 12:40:26 mail7 systemd[1]: zammad-web-1.service: Main process exited, code=exited, status=1/FAILURE
… (much more errors)
Dec 1 12:40:26 mail7 zammad-worker-1.service[45143]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/friendly_errors.rb:103:in with_friendly_errors' Dec 1 12:40:26 mail7 zammad-worker-1.service[45143]: #011from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/exe/bundle:36:in <top (required)>’
Dec 1 12:40:26 mail7 zammad-worker-1.service[45143]: #011from /opt/zammad/bin/bundle:121:in load' Dec 1 12:40:26 mail7 zammad-websocket-1.service[45140]: #011from /opt/zammad/bin/bundle:121:in
Dec 1 12:40:26 mail7 systemd[1]: zammad-web-1.service: Failed with result ‘exit-code’.
Dec 1 12:40:26 mail7 zammad-worker-1.service[45143]: #011from /opt/zammad/bin/bundle:121:in `’
Dec 1 12:40:26 mail7 systemd[1]: zammad-web-1.service: Consumed 3.702s CPU time.
Dec 1 12:40:26 mail7 systemd[1]: zammad-worker-1.service: Main process exited, code=exited, status=1/FAILURE
Dec 1 12:40:26 mail7 systemd[1]: zammad-worker-1.service: Failed with result ‘exit-code’.
Dec 1 12:40:26 mail7 systemd[1]: zammad-worker-1.service: Consumed 3.689s CPU time.
Dec 1 12:40:27 mail7 systemd[1]: zammad-websocket-1.service: Scheduled restart job, restart counter is at 1.
Dec 1 12:40:27 mail7 systemd[1]: zammad-worker-1.service: Scheduled restart job, restart counter is at 1.
Dec 1 12:40:27 mail7 systemd[1]: zammad-web-1.service: Scheduled restart job, restart counter is at 1.

zammad.error.log

2022/12/01 12:19:08 [error] 32517#32517: *21 connect() failed (111: Connection refused) while connecting to upstream, client: xxx, server: yyy, request: “GET / HTTP/1.1”, upstream: “http://127.0.0.1:3000/”, host: “yyy”
2022/12/01 12:19:09 [error] 32517#32517: *21 connect() failed (111: Connection refused) while connecting to upstream, client: xxx, server: yyy, request: “GET / HTTP/1.1”, upstream: “http://127.0.0.1:3000/”, host: “yyy”
2022/12/01 12:22:26 [error] 36579#36579: *26 directory index of “/opt/zammad/public/” is forbidden, client:—, server: yyy, request: “GET / HTTP/1.1”, host: “yyy”
2022/12/01 12:26:05 [error] 38409#38409: *29 directory index of “/opt/zammad/public/” is forbidden, client: —, server: yyy, request: “GET / HTTP/1.1”, host: “yyy”

Doesn’t look like your installation was successful.
Looks like there’s dependencies missing - that’s a vanilla installation without any changes from your end?

This really is a package installation?

Just discovered that my server didn’t have enough disk space. Can be Closed Thank you.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.