Closed IlyaSemenov closed 6 years ago
On a fresh, fully updated Ubuntu 18.04 install, with nothing else but Dokku and dokku-postgres installed, dokku postgres:create prints this error:
dokku postgres:create
/var/lib/dokku/plugins/enabled/postgres/common-functions: line 34: netstat: command not found
Complete output below:
$ dokku postgres:create xxx Waiting for container to be ready Creating container database Securing connection to database /var/lib/dokku/plugins/enabled/postgres/common-functions: line 34: netstat: command not found =====> Postgres container created: xxx =====> Container Information Config dir: /var/lib/dokku/services/postgres/xxx/config Data dir: /var/lib/dokku/services/postgres/xxx/data Dsn: postgres://postgres:c38e...@dokku-postgres-xxx:5432/xxx Exposed ports: - Id: 047a... Internal ip: 172.17.0.2 Links: - Service root: /var/lib/dokku/services/postgres/xxx Status: running Version: postgres:10.2
The database does get created, so it's not clear if the failed netstat did anything wrong or not.
What I'm thinking is that netstat (net-tools) requirement should be added to dokku apt package dependencies.
net-tools
dokku
Ah, probably part of their initiative to make ubuntu installations smaller by default.
https://github.com/dokku/dokku/pull/3214
Fixed in the latest Dokku release.
On a fresh, fully updated Ubuntu 18.04 install, with nothing else but Dokku and dokku-postgres installed,
dokku postgres:create
prints this error:Complete output below:
The database does get created, so it's not clear if the failed netstat did anything wrong or not.
What I'm thinking is that netstat (
net-tools
) requirement should be added todokku
apt package dependencies.