-
Notifications
You must be signed in to change notification settings - Fork 549
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debian 12 "bookworm" support #2488
Comments
We do plan to support it, it missed the last release due to a delay in the official docker image being released but it will almost certainly be included in the next passenger release. |
Is there an ETA for Debian 12 "bookworm"? |
Is there an ETA for Debian 12 "bookworm"? |
soon™ |
Is there a workaround like building the package manually in the meantime of soon™ becomes now™?
|
@aurels absolutely, just checkout passenger & submodules then use the build script for the debian package, something like this:
Then the packages will be in |
Thanks @CamJN, I'll try ! |
I tried to run the commands on a fresh Debian 12 installation, and it gave this error in the end.
I even installed Docker and repeated the commands.
Do I need to run them in a specific directory? |
@celsoannes if you installed docker and the script cannot find docker, that's some kind of PATH issue. |
You need to install docker-ce or docker-ce-cli, not docker |
"apt-get install docker.io" did it for me on debian 12 itself :) |
@ctessarek It didn't give that error anymore after installing
But the folder where the package should be is empty.
|
i got the same error when trying as root. try again as non-root user (and make sure this non-root user is in the group "docker") :) |
oh yeah the script requires the user that runs it to have a "user" uid, not a "system" uid, so if your uid is under 1024 or so you might have issues. I think by default debian/ubuntu creates normal users in a high enough range. |
I wasn't sure, so I went to look for the answer. The UID value is non-negative, with values from zero to 99 typically reserved for the Kernel, values from 100 to 999 reserved for system administration, and values from 1000 to 59999 allocated for system user groups. The default UID configuration can be found in the file at /etc/adduser.conf.
I tried to run it as a system user and it gave this error:
It didn't work with
On one hand, I cannot run it because I don't have sufficient permission, on the other hand, I have too much permission. |
@celsoannes you must add the user that runs the script to the docker group, in order to have permission to use docker. |
I'm not familiar with Docker, but it seems like everything is okay.
It seems correct now, but I'm still encountering errors.
|
@celsoannes I'm guessing that the |
@CamJN Since I wasn't sure about the Docker installation, as I had pulled in other packages and added a repository for it, I performed a clean installation from scratch, and now it seems to be working.
Question: Can I, since I don't want and don't need Docker on my production server, use the packages (.deb) generated on another Debian 12 server? |
@celsoannes yup, you can install these packages on other amd64 bookworm servers. This is very nearly exactly how we generate the packages ourselves. It looks like either you passed in a |
(I was not able try this yet, I'm currently at Rails World) |
Hi all, I was able to compile with doing this as
Then the commands of @CamJN as And to install: |
If some of you need the resulting DEB files, I can upload them somewhere and give you a link, DM on Twitter (@aurels). |
Any ETA about an official release ? :-) |
Debian 12 "bookworm" was released last month, but I don't see it as an option in your installation instructions:
https://www.phusionpassenger.com/docs/advanced_guides/install_and_upgrade/standalone/install/#select_os
And I also don't see it in your apt repo:
https://oss-binaries.phusionpassenger.com/apt/passenger/dists/
I was wondering if you were planning to support it, and if so, when you think you'll have packages for it? Thanks!
The text was updated successfully, but these errors were encountered: