Skip to content

nix: postgrest-test-replica fails locally #4461

@taimoorzaeem

Description

@taimoorzaeem

Environment

  • PostgREST version: devel, v14
  • Operating system: ubuntu

Description of issue

postgrest-test-replica fails with the following error:

[nix-shell]$ postgrest-test-replica
Configuration is affected by the following files:
- cabal.project
- cabal.project.freeze
Resolving dependencies...
postgrest-with-postgresql-17: You can connect with: psql 'postgres:///postgres?host=/tmp/nix-shell-13818-1957527406/postgrest/postgrest-with-postgresql-17-zz5/socket' -U postgres
postgrest-with-postgresql-17: You can tail the logs with: tail -f /tmp/nix-shell-13818-1957527406/postgrest/postgrest-with-postgresql-17-zz5/db.log
pg_ctl: could not start server
Examine the log output.
Temporary directory kept at: /tmp/nix-shell-13818-1957527406/postgrest/postgrest-with-postgresql-17-zz5

It fails with pg_ctl: could not start server for me locally. Does it fail for everyone or am I missing something? I checked this both in main and v14.

Metadata

Metadata

Assignees

Labels

hygienecleanup or refactoringnixrelated to Nix tooling

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions