Nightly builds version does not match openerp/release.py or the database version

Bug #1175561 reported by jehan
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Incomplete
Low
OpenERP's Framework R&D

Bug Description

- install debian package openerp_7.0-20130430-232443-1_all
- create a database with demo data
- watch server log

outcome: you will see periodic messages like
2013-05-01 17:30:16,751 9507 WARNING test openerp.addons.base.ir.ir_cron: Skipping database test as its base version is not 7.0.1.3.

Revision history for this message
Guilherme Lindner (gui666) wrote :

Exactly the same problem here, just updated today my openerp installation.

affects: openobject-addons → openobject-server
Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Vo Minh Thu (thu) wrote :

Please when reporting a bug, and stating that it is a problem, specify what you expect or at least why you think it is a bug.

OpenERP is reporting in the log that its cron process will not handle a database because that database was installed with a different version of OpenERP than the version of the cron process. This is perfectly normal behavior.

Do you mean you expect any version of OpenERP to handle any previously installed database ?

Do you mean you are surprised it tries to handle that database ?

Do you mean you are surprised it logs such event ?

Changed in openobject-server:
status: Confirmed → Invalid
Revision history for this message
Vo Minh Thu (thu) wrote :

One reason you might be surpised is that OpenERP "release" information has been changed recently in trunk. Its version is now 8.0 alpha. So indeed its cron process won't handle a 7.0 database.

Revision history for this message
Vo Minh Thu (thu) wrote :

I didn't notice it was a debian nightly build.

Probably there is a mismatch bewteen the package version, the openerp/release.py version, and the version registered in the database. Did this happen with a database installed with the aforementioned package, or with a previously installed database ?

summary: - cron is skipping database
+ Nightly builds version does not match openerp/release.py or the database
+ version
Changed in openobject-server:
status: Invalid → Incomplete
Revision history for this message
jehan (jens-e-hansen) wrote :

this happens if you upgrade from debian package
openerp_7.0-20130417-232500-1_all.deb to package
openerp_7.0-20130430-232443-1_all.deb or newer.

affected are all databases installed prior to the update.

new databases installed after the update to openerp_7.0-20130430-232443-1_all.deb are not affected.

expected outcome: upgrade migrates older openerp database tables

Revision history for this message
jehan (jens-e-hansen) wrote :

for me a

openerp-server --update=all --database=DB_NAME

solved this issue

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.