Skip to content
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

Failed to start on intel mac running 14.4 #6

Open
HonakerM opened this issue Dec 5, 2024 · 1 comment
Open

Failed to start on intel mac running 14.4 #6

HonakerM opened this issue Dec 5, 2024 · 1 comment

Comments

@HonakerM
Copy link

HonakerM commented Dec 5, 2024

When trying to start the pgserver I am getting the following error on macos 14.

Failed postgres command (1, ['/Users/michaelhonaker/.pyenv/versions/wdu-2.0/lib/python3.11/site-packages/pgserver/pginstall/bin/initdb', '-D', '/private/var/folders/bl/7bs4d4z53blc6y7pn118vs780000gn/T/tmpvomlgq3v', '--auth=trust', '--auth-local=trust', '--encoding=utf8', '-U', 'postgres']) with kwargs: `{'user': None}`:
error:
Command '['/Users/michaelhonaker/.pyenv/versions/wdu-2.0/lib/python3.11/site-packages/pgserver/pginstall/bin/initdb', '-D', '/private/var/folders/bl/7bs4d4z53blc6y7pn118vs780000gn/T/tmpvomlgq3v', '--auth=trust', '--auth-local=trust', '--encoding=utf8', '-U', 'postgres']' returned non-zero exit status 1.
stdout:
The files belonging to this database system will be owned by user "michaelhonaker".
This user must also own the server process.

The database cluster will be initialized with locale "en_US.UTF-8".
The default text search configuration will be set to "english".

Data page checksums are disabled.

fixing permissions on existing directory /private/var/folders/bl/7bs4d4z53blc6y7pn118vs780000gn/T/tmpvomlgq3v ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default max_connections ... 20
selecting default shared_buffers ... 400kB
selecting default time zone ... US/Eastern
creating configuration files ... ok
running bootstrap script ... 
---
stderr:
2024-12-05 10:13:13.610 EST [95679] FATAL:  could not open directory "/Users/michaelhonaker/.pyenv/versions/3.11.1/envs/wdu-2.0/lib/python3.11/site-packages/pgserver/pginstall/share/postgresql/timezonesets": No such file or directory
2024-12-05 10:13:13.610 EST [95679] HINT:  This may indicate an incomplete PostgreSQL installation, or that the file "/Users/michaelhonaker/.pyenv/versions/3.11.1/envs/wdu-2.0/lib/python3.11/site-packages/pgserver/pginstall/bin/postgres" has been moved away from its proper location.
child process exited with exit code 1
initdb: removing contents of data directory "/private/var/folders/bl/7bs4d4z53blc6y7pn118vs780000gn/T/tmpvomlgq3v"

CC: @orm011

@HonakerM
Copy link
Author

HonakerM commented Dec 5, 2024

This only happens with pgserver==0.1.4. I was able to install pgserver==0.1.3 and it worked as expected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant