This question has been flagged
7 Replies
6925 Views

Hello everyone,

I need help because i'm trying to install module "Database auto-backup" by Yenthe Van Ginneken on my Odoo 11 running on a Windows 7 computer.

Here are the step i've followed:

1) Configuration --> Activate "Developer Mode"

2) Applications --> Update Applications List

3) Search Toolbar --> "Auto""Database auto-backup" --> Install

4) Make me back to home page

5) Restart the server

6) Configuration --> Activate Developer Mode  

Nothing appear under  "Settings" --> "General Settings" --> "Configure Backup". 
When i'm looking about the module it tell me state is "to install". I've compare it to an other installed module and the state is "Installed".

Here is a link to a Google Drive which contain screenshots of the problem.

Thank you.

Avatar
Discard

As the module is in to install, it means the module didn't get installed. Just uninstall it and just install any other module for making sure that other modules are getting installed.

Author

Sure i've already do this with module "Automated Action Rules" and it works fine.

I ask to developer how to solve it it tell me to look after log files and update with command lines but i'm beggining with Odoo so i continu to search about solutions..

seems like other dependencies are not met, please share your log while while installing.

Just go through the questions asked about this module here, https://www.odoo.yenthevg.com/automated-backups-in-odoo/

Author

For the log i don't know which one i need:

I got "pg_log" in "C:\Program Files (x86)\Odoo 11.0\PostgreSQL\data\pg_log"

and "odoo.log" in "C:\Program Files (x86)\Odoo 11.0\server".

In the "odoo.log':

2018-01-31 13:49:50,579 1680 INFO idomysbd werkzeug: 192.168.1.64 - - [31/Jan/2018 13:49:50] "POST /web/dataset/call_kw/ir.module.module/read HTTP/1.1" 200 -

2018-01-31 13:49:50,606 1680 INFO idomysbd werkzeug: 192.168.1.64 - - [31/Jan/2018 13:49:50] "POST /web/dataset/call_kw/ir.module.module.dependency/read HTTP/1.1" 200 -

2018-01-31 13:49:50,643 1680 INFO idomysbd werkzeug: 192.168.1.64 - - [31/Jan/2018 13:49:50] "POST /web/dataset/call_kw/ir.module.category/name_search HTTP/1.1" 200 -

2018-01-31 13:49:50,724 1680 INFO idomysbd werkzeug: 192.168.1.64 - - [31/Jan/2018 13:49:50] "POST /web/dataset/call_kw/ir.attachment/search_read HTTP/1.1" 200 -

2018-01-31 13:49:50,729 1680 INFO ? werkzeug: 192.168.1.64 - - [31/Jan/2018 13:49:50] "GET /base/static/src/css/description.css HTTP/1.1" 200 -

2018-01-31 13:49:50,731 1680 INFO ? werkzeug: 192.168.1.64 - - [31/Jan/2018 13:49:50] "GET /web/static/src/img/placeholder.png HTTP/1.1" 200 -

2018-01-31 13:50:07,421 1680 WARNING ? odoo.addons.base.ir.ir_cron: Skipping database idomysbd because of modules to install/upgrade/remove.

2018-01-31 13:50:14,310 1680 INFO idomysbd werkzeug: 192.168.1.64 - - [31/Jan/2018 13:50:14] "POST /longpolling/poll HTTP/1.1" 200 -

2018-01-31 13:50:16,071 1680 INFO ? odoo.service.server: Initiating shutdown

2018-01-31 13:50:16,071 1680 INFO ? odoo.service.server: Hit CTRL-C again or send a second signal to force the shutdown.

2018-01-31 13:50:19,707 7660 INFO ? odoo: Odoo version 11.0-20180105

2018-01-31 13:50:19,708 7660 INFO ? odoo: Using configuration file at C:\Program Files (x86)\Odoo 11.0\server\odoo.conf

2018-01-31 13:50:19,708 7660 INFO ? odoo: addons paths: ['C:\\Users\\Idomys\\AppData\\Local\\OpenERP S.A.\\Odoo\\addons\\11.0', 'C:\\Program Files (x86)\\Odoo 11.0\\server\\odoo\\addons']

2018-01-31 13:50:19,709 7660 INFO ? odoo: database: openpg@localhost:5432

2018-01-31 13:50:19,734 7660 INFO ? odoo.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069

