Deploy Ubuntu 24.04 Noble Numbat Discussion
[alert] 104403#104403: *538 Error opening '/home/deploy/app_name/current/Passengerfile.json' for reading: Permission denied (errno=13); This error means that the Nginx worker process (PID 104403, running as UID 33) does not have permission to access this file. Please read this page to learn how to fix this problem: https://www.phusionpassenger.com/library/admin/nginx/troubleshooting/?a=upon-accessing-the-web-app-nginx-reports-a-permission-denied-error; Extra info, client: , server: _, request: "GET / HTTP/1.1", host: ""
Passenger doesn't have yet the noble release for Ubuntu 24.04, so how this tutorial works successfully? When I am trying to install passenger I am getting "The repository 'https://oss-binaries.phusionpassenger.com/apt/passenger noble Release' does not have a Release file." error..
I confirm. I was not able to install Passenger.
$ sudo apt-get update
Hit:1 http:// mirrors.digitalocean.com/ubuntu noble InRelease
Hit:2 http:// mirrors.digitalocean.com/ubuntu noble-updates InRelease
Hit:3 http:// mirrors.digitalocean.com/ubuntu noble-backports InRelease
Hit:4 https:// deb.nodesource.com/node_20.x nodistro InRelease
Hit:5 https:// dl.yarnpkg.com/debian stable InRelease
Hit:6 https:// repos-droplet.digitalocean.com/apt/droplet-agent main InRelease
Hit:7 http:// security.ubuntu.com/ubuntu noble-security InRelease
Ign:8 https:// ppa.launchpadcontent.net/chris-lea/redis-server/ubuntu noble InRelease
Ign:9 https:// oss-binaries.phusionpassenger.com/apt/passenger noble InRelease
Err:10 https:// ppa.launchpadcontent.net/chris-lea/redis-server/ubuntu noble Release
404 Not Found [IP: 185.125.190.80 443]
Err:11 https:// oss-binaries.phusionpassenger.com/apt/passenger noble Release
404 Not Found [IP: 109.107.35.58 443]
Reading package lists... Done
E: The repository 'https:// ppa.launchpadcontent.net/chris-lea/redis-server/ubuntu noble Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https:// oss-binaries.phusionpassenger.com/apt/passenger noble Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: https:// dl.yarnpkg.com/debian/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
I took a risk and followed the installation tutorial here: https:// phusionpassenger.com/library/walkthroughs/deploy/ruby/digital_ocean/nginx/oss/install_passenger_main.html
Select the 'Other / OS independent (generic installation method)' and 'RubyGems (without RVM)' options. Nginx and Passenger are installed on my Ubuntu 24 virtual machine.
apt-key add is deprecated and the instructions to use that to install yarn should be changed. LinuxGenie has better methods of installing yarn.