简体   繁体   English

Zammad:zammad 运行轨道中的错误 r “Setting.set('es_url', 'http://localhost:9200')”

[英]Zammad: error in zammad run rails r "Setting.set('es_url', 'http://localhost:9200')"

I am installing zammad in Ubuntu 22.04.1, and when I run this command:我在 Ubuntu 22.04.1 中安装 zammad,当我运行此命令时:

zammad run rails r "Setting.set('es_url', 'http://localhost:9200')"

got this error得到这个错误

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

and I tried this, but it is not helping either我试过了,但这也无济于事

echo "export LD_LIBRARY_PATH=/usr/bin/openssl" >> ~/.bashrc

Can anyone help, please?有人可以帮忙吗?

Ubuntu 22.04 is currently not supported in zammad 5.2x. zammad 5.2x 目前不支持 Ubuntu 22.04。 Will be done in next version 5.3 or so.将在下一个版本 5.3 左右完成。

Regards问候

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Elasticsearch-&#39;127.0.0.1:9200&#39;和&#39;localhost:9200&#39;无法在浏览器上连接 - Elasticsearch - '127.0.0.1:9200' and 'localhost:9200' are unable to connect on the browser 在apt-get install之后ElasticSearch没有在localhost:9200上运行 - ElasticSearch not running on localhost:9200 after apt-get install 在本地主机上设置Rails项目,PostgreSQL问题 - Setting up Rails project on localhost, postgresql issue 如何设置cron以在Ubuntu的localhost上运行PHP文件? - How to set cron in to run PHP file on localhost in Ubuntu? 在localhost上配置apache solr搜索会出现错误:HTTP ERROR 500 - Configuring apache solr search on localhost gives error: HTTP ERROR 500 Ubuntu 15.10 elasticsearch 2.3无法连接到localhost端口9200:连接被拒绝 - Ubuntu 15.10 elasticsearch 2.3 Failed to connect to localhost port 9200: Connection refused elasticsearch问题-我使用comand curl -X GET“ localhost:9200”,不工作4 curl -X GET“ public_ipv4_of_ubuntu_server:9200” - elasticsearch issue- i working with comand curl -X GET “localhost:9200” ,not working 4 curl -X GET “public_ipv4_of_ubuntu_server:9200” 在流浪汉中通过URL连接http时出错 - Error connecting http through URL in vagrant 尝试设置Apache + svn,但遇到麻烦。 http:// localhost不起作用 - Trying to set up Apache+svn, but having troubles. http://localhost doesn't work Curl 77 设置证书文件时出错:http_ca.crt - Curl 77 Error setting certificate file: http_ca.crt
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM