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

cron is running in cache database #4

Open
yelizariev opened this issue Jul 24, 2019 · 2 comments
Open

cron is running in cache database #4

yelizariev opened this issue Jul 24, 2019 · 2 comments

Comments

@yelizariev
Copy link

odoo_1           | 2019-07-24 11:11:01,483 108 INFO cache-201907241110-56ee8df721ec9f6362c086d286f00cbe56e1a1c1 odoo.addons.base.models.ir_cron: Starting job `Partner Autocomplete : Sync with remote DB`. 
odoo_1           | 2019-07-24 11:11:01,491 108 WARNING cache-201907241110-56ee8df721ec9f6362c086d286f00cbe56e1a1c1 odoo.modules.registry: The option --unaccent was given but no unaccent() function was found in database. 
odoo_1           | 2019-07-24 11:11:01,499 108 INFO cache-201907241110-56ee8df721ec9f6362c086d286f00cbe56e1a1c1 odoo.modules.loading: loading 1 modules... 
odoo_1           | 2019-07-24 11:11:01,520 108 INFO cache-201907241110-56ee8df721ec9f6362c086d286f00cbe56e1a1c1 odoo.modules.loading: 1 modules loaded in 0.02s, 0 queries 
odoo_1           | 2019-07-24 11:11:01,541 108 INFO cache-201907241110-56ee8df721ec9f6362c086d286f00cbe56e1a1c1 odoo.modules.loading: loading 24 modules... 
odoo_1           | 2019-07-24 11:11:01,628 108 INFO cache-201907241110-56ee8df721ec9f6362c086d286f00cbe56e1a1c1 odoo.modules.loading: 24 modules loaded in 0.09s, 0 queries 
odoo_1           | 2019-07-24 11:11:01,910 108 INFO cache-201907241110-56ee8df721ec9f6362c086d286f00cbe56e1a1c1 odoo.modules.loading: Modules loaded. 
odoo_1           | 2019-07-24 11:11:02,059 108 INFO cache-201907241110-56ee8df721ec9f6362c086d286f00cbe56e1a1c1 odoo.addons.base.models.ir_cron: Starting job `Mail: Email Queue Manager`. 
odoo_1           | 2019-07-24 11:11:02,083 108 INFO cache-201907241110-56ee8df721ec9f6362c086d286f00cbe56e1a1c1 odoo.addons.base.models.ir_cron: Starting job `Preparing Template Next Cron`. 
odoo_1           | 2019-07-24 11:11:02,170 108 INFO cache-201907241110-56ee8df721ec9f6362c086d286f00cbe56e1a1c1 odoo.addons.base.models.ir_cron: Starting job `Base: Auto-vacuum internal data`. 
odoo_1           | 2019-07-24 11:11:02,183 108 INFO cache-201907241110-56ee8df721ec9f6362c086d286f00cbe56e1a1c1 odoo.addons.base.models.ir_attachment: filestore gc 0 checked, 0 removed 
odoo_1           | 2019-07-24 11:11:02,207 108 INFO cache-201907241110-56ee8df721ec9f6362c086d286f00cbe56e1a1c1 odoo.addons.base.models.ir_autovacuum: GC'd 0 user log entries 
odoo_1           | 2019-07-24 11:11:02,209 108 INFO cache-201907241110-56ee8df721ec9f6362c086d286f00cbe56e1a1c1 odoo.addons.base.models.ir_cron: Starting job `AutoVacuum Job Queue`. 
odoo_1           | 2019-07-24 11:11:02,218 108 INFO cache-201907241110-56ee8df721ec9f6362c086d286f00cbe56e1a1c1 odoo.addons.base.models.ir_cron: Starting job `Snailmail: process letters queue`. 
odoo_1           | 2019-07-24 11:11:02,230 108 INFO cache-201907241110-56ee8df721ec9f6362c086d286f00cbe56e1a1c1 odoo.addons.base.models.ir_cron: Starting job `Mail: Notify channel moderators`. 

@blaggacao
Copy link

Ok, this is a tricky problem. As the database itself cannot collaborate besides setting Cron jobs inactive, which looses state. Right thing for cron would be not even to visit those...

@blaggacao
Copy link

...which smells like a patch to define the cache prefix in Odoo itself to be ignored by listdb.

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

2 participants