Comments (14)
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.
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 theinstall
file of all them).So you should just run
docker build -t kloadut/postgresql github.com/Kloadut/dokku-pg-dockerfiles
, it will update thekloadut/postgresql
image.Reply to this email directly or view it on GitHub:
#15 (comment)
from dokku-pg-plugin.
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.
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.
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.
@Kloadut That worked, the plugin is installed on dokku 0.2.1 and docker 0.7.3. Thanks 😄
from dokku-pg-plugin.
@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.
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.
@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.
Fixed as of b40f6f6
from dokku-pg-plugin.
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.
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.
@Kloadut I will :-) The issue with the dokku plugins-install
is fixed since the last update 😄
from dokku-pg-plugin.
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)
- Invalid port number in postgresql:link if app and db names is different. HOT 1
- Unable to install HOT 2
- Assumption that docker0 has IP 172.17.42.1
- Cannot start container : port has already been allocated HOT 1
- Rails unable to access through credential... HOT 1
- Rails database.yml file not parsing correctly HOT 7
- Multiple Databases, crossover? HOT 1
- dump command available when postgresql-client not installed HOT 1
- dokku-pg-plugin does not use DOKKU_NOT_IMPLEMENTED_EXIT, leads to misbehaviour with unknown commands
- Unicode
- Multiple Apps, same database HOT 1
- Host and Port information are missing HOT 4
- seems not working with docker 1.7 HOT 15
- DB automatic unlink HOT 1
- postgresql:dump could not change directory to "/root"
- How can I upgrade to postgres 9.4? HOT 5
- Connection timed out HOT 1
- 'psql' not found when executing dokku postgresql:console <db> HOT 2
- "Your docker version is too old, please update it" HOT 5
- Branch josegonzalez/dokku-pg-plugin out of date
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dokku-pg-plugin.