Closed pywebdesign closed 10 years ago
I've also just got this, then when I run postgresql:create
it responds with
PostgreSQL image not found... Did you run 'dokku plugins-install' ?
@koorb I have the same error.
Any solution?
Nothing but it seems to be a problem with the code base, there's at least three of us now
+1
me too
I don't understand why this apt statement is failing... If you find out let me know:
Step 3 : RUN apt-get update
---> Running in 986ffdc3e1fc
2014/07/16 07:19:16 The command [/bin/sh -c apt-get update] returned a non-zero code: 100
On my machine this step fails due to not being able to connect to some of the Ubuntu repositories. This is on a 14.04 installation. The repositories it fails to get are all related to quantal, which reached EOL on May 16.
Changing the base-image in the Dockerfile from ubuntu:quantal
to ubuntu:trusty
. And updating all references to postgresql-9.1 to postgresql-9.3 makes the image build for me. I'm not sure what further implications this has though.
Having the same problem. Solved by removing the line: "git clone https://github.com/Kloadut/dokku-pg-dockerfiles /tmp/dokku-pg-dockerfiles" from /var/lib/dokku/plugins/postgresql/install, and running it manually then making the changes to dokku-pg-dockerfiles as noted by bauglir.
"dokku plugins-install" will then run just fine.
It may be reproduce easily on digital ocean folowing this tutorial:
https://www.digitalocean.com/community/tutorials/how-to-use-the-dokku-one-click-digitalocean-image-to-run-a-ruby-on-rails-app
the installation of postgresql is broken
root@railsdokku:/var/lib/dokku/plugins# dokku plugins-install gpg: keyring
/tmp/tmpnl0mecnn/secring.gpg' created gpg: keyring
/tmp/tmpnl0mecnn/pubring.gpg' created gpg: requesting key C300EE8C from hkp server keyserver.ubuntu.com gpg: /tmp/tmpnl0mecnn/trustdb.gpg: trustdb created gpg: key C300EE8C: public key "Launchpad Stable" imported gpg: no ultimately trusted keys found gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) Cloning into '/tmp/dokku-pg-dockerfiles'... remote: Reusing existing pack: 61, done. remote: Total 61 (delta 0), reused 0 (delta 0) Unpacking objects: 100% (61/61), done. Checking connectivity... done. Sending build context to Docker daemon 137.7 kB Sending build context to Docker daemon Step 0 : FROM ubuntu:quantal Pulling repository ubuntu c5881f11ded9: Download complete 511136ea3c5a: Download complete bac448df371d: Download complete dfaad36d8984: Download complete 5796a7edb16b: Download complete ---> c5881f11ded9 Step 1 : MAINTAINER kload "kload@kload.fr" ---> Running in ff0ec3117846 ---> 86c38326639b Removing intermediate container ff0ec3117846 Step 2 : RUN echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d; chmod +x /usr/sbin/policy-rc.d ---> Running in cb94545d00f2 ---> 0023a8485955 Removing intermediate container cb94545d00f2 Step 3 : RUN apt-get update ---> Running in 986ffdc3e1fc 2014/07/16 07:19:16 The command [/bin/sh -c apt-get update] returned a non-zero code: 100 root@railsdokku:/var/lib/dokku/plugins#