Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[9.0] migration database 8 to odoo 9 : openerp.addons.base.ir.ir_cron: Model does not exist #1361

Closed
AMhadhbi opened this issue May 31, 2018 · 12 comments

Comments

@AMhadhbi
Copy link
Member

AMhadhbi commented May 31, 2018

Impacted versions:
9.0
Steps to reproduce:
during the migration script database to odoo9, I am stuck with this issue on ir_cron module, the databse still show me the same message openerp.addons.base.ir.ir_cron: Model automatic.workflow.job does not exist.

Current behavior:
2018-05-31 11:28:21,878 2105 WARNING yarab openerp.addons.base.ir.ir_cron: Model automatic.workflow.job does not exist.
2018-05-31 11:29:21,947 2105 WARNING yarab openerp.addons.base.ir.ir_cron: Model automatic.workflow.job does not exist.
2018-05-31 11:30:22,018 2105 WARNING yarab openerp.addons.base.ir.ir_cron: Method stock.picking.run_import_storage_shipment_invoices_scheduler does not exist.
2018-05-31 11:30:22,043 2105 WARNING yarab openerp.addons.base.ir.ir_cron: Model automatic.workflow.job does not exist.
2018-05-31 11:30:22,051 2105 WARNING yarab openerp.addons.base.ir.ir_cron: Model external.referential does not exist.
2018-05-31 11:31:22,120 2105 WARNING yarab openerp.addons.base.ir.ir_cron: Model sale.shop does not exist.
2018-05-31 11:31:22,128 2105 WARNING yarab openerp.addons.base.ir.ir_cron: Model automatic.workflow.job does not exist.
2018-05-31 11:32:22,200 2105 WARNING yarab openerp.addons.base.ir.ir_cron: Model automatic.workflow.job does not exist.
2018-05-31 11:33:22,242 2105 WARNING yarab openerp.addons.base.ir.ir_cron: Model automatic.workflow.job does not exist.
2018-05-31 11:34:22,315 2105 WARNING yarab openerp.addons.base.ir.ir_cron: Model automatic.workflow.job does not exist.
2018-05-31 11:35:22,388 2105 WARNING yarab openerp.addons.base.ir.ir_cron: Model automatic.workflow.job does not exist.
2018-05-31 11:35:22,397 2105 WARNING yarab openerp.addons.base.ir.ir_cron: Method stock.picking.run_import_storage_shipment_invoices_scheduler does not exist.
2018-05-31 11:36:22,475 2105 WARNING yarab openerp.addons.base.ir.ir_cron: Model sale.shop does not exist.
2018-05-31 11:36:22,483 2105 WARNING yarab openerp.addons.base.ir.ir_cron: Model automatic.workflow.job does not exist.
2018-05-31 11:37:22,554 2105 WARNING yarab openerp.addons.base.ir.ir_cron: Model automatic.workflow.job does not exist.
2018-05-31 11:38:22,623 2105 WARNING yarab openerp.addons.base.ir.ir_cron: Model automatic.workflow.job does not exist.

Please how to solve this issue, thanks.

@pedrobaeza
Copy link
Member

This is because an extra module. Remove the cron record.

@AMhadhbi
Copy link
Member Author

@pedrobaeza thanks but when I delete the cron record. I have other issue and still stuck the server and take more than one hours
2018-05-31 11:52:37,364 2218 INFO yarab openerp.modules.loading: Modules loaded.
2018-05-31 11:52:37,366 2218 INFO yarab openerp.models: Computing parent left and right for table ir_ui_menu...
2018-05-31 11:53:13,952 2218 INFO yarab openerp.addons.base.ir.ir_autovacuum: GC'd 0 user log entries

@StefanRijnhart
Copy link
Member

Snippets like this don't help (the ones above don't indicate any problem). Please post your full log somewhere (some pastebin) and tell us the exact command you use to run the migration.

@StefanRijnhart
Copy link
Member

but if I'd have to say something based on what you'd provided: are you telling the server to --stop-after-init?

@AMhadhbi
Copy link
Member Author

@StefanRijnhart no just ./openerp-server -d yarab -u all

@AMhadhbi
Copy link
Member Author

AMhadhbi commented May 31, 2018

Full log
screen shot 2018-05-31 at 14 01 14

@StefanRijnhart
Copy link
Member

Well, that's not a full log from start to finish but I still don't see any problems. Again, if your problem is that the migration does not seem to end you need to tell it to --stop-after-init

@AMhadhbi
Copy link
Member Author

me too i dont see any problens on the log and I show you just when the server keep take more time on this line openerp.addons.base.ir.ir_autovacuum: GC'd 0 user log entries there rest of log just info and waring, I will try with --sop-after-init. thanks

@StefanRijnhart
Copy link
Member

I know the documentation is not perfect but in case anyone is wondering, this is actually mentioned under note 4 of Manual Migration in https://doc.therp.nl/openupgrade/migration_details.html

You don't have to run the migration again, just Ctrl+C and see what your database looks like in Odoo 9.0

BTW looks like you replaced the log text by an image of the log. Not an improvement IMHO ;-)

@AMhadhbi
Copy link
Member Author

Yes I replaced the text with image of log, this is better than text as you mention :) also the log seems clearly ;-)

@AMhadhbi
Copy link
Member Author

@StefanRijnhart, everything is OK yes with ./openerp-server -d database -u all--stop-after-init after ./openerp-server -d database, the database looks like Odoo9 . Thank your very much :)

@StefanRijnhart
Copy link
Member

Alright! Thanks for the feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants