Open Baschdl opened 4 years ago
It should be created here but I'm not sure why it doesn't happen
https://github.com/ruralinnovation/multi-svc-cartodb/blob/8d28ec5faf2128f2a4ede547db61877fc5d22237/packer/postgis/provisioners/provision-pg-10.sh#L134
Maybe postgresql.conf.sample.dpkg
doesn't exist
/usr/share/postgresql/postgresql.conf.sample
does exist but this is a odd link:
ls -lah /usr/share/postgresql/10/postgresql.conf.sample
lrwxrwxrwx 1 root root 25 Jun 2 22:07 /usr/share/postgresql/10/postgresql.conf.sample -> ../postgresql.conf.sample
The link is fine but ../postgresql.conf.sample
doesn't exist. Meaning https://github.com/ruralinnovation/multi-svc-cartodb/blob/8d28ec5faf2128f2a4ede547db61877fc5d22237/packer/postgis/provisioners/provision-pg-10.sh#L134 somehow doesn't work.
Ahh, the packer fails silently:
==> docker: E: Version '10.10-1.pgdg90+1' for 'postgresql-10' was not found
docker: **** PACKER PROVISIONER (provision-pg-10.sh): Configuring installed PostgreSQL packages ****
docker: Adding 'local diversion of /usr/share/postgresql/10/postgresql.conf.sample to /usr/share/postgresql/postgresql.conf.sample.dpkg'
==> docker: cp: cannot stat '/usr/share/postgresql/postgresql.conf.sample.dpkg': No such file or directory
docker: '/usr/share/postgresql/10/postgresql.conf.sample' -> '../postgresql.conf.sample'
postgis
container throws following error when starting upDid you intend to copy the postgres config file into
osscarto-multi-postgis-extensions
?