Can not upgrade database with password only with ident authentication
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenUpgrade Addons |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When trying to upgrade a server configuration where the postgress database is secured by a password (not approached through ident/peer authentication) an exception occurs:
openeyedev@
No handlers could be found for logger "bzr"
getting lp:openerp-web/7.0
getting lp:openupgrade-addons/7.0
getting lp:openupgrade-server/7.0
copying database oe_dapper_dev to oe_dapper_
Traceback (most recent call last):
File "./migrate.py", line 188, in <module>
conn=
File "/usr/lib/
connection_
psycopg2.
Related branches
- Holger Brunn (Therp): Approve (code review)
- Stefan Rijnhart (Opener): Needs Information
- Ronald Portier (Therp): Needs Resubmitting
-
Diff: 74 lines (+38/-8)1 file modifiedscripts/migrate.py (+38/-8)
Changed in openupgrade-addons: | |
status: | New → Fix Released |
Thanks, that's indeed not covered at the moment.
As this is only the cloning part, you still should be able to run the migration(s) with the -I switch. But then of course you'll have to take care of making the copy yourself, as you certainly don't want to run the migration on the original database.