-
-
Notifications
You must be signed in to change notification settings - Fork 158
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
createdb
is not available on Void Linux
#1770
Comments
Interesting! I've never heard of Void before. Sounds like maybe we should add some documentation that says you'll need to add shims or something to get access to those utilities if you're developing on that OS locally. Those would never be ran in production, so this is most likely just a user specific setup issue that may need docs. |
Upon further investigation, it seems like there are multiple Postgres versions in the repository, e.g. |
Ah, ok. The only thing I'm worried about would be falling in to the rabbit hole of trying to manage all the possible combinations of distros out there. Like, this is also sort of an issue on Alpine, or even on Ubuntu if you're using pg in a Docker, etc... It'll also become a big issues once Windows is 100% native 😬 It sounds like the best way to handle it really is a better error message of
Instead of just blowing up, we can help point the user as to what they need access to, and then just leave it up to each user to decide. |
Maybe add the following: “On some systems, like Void Linux, or Alpine Linux, these tools are not automatically added to $PATH. Make sure that the installation directory is included in $PATH.” |
On Void Linux, the
initdb
,createdb
, and other tools are installed to/usr/lib/psql14/bin
, which is only added to the path of thepostgres
user. This means thatscript/setup
fails on any default Void Linux installation.The text was updated successfully, but these errors were encountered: