首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Zammad: zammad rails r "Setting.set('es_url',‘Setting.set’)中的错误

Zammad: zammad rails r "Setting.set('es_url',‘Setting.set’)中的错误
EN

Stack Overflow用户
提问于 2022-08-08 13:08:52
回答 1查看 203关注 0票数 0

我正在Ubuntu22.04.1中安装zammad,当我运行以下命令时:

代码语言:javascript
复制
zammad run rails r "Setting.set('es_url', 'http://localhost:9200')"

得到了这个错误

代码语言:javascript
复制
/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': /lib/x86_64-linux-gnu/libssl.so.1.1: version `OPENSSL_1_1_1' not found (required by /opt/zammad/vendor/bundle/ruby/3.0.0/gems/openssl-3.0.0/lib/openssl.so) - /opt/zammad/vendor/bundle/ruby/3.0.0/gems/openssl-3.0.0/lib/openssl.so (LoadError)
        from /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'
        from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/openssl-3.0.0/lib/openssl.rb:13:in `<main>'
        from /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'
        from /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'
        from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.6.1/lib/active_support/key_generator.rb:4:in `<main>'
        from /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'
        from /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'
        from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/railties-6.1.6.1/lib/rails/application.rb:6:in `<main>'
        from /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'
        from /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'
        from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/railties-6.1.6.1/lib/rails.rb:13:in `<main>'
        from /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'
        from /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'
        from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/railties-6.1.6.1/lib/rails/all.rb:5:in `<main>'
        from /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'
        from /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'
        from /opt/zammad/config/application.rb:5:in `<main>'
        from /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'
        from /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'
        from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/railties-6.1.6.1/lib/rails/command/actions.rb:22:in `require_application!'
        from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/railties-6.1.6.1/lib/rails/command/actions.rb:14:in `require_application_and_environment!'
        from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/railties-6.1.6.1/lib/rails/commands/runner/runner_command.rb:33:in `perform'
        from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
        from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
        from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
        from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/railties-6.1.6.1/lib/rails/command/base.rb:69:in `perform'
        from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/railties-6.1.6.1/lib/rails/command.rb:48:in `invoke'
        from /opt/zammad/vendor/bundle/ruby/3.0.0/gems/railties-6.1.6.1/lib/rails/commands.rb:18:in `<main>'
        from /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'
        from /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'
        from /opt/zammad/bin/rails:10:in `<main>'

我试过了,但也帮不上忙

代码语言:javascript
复制
echo "export LD_LIBRARY_PATH=/usr/bin/openssl" >> ~/.bashrc

有人能帮忙吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2022-08-24 15:00:27

Ubuntu22.04目前在Zammad5.2x中不支持!将在下一个版本5.3左右完成。

问候

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/73278404

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档