Comments (6)
I investigated this issue and tried running the installer against a 22.04 virtual machine. Here are the issues I found:
- Nodejs 10 is not available for Ubuntu 22.04. I finally used Nodejs 12 instead.
- Ubuntu ships openssl3 while RVM needs the openssl1 development libraries to compile the ruby version. At the time of writing, there is an open issue in the RVM repository regarding this issue, and it seems it is not yet clear how is gonna be solved.
- I had to remove the
host
entry from the database.yml to avoid a Segmentation fault error with thepg
gem. Adding gssencmode to the database.yml did not work for me. - As MongoDB still uses openssl1 instead of openssl3 the MongoDB packages cannot be installed in Ubuntu 22.04.
from installer.
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.
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 openssl1
package.
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.
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.
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)
- Error running rails console HOT 1
- Install Error SSH Key HOT 2
- Error al modificar estilos y subir imagenes HOT 2
- Do I need this installer? HOT 3
- Capistrano Deployment Error HOT 15
- Installer fails on gem install HOT 12
- TASK [rails : Precompile assets] aborted. RuntimeError HOT 9
- the remote end hung up unexpectedly HOT 6
- Adding Certbot ppa fails for Ubuntu 20.04 HOT 2
- Problem of validate account HOT 1
- Capistrano deployment HOT 3
- Public Key not being recognized HOT 1
- Automatically restart delayed job processes when they stop HOT 1
- Allow using a separate database server
- Debian buster broken CI configuration HOT 2
- Missing packages - sudo, gnupg, lsb-release HOT 3
- 422 The change you wanted was rejected HOT 5
- Installer gets stuck on task select default ruby HOT 6
- First Capistrano update fails `mkdir: cannot create directory β/home/deployβ: Permission denied` Ubuntu 20.04 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from installer.