You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I attempted to follow the installation instructions provided in Issue #11: #11
I'm trying to perform a fresh installation of primal-server on Ubuntu using the latest main branch, but I've run into problems reproducing the installation steps described in Issue #11. I'm hoping to determine whether there are additional undocumented prerequisites, or whether the installation procedure has changed.
make: 'libbech32.so' is up to date.
+ PGDIR=<repository>/var/pg
+ echo <repository>/var/pg
+ mkdir -p <repository>/var/pg
+ PGDATA=<repository>/var/pgdata
+ echo <repository>/var/pgdata
+ mkdir -p <repository>/var/pgdata
+ cd <repository>/var/pg
++ nix-store --query --deriver /nix/store/7ysvcrz2jydib0y6wkd9siix87q0pfcc-postgresql-15.16
+ drv=/nix/store/1r0n04c934cw5kl54jjrdj49hazcsjv5-postgresql-15.16.drv
+ export SHELL=/nix/store/5p86w1968gs5abgqkj9wv5gccxpy253c-bash-interactive-5.3p3/bin/bash
+ SHELL=/nix/store/5p86w1968gs5abgqkj9wv5gccxpy253c-bash-interactive-5.3p3/bin/bash
+ nix develop /nix/store/1r0n04c934cw5kl54jjrdj49hazcsjv5-postgresql-15.16.drv --unpack
error: path '/nix/store/1r0n04c934cw5kl54jjrdj49hazcsjv5-postgresql-15.16.drv' is required, but there is no substituter that can build it
Additional information
I verified that the helper scripts are present in the development shell:
nix develop -c sh -c 'echo "$setup_postgres"'
nix develop -c sh -c 'echo "$setup_pg_primal"'
nix develop -c sh -c 'echo "$start_postgres"'
I attempted to follow the installation instructions provided in Issue #11:
#11
I'm trying to perform a fresh installation of
primal-serveron Ubuntu using the latestmainbranch, but I've run into problems reproducing the installation steps described in Issue #11. I'm hoping to determine whether there are additional undocumented prerequisites, or whether the installation procedure has changed.Environment
mainnix shell github:NixOS/nixpkgs/nixos-25.05#nix.)Repository state
Repository was cloned recursively:
git clone --recursive https://github.com/PrimalHQ/primal-server.git cd primal-serverConfirmed that I am on the latest
main:Output:
Issue #11 instructions followed
I attempted to follow the instructions provided by @pritk in Issue #11.
From the repository root:
nix shell github:NixOS/nixpkgs/nixos-25.05#nix -c \ nix develop -c sh -c \ '$setup_postgres "$PWD/var/pg" "$PWD/var/pgdata"'Result
The command fails with:
Additional information
I verified that the helper scripts are present in the development shell:
which produced paths such as:
I also verified that PostgreSQL binaries are available within the development environment:
Output:
Questions
mainbranch?I'm not having much success in getting this installed.
I'd be happy to test any proposed fixes or updated instructions and report back with the results.
Thanks for your work on this project.