The upgrade procedure should not invoke oq_create_db
Bug #1359090 reported by
Michele Simionato
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake Engine |
Fix Released
|
High
|
Michele Simionato |
Bug Description
Currently packager.sh invokes the script oq_create_db. This is fine on a system without a database called 'openquake2', i.e. on Jenkins. However the packager must be changed to check for the existence of the database 'openquake2'. In such case (the normal case for package upgrades) it should skip the call to oq_create_db.
Changed in oq-engine: | |
assignee: | nobody → Matteo Nastasi (nastasi-oq) |
importance: | Undecided → High |
milestone: | none → 1.0.1 |
Changed in oq-engine: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
oq_create_db has been changed to create the db only if it does not exist already.The packager does not need to create the db, because it has been already created by the postinst script.
Implemented in https:/ /github. com/gem/ oq-engine/ pull/1490