← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 767991] Re: Have to restart server to update multiple databases

 

>From the server's --help message:

-u UPDATE, --update=UPDATE
                        update one or more modules (comma-separated list, use
                        "all" for all modules). Requires -d.

So you need to also provide the -d option.

** Changed in: openobject-server
       Status: New => Invalid

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/767991

Title:
  Have to restart server to update multiple databases

Status in OpenERP Server:
  Invalid

Bug description:
  Ubuntu 10.10
  OpenERP 6.0.2, upgrading from 6.0.1.
  I have multiple OpenERP databases.

  Only one database, instead of all databases, is updated for each time
  the server is started with the --update=all command-line parameter.

  HOW TO REPRODUCE
  1. Create multiple 6.0.1 databases.
  2. Upgrade from 6.0.1 (python setup.py install).
  3. Start the server using the --update=all command-line parameter.
  4. Log into a database; watch the log file; in the server's log file, it correctly reports that the upgrade was being done for the database that you logged in to, e.g:
  [2011-04-21 12:01:26,619][first] INFO:init:module base: creating or updating database tables
  It did not update any of the other 6.0.1 databases.

  5. Log out of that first database
  6. Log into a second database.
  There was no update of that second database done. You can try to run programs, but may hit problems due to missing database fields.

  7. Log out.
  8. Restart the server.
  9. Log into that same second database.
  The second database gets updated.


References