Zammad ruby Digest initialization failed:

Infos:

  • Used Zammad version: Package zammad-6.2.0-1710415722.ca3a5152.centos8.x86_64
  • Used Zammad installation type: package
  • Operating system: Red Hat Enterprise Linux 8.9 (Ootpa), Linux 4.18.0-513.18.1.el8_9.x86_64
  • Browser + version: N/A

Expected behavior:

zammad-web-1 service listen on 3000 port
zammad run rails c should open console

Actual behavior:

Nothing listen on 3000 port.
zammad run rails c display this error.

opt/zammad/vendor/bundle/ruby/3.1.0/gems/openssl-3.2.0/lib/openssl/digest.rb:31:in `initialize': Digest initialization failed: disabled for FIPS (OpenSSL::Digest::DigestError)
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/openssl-3.2.0/lib/openssl/digest.rb:31:in `block (3 levels) in <class:Digest>'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/openssl-3.2.0/lib/openssl/digest.rb:38:in `new'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/openssl-3.2.0/lib/openssl/digest.rb:38:in `block (3 levels) in <class:Digest>'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.8.1/lib/active_support/digest.rb:18:in `hexdigest'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.8.1/lib/active_record/relation.rb:326:in `compute_cache_key'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.8.1/lib/active_record/integration.rb:164:in `collection_cache_key'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.8.1/lib/active_record/relation.rb:322:in `cache_key'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.8.1/lib/active_record/relation.rb:401:in `cache_key_with_version'
from /opt/zammad/app/models/object_manager/attribute/set_defaults.rb:60:in `attributes_for'
from /opt/zammad/app/models/object_manager/attribute/set_defaults.rb:9:in `after_initialize'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:423:in `block in make_lambda'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:236:in `block in halting_and_conditional'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:599:in `block in invoke_after'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:599:in `each'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:599:in `invoke_after'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:108:in `run_callbacks'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:929:in `_run_initialize_callbacks'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.8.1/lib/active_record/core.rb:471:in `initialize'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.8.1/lib/active_record/inheritance.rb:75:in `new'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.8.1/lib/active_record/inheritance.rb:75:in `new'
from /opt/zammad/lib/models.rb:51:in `block in all'
from <internal:dir>:220:in `glob'
from /opt/zammad/lib/models.rb:34:in `all'
from /opt/zammad/config/initializers/models_preload.rb:7:in `block in <main>'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:445:in `instance_exec'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:445:in `block in make_lambda'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:199:in `block (2 levels) in halting'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:687:in `block (2 levels) in default_terminator'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:686:in `catch'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:686:in `block in default_terminator'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:200:in `block in halting'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:595:in `block in invoke_before'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:595:in `each'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:595:in `invoke_before'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:106:in `run_callbacks'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.8.1/lib/active_support/reloader.rb:88:in `prepare!'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/railties-7.0.8.1/lib/rails/application/finisher.rb:68:in `block in <module:Finisher>'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/railties-7.0.8.1/lib/rails/initializable.rb:32:in `instance_exec'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/railties-7.0.8.1/lib/rails/initializable.rb:32:in `run'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/railties-7.0.8.1/lib/rails/initializable.rb:61:in `block in run_initializers'
from /opt/zammad/vendor/ruby-3.1.3/lib/ruby/3.1.0/tsort.rb:228:in `block in tsort_each'
from /opt/zammad/vendor/ruby-3.1.3/lib/ruby/3.1.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
from /opt/zammad/vendor/ruby-3.1.3/lib/ruby/3.1.0/tsort.rb:431:in `each_strongly_connected_component_from'
from /opt/zammad/vendor/ruby-3.1.3/lib/ruby/3.1.0/tsort.rb:349:in `block in each_strongly_connected_component'
from /opt/zammad/vendor/ruby-3.1.3/lib/ruby/3.1.0/tsort.rb:347:in `each'
from /opt/zammad/vendor/ruby-3.1.3/lib/ruby/3.1.0/tsort.rb:347:in `call'
from /opt/zammad/vendor/ruby-3.1.3/lib/ruby/3.1.0/tsort.rb:347:in `each_strongly_connected_component'
from /opt/zammad/vendor/ruby-3.1.3/lib/ruby/3.1.0/tsort.rb:226:in `tsort_each'
from /opt/zammad/vendor/ruby-3.1.3/lib/ruby/3.1.0/tsort.rb:205:in `tsort_each'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/railties-7.0.8.1/lib/rails/initializable.rb:60:in `run_initializers'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/railties-7.0.8.1/lib/rails/application.rb:372:in `initialize!'
from /opt/zammad/config/environment.rb:7:in `<main>'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.17.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.17.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/zeitwerk-2.6.13/lib/zeitwerk/kernel.rb:34:in `require'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/railties-7.0.8.1/lib/rails/application.rb:348:in `require_environment!'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/railties-7.0.8.1/lib/rails/command/actions.rb:28:in `require_environment!'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/railties-7.0.8.1/lib/rails/command/actions.rb:15:in `require_application_and_environment!'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/railties-7.0.8.1/lib/rails/commands/console/console_command.rb:105:in `perform'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/thor-1.3.0/lib/thor/command.rb:28:in `run'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/thor-1.3.0/lib/thor/invocation.rb:127:in `invoke_command'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/thor-1.3.0/lib/thor.rb:527:in `dispatch'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/railties-7.0.8.1/lib/rails/command/base.rb:87:in `perform'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/railties-7.0.8.1/lib/rails/command.rb:48:in `invoke'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/railties-7.0.8.1/lib/rails/commands.rb:18:in `<main>'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.17.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.17.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
from /opt/zammad/bin/rails:5:in `<main>'

Steps to reproduce the behavior:

  • simply run zammad ruby c

CentOS 8 comes with OpenSSL 1 not 3 and thus you cannot use the package on the OS you’re trying to use.

Thank you for swift advise.

The problem is that we don’t know what can be other option. Also what is very strange that we made an instalation on RHEL 9 with ammad.x86_64 5.2.3-1666367682.702fc29a.centos8

Question is what is the other package source that is recommeded for RHEL ?

There’s no other package source for RHEL installations.
Either go by docker-compose or source installation if you have to stick to RHEL or consider using Ubuntu / Debian.

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