2018-01-31 13:50:20,026 7660 INFO ? odoo.addons.base.ir.ir_actions_report: Will use the Wkhtmltopdf binary at C:\Program Files (x86)\Odoo 11.0\thirdparty\wkhtmltopdf.exe

2018-01-31 13:50:24,363 7660 INFO ? odoo.http: HTTP Configuring static files

2018-01-31 13:50:24,449 7660 INFO idomysbd odoo.modules.loading: loading 1 modules...

2018-01-31 13:50:24,475 7660 INFO idomysbd odoo.modules.loading: 1 modules loaded in 0.03s, 0 queries

2018-01-31 13:50:24,581 7660 INFO idomysbd odoo.modules.loading: loading 46 modules...

2018-01-31 13:50:25,012 7660 INFO idomysbd odoo.modules.loading: 46 modules loaded in 0.43s, 0 queries

2018-01-31 13:50:25,875 7660 INFO idomysbd odoo.modules.loading: Modules loaded.

2018-01-31 13:50:25,885 7660 INFO idomysbd odoo.addons.base.ir.ir_http: Generating routing map

2018-01-31 13:50:28,299 7660 INFO idomysbd werkzeug: 192.168.1.64 - - [31/Jan/2018 13:50:28] "GET /web?debug=1 HTTP/1.1" 200 -

2018-01-31 13:50:28,629 7660 INFO idomysbd werkzeug: 192.168.1.64 - - [31/Jan/2018 13:50:28] "GET /web/webclient/qweb?mods=web,base,bus,web_tour,mail,product,portal,web_planner,project,sales_team,account,sale,account_invoicing,sale_management,web_editor,website,account_bank_statement_import,auth_signup,base_import,contacts,document,iap,l10n_fr,payment,payment_transfer,web_diagram,web_kanban_gauge,web_settings_dashboard,website_mail,website_quote,website_theme_install HTTP/1.1" 200 -

2018-01-31 13:50:28,631 7660 INFO ? werkzeug: 192.168.1.64 - - [31/Jan/2018 13:50:28] "GET /web/static/src/img/favicon.ico HTTP/1.1" 200 -

2018-01-31 13:50:28,650 7660 INFO idomysbd werkzeug: 192.168.1.64 - - [31/Jan/2018 13:50:28] "POST /web/dataset/call HTTP/1.1" 200 -

2018-01-31 13:50:29,031 7660 INFO idomysbd werkzeug: 192.168.1.64 - - [31/Jan/2018 13:50:29] "POST /web/webclient/translations HTTP/1.1" 200 -

2018-01-31 13:50:29,241 7660 INFO idomysbd werkzeug: 192.168.1.64 - - [31/Jan/2018 13:50:29] "GET /web/image?model=res.users&field=image_small&id=1 HTTP/1.1" 304 -

2018-01-31 13:50:29,279 7660 INFO idomysbd werkzeug: 192.168.1.64 - - [31/Jan/2018 13:50:29] "POST /mail/client_action HTTP/1.1" 200 -

2018-01-31 13:50:29,281 7660 INFO idomysbd werkzeug: 192.168.1.64 - - [31/Jan/2018 13:50:29] "POST /web/dataset/call_kw/res.users/check_access_rights HTTP/1.1" 200 -

2018-01-31 13:50:29,281 7660 INFO idomysbd werkzeug: 192.168.1.64 - - [31/Jan/2018 13:50:29] "POST /web/dataset/call_kw/ir.model.data/xmlid_to_res_id HTTP/1.1" 200 -

2018-01-31 13:50:29,282 7660 INFO idomysbd werkzeug: 192.168.1.64 - - [31/Jan/2018 13:50:29] "POST /web/dataset/call_kw/res.users/has_group HTTP/1.1" 200 -

2018-01-31 13:50:29,283 7660 INFO idomysbd werkzeug: 192.168.1.64 - - [31/Jan/2018 13:50:29] "POST /web/dataset/call_kw/ir.ui.view/check_access_rights HTTP/1.1" 200 -

2018-01-31 13:50:29,289 7660 INFO idomysbd werkzeug: 192.168.1.64 - - [31/Jan/2018 13:50:29] "POST /web/dataset/call_kw/res.users/activity_user_count HTTP/1.1" 200 -

2018-01-31 13:50:29,348 7660 INFO idomysbd werkzeug: 192.168.1.64 - - [31/Jan/2018 13:50:29] "POST /web/dataset/call_kw/web.planner/search_read HTTP/1.1" 200 -

