Giter Club home page Giter Club logo

Comments (14)

Kloadut avatar Kloadut commented on August 16, 2024

I guess this is not related to the pg-plugin. Actually, dokku plugins-install is re-installing all the plugins (by running the install file of all them).
So you should just run docker build -t kloadut/postgresql github.com/Kloadut/dokku-pg-dockerfiles , it will update the kloadut/postgresql image.

from dokku-pg-plugin.

jvanbaarsen avatar jvanbaarsen commented on August 16, 2024

I also tried that command, but it was giving me the same errors.—
Sent from Mailbox for iPhone

On Sat, Jan 4, 2014 at 7:06 PM, Alexis Gavoty [email protected]
wrote:

I guess this is not related to the pg-plugin. Actually, dokku plugins-install is re-installing all the plugins (by running the install file of all them).

So you should just run docker build -t kloadut/postgresql github.com/Kloadut/dokku-pg-dockerfiles , it will update the kloadut/postgresql image.

Reply to this email directly or view it on GitHub:
#15 (comment)

from dokku-pg-plugin.

Kloadut avatar Kloadut commented on August 16, 2024

Then I don't see where it comes from... Try to update dokku and docker (I am running dokku 0.2.1 and docker 0.7.2)

from dokku-pg-plugin.

jvanbaarsen avatar jvanbaarsen commented on August 16, 2024

I used a clean install, with latest stable version of docker: 0.7.3—
Sent from Mailbox for iPhone

On Sat, Jan 4, 2014 at 7:39 PM, Alexis Gavoty [email protected]
wrote:

Then I don't see where it comes from... Try to update dokku and docker (I am running dokku 0.2.1 and docker 0.7.2)

Reply to this email directly or view it on GitHub:
#15 (comment)

from dokku-pg-plugin.

Kloadut avatar Kloadut commented on August 16, 2024

Ok. Can you try to run git clone https://github.com/Kloadut/dokku-pg-dockerfiles /tmp/pg-dockerfile && docker build -t kloadut/postgresql /tmp/pg-dockerfile ?

from dokku-pg-plugin.

jvanbaarsen avatar jvanbaarsen commented on August 16, 2024

@Kloadut That worked, the plugin is installed on dokku 0.2.1 and docker 0.7.3. Thanks 😄

from dokku-pg-plugin.

jvanbaarsen avatar jvanbaarsen commented on August 16, 2024

@Kloadut hmm, i was to quick with my response.. Since the last update, the plugin does not write the rails DATABASE_URL environment variable. Any ideas?

--Edit 2:
Ok, i've figure out i have to link the app and DB manually. But when i do i get the following error in my rails app:

PG::ConnectionBad (could not connect to server: Connection refused
    Is the server running on host "127.0.0.1" and accepting
    TCP/IP connections on port 49153?
):

from dokku-pg-plugin.

Kloadut avatar Kloadut commented on August 16, 2024

Yes, my bad, the DATABASE_URL is wrong, I have to replace 127.0.0.1 by 172.17.42.1

from dokku-pg-plugin.

jvanbaarsen avatar jvanbaarsen commented on August 16, 2024

@Kloadut Ok, so that means another update is coming? And i the meantime i can fix it in the command file?

from dokku-pg-plugin.

Kloadut avatar Kloadut commented on August 16, 2024

Fixed as of b40f6f6

from dokku-pg-plugin.

Kloadut avatar Kloadut commented on August 16, 2024

Btw, the initial problem is due to the drop of the github direct pulling support (probably not volontarily)
https://github.com/dotcloud/docker/blob/master/buildfile.go?source=cc#L303

from dokku-pg-plugin.

Kloadut avatar Kloadut commented on August 16, 2024

And if you have time, do not hesitate to update the README.md in order to add the new way to deploy (linking manually), and an update notice ;)

Thank you for the report :)

from dokku-pg-plugin.

jvanbaarsen avatar jvanbaarsen commented on August 16, 2024

@Kloadut I will :-) The issue with the dokku plugins-install is fixed since the last update 😄

from dokku-pg-plugin.

xcarpentier avatar xcarpentier commented on August 16, 2024

Hello @Kloadut,

I work with dokku v0.3.17 and I have an issue on my rails webapp too :

I, [2015-07-13T23:11:41.755202 ] INFO -- : Refreshing Gem list
I, [2015-07-13T23:11:43.839376 ] INFO -- : listening on addr=0.0.0.0:5000 fd=9
E, [2015-07-13T23:13:51.119809 ] ERROR -- : could not connect to server: Connection timed out
Is the server running on host "172.17.42.1" and accepting
TCP/IP connections on port 49154?
(PG::ConnectionBad)
[...]

dokku postgresql:info my_showcase

   Host: 172.17.42.1
   Port: 49154
   User: 'root'
   Password: 'OJ12Ep1BwYIpANoE'
   Database: 'db'

   Url: 'postgres://root:[email protected]:49154/db'

from dokku-pg-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.