hi all,
i try to play around a little and hit a bump in the road with using 2
containers formy setup. I got one container for trac and one container for
postgresql. So far so good, if i try to connect with python from trac
container to the postgresql one i can query data as expected but if i try
to run tracd it tells me it can connect to the db ... here is my pseudo
connection string in my trac.ini
database = postgres://dbuser:dbpassword@dockercontainer:5432/tracdb
as i said if i pass that to psycopg2.connect as proper args i can get a
cursor and fetch data. If i try to do it with trac i get
Trac Error
TracError: Unable to check for upgrade of trac.db.api.DatabaseManager:
TimeoutError: Unable to get database connection within 10 seconds.
So any pointers here would be nice.
cheers
MArkus
--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/CAJ4osOmrN6-LrkC1OzDYRXf%3DK7DQnwD6N237E9JWn_GKmwaJtQ%40mail.gmail.com.
i try to play around a little and hit a bump in the road with using 2
containers formy setup. I got one container for trac and one container for
postgresql. So far so good, if i try to connect with python from trac
container to the postgresql one i can query data as expected but if i try
to run tracd it tells me it can connect to the db ... here is my pseudo
connection string in my trac.ini
database = postgres://dbuser:dbpassword@dockercontainer:5432/tracdb
as i said if i pass that to psycopg2.connect as proper args i can get a
cursor and fetch data. If i try to do it with trac i get
Trac Error
TracError: Unable to check for upgrade of trac.db.api.DatabaseManager:
TimeoutError: Unable to get database connection within 10 seconds.
So any pointers here would be nice.
cheers
MArkus
--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/CAJ4osOmrN6-LrkC1OzDYRXf%3DK7DQnwD6N237E9JWn_GKmwaJtQ%40mail.gmail.com.