2018-01-31 13:50:29,413 7660 INFO idomysbd werkzeug: 192.168.1.64 - - [31/Jan/2018 13:50:29] "POST /web/action/load HTTP/1.1" 200 -

2018-01-31 13:50:29,615 7660 INFO idomysbd werkzeug: 192.168.1.64 - - [31/Jan/2018 13:50:29] "POST /web/dataset/call_kw/ir.module.module/load_views HTTP/1.1" 200 -

2018-01-31 13:50:29,723 7660 WARNING idomysbd odoo.modules.module: module auto_backup: module not found

2018-01-31 13:50:29,726 7660 WARNING idomysbd odoo.modules.module: module auto_backup: module not found

2018-01-31 13:50:29,888 7660 INFO idomysbd werkzeug: 192.168.1.64 - - [31/Jan/2018 13:50:29] "POST /web/dataset/call_kw/ir.module.module/read HTTP/1.1" 200 -

2018-01-31 13:50:29,912 7660 INFO idomysbd werkzeug: 192.168.1.64 - - [31/Jan/2018 13:50:29] "POST /web/dataset/call_kw/ir.module.module.dependency/read HTTP/1.1" 200 -

2018-01-31 13:50:29,954 7660 INFO idomysbd werkzeug: 192.168.1.64 - - [31/Jan/2018 13:50:29] "POST /web/dataset/call_kw/ir.module.category/name_search HTTP/1.1" 200 -

2018-01-31 13:50:29,981 7660 INFO ? werkzeug: 192.168.1.64 - - [31/Jan/2018 13:50:29] "GET /web/static/src/img/placeholder.png HTTP/1.1" 200 -

2018-01-31 13:50:30,055 7660 INFO ? werkzeug: 192.168.1.64 - - [31/Jan/2018 13:50:30] "GET /base/static/src/css/description.css HTTP/1.1" 200 -

2018-01-31 13:50:30,058 7660 INFO idomysbd werkzeug: 192.168.1.64 - - [31/Jan/2018 13:50:30] "POST /web/dataset/call_kw/ir.attachment/search_read HTTP/1.1" 200 -

2018-01-31 13:50:30,145 7660 INFO ? odoo.addons.bus.models.bus: Bus.loop listen imbus on db postgres

2018-01-31 13:50:33,082 7660 INFO idomysbd werkzeug: 192.168.1.64 - - [31/Jan/2018 13:50:33] "POST /web/action/load HTTP/1.1" 200 -

2018-01-31 13:50:33,135 7660 INFO idomysbd werkzeug: 192.168.1.64 - - [31/Jan/2018 13:50:33] "POST /web_settings_dashboard/data HTTP/1.1" 200 -

2018-01-31 13:50:33,162 7660 INFO idomysbd werkzeug: 192.168.1.64 - - [31/Jan/2018 13:50:33] "POST /web/dataset/call_kw HTTP/1.1" 200 -

2018-01-31 13:50:33,208 7660 INFO idomysbd werkzeug: 192.168.1.64 - - [31/Jan/2018 13:50:33] "POST /web/dataset/call_kw/web.planner/search_read HTTP/1.1" 200 -

Author Best Answer

EDIT: Unable to put it as "Comment"

Ok i've changed the foler where was the "auto-backup" folder, before i had copy it in "C:\Program Files (x86)\Odoo 11.0\server\addons"

And now i put it in "C:\Program Files (x86)\Odoo 11.0\server\odoo\addons"

But i got this error:

Erreur:

Odoo Server Error

Exception: Impossible de charger le module auto_backup échec : fichier auto_backup\security/ir.model.access.csv :

Aucun enregistrement trouvé pour id externe 'model_db_backup' dans le champ 'Object'

Valeur requise manquante pour le champ 'Object' (model_id)

Aucun enregistrement trouvé pour id externe 'model_db_backup' dans le champ 'Object'

Valeur requise manquante pour le champ 'Object' (model_id)


English translation here:

Error:

Odoo server error

Exception: Unable to load auto_backup module failed: auto_backup \ security / ir.model.access.csv file:

No record found for external id 'model_db_backup' in 'Subject' field

Missing value for the 'Object' champion (model_id)

No record found for external id 'model_db_backup' in 'Subject' field

Missing value for the 'Object' champion (model_id)

Avatar
Discard

csv is trying to access the model_db_backup , an unknown id, try to dig the addon, to get he source of id

Author

I don't know where to add this id or where to link it.

So i'll make my own script.