简体   繁体   中英

After restoring a db in OpenERP, it can't update the module list

  • I took a backup of a db from a computer running windows 7 (using backup from the user interface which generated a dump file).

  • I then restored that database successfully on an Ubuntu machine from the user interface of OpeneERP.

  • I also copied the module which I'm working on into the addons directory.

  • The problem is that OpenERP can't update the module list, and in the installed modules menu it shows the old list of modules.

  • No matter how many times I restart the server and click on (Update Module List), the result is always the same, it can't see the module in the addons directory, even if I delete one of them from the directory or copy new ones, it shows the same modules list without change.

  • I created a new database beside the restored one, and the new database works fine, it can see the exact list of the addons directory and can feel any change of addition or delete.

I need to repeat that when creating new database, everything works fine, it can update module list and feel the changes in the addons directory, but the problem happens with restored db only, it can't feel any changes in the addons directory while the new db does.

  • What might be the problem?

Try to restore db from psql or pgadmin then update the database using this cmd

./openerp-server -d DB_NAME

hope this will work

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM