Git Product home page Git Product logo

Comments (6)

Senen avatar Senen commented on August 29, 2024

I investigated this issue and tried running the installer against a 22.04 virtual machine. Here are the issues I found:

from installer.

Senen avatar Senen commented on August 29, 2024

Since rvm/rvm PR5308 was merged, the OpenSSL dependency is no longer a problem as now RVM provides a downloadable binary for Ruby 2.7.6 and newer versions on x86/64 and aarch64 architectures.

Here is the binary for x86_64 for the 2.7.7 version (current ruby version):
https://github.com/rvm/rvm/pull/5308/files#diff-451ae618e3abee7ee8e932222741a6c0f95e46c5aa9f625898a2a14136b9c047R1180

Here is a link to the build that makes me realize about the MongoDB issue.

from installer.

Senen avatar Senen commented on August 29, 2024

Results using Vagrant with the latest available Ubuntu Jammy image:

deploy@ubuntu-jammy:~$ rvm install ruby-2.7.6
Searching for binary rubies, this might take some time.
Found remote file https://rvm_io.global.ssl.fastly.net/binaries/ubuntu/22.04/x86_64/ruby-2.7.6.tar.bz2
Checking requirements for ubuntu.
Requirements installation successful.
ruby-2.7.6 - #configure
ruby-2.7.6 - #download
ruby-2.7.6 - #validate archive
ruby-2.7.6 - #extract
ruby-2.7.6 - #validate binary
Libraries missing for ruby-2.7.6: libcrypto.so.1.1,libssl.so.1.1. Refer to your system manual for installing libraries
Mounting remote ruby failed with status 10, trying to compile.
Checking requirements for ubuntu.
Requirements installation successful.
Installing Ruby from source to: /home/deploy/.rvm/rubies/ruby-2.7.6, this may take a while depending on your cpu(s)...
ruby-2.7.6 - #downloading ruby-2.7.6, this may take a while depending on your connection...
ruby-2.7.6 - #extracting ruby-2.7.6 to /home/deploy/.rvm/src/ruby-2.7.6.....
ruby-2.7.6 - #configuring........................................................................
ruby-2.7.6 - #post-configuration..
ruby-2.7.6 - #compiling.........................................................................................
ruby-2.7.6 - #installing..............
Error running '__rvm_make install',
please read /home/deploy/.rvm/log/1678455532_ruby-2.7.6/install.log
There has been an error while running make install. Halting the installation.

Even with the precompiled version, we still need the openssl1package.

For the current CONSUL Ruby version (2.7.7) we must install the missing openssl1 libraries manually. Another option is to upgrade CONSUL to Ruby 3 and hopefully forget about this 🀞🏼 .

from installer.

javierm avatar javierm commented on August 29, 2024

Another option is to upgrade CONSUL to Ruby 3 and hopefully forget about this 🀞🏼 .

The RVM issue mentioned the same problem with Ruby 3.0 πŸ€”, so I guess we'd have to upgrade to Ruby 3.1, which unfortunately will take some time πŸ˜….

from installer.

javierm avatar javierm commented on August 29, 2024

After the changes in pull request #221, the current status is that the installer fails on Ubuntu 22.04 in the "specs" step; testing a URL results in a 502 error.

Debugging shows Puma is running and its socket has 777 permissions. However, in the nginx logs, we get:

2023/10/17 23:50:32 [crit] 6032#6032: *1 stat() "/home/deploy/consul/current/public//index.html" failed (13: Permission denied), client: ::1, server: localhost, request: "GET / HTTP/1.1", host: "localhost"
2023/10/17 23:50:32 [crit] 6032#6032: *1 stat() "/home/deploy/consul/current/public/" failed (13: Permission denied), client: ::1, server: localhost, request: "GET / HTTP/1.1", host: "localhost"
2023/10/17 23:50:32 [crit] 6032#6032: *1 connect() to unix:/home/deploy/consul/shared/tmp/sockets/puma.sock failed (13: Permission denied) while connecting to upstream, client: ::1, server: localhost, request: "GET / HTTP/1.1", upstream: "http://unix:/home/deploy/consul/shared/tmp/sockets/puma.sock:/", host: "localhost"

from installer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.