Skip to content
Discussion options

You must be logged in to vote

Thanks — this confirms the root cause. pgduck_server is running as the OS user user, while PostgreSQL runs as postgres. Since the socket is 0770 user:user, the PostgreSQL backend cannot access it, resulting in could not start query engine.

Please stop the current process and restart it as postgres:

sudo install -d -o postgres -g postgres -m 0700 \
  /var/lib/pg_lake /var/lib/pg_lake/extensions
sudo install -d -o postgres -g postgres -m 0750 /var/cache/pg_lake

sudo -u postgres -H /usr/lib/postgresql/18/bin/pgduck_server \
  --duckdb_database_file_path /var/lib/pg_lake/pgduck_server.db \
  --extensions_dir /var/lib/pg_lake/extensions \
  --cache_dir /var/cache/pg_lake

Then verify the conne…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@fwzdtm
Comment options

@Vonng
Comment options

Answer selected by fwzdtm
@fwzdtm
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants