Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/41.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
升级OpenErp数据库时出错?_Openerp_Upgrade - Fatal编程技术网

升级OpenErp数据库时出错?

升级OpenErp数据库时出错?,openerp,upgrade,Openerp,Upgrade,在迁移数据库Odoo 8.0时,我遇到了此错误。有人能帮忙吗 python migrate.py --config="/home/anipr/Documents/openerp-7.0/install/openerp-server.conf" --database="transtech" --run-migrations="8.0" getting git://github.com/OpenUpgrade/OpenUpgrade.git sh: 1: git: not found copying

在迁移数据库Odoo 8.0时,我遇到了此错误。有人能帮忙吗

python migrate.py --config="/home/anipr/Documents/openerp-7.0/install/openerp-server.conf" --database="transtech" --run-migrations="8.0"
getting git://github.com/OpenUpgrade/OpenUpgrade.git
sh: 1: git: not found
copying database transtech to transtech_migrated...
Copying the database using 'with template'
Failed, fallback on creating empty database + loading a dump
pg_restore: [archiver (db)] Error while PROCESSING TOC:
pg_restore: [archiver (db)] Error from TOC entry 4393; 0 0 COMMENT           EXTENSION plpgsql 
pg_restore: [archiver (db)] could not execute query: ERROR:  must be owner of extension plpgsql
Command was: COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';

谢谢,Chandu

以下链接是将Odoo数据库从v7逐步迁移到v8的教程:

你能提供详细信息吗?????我有openerp 7文件夹和其中的一个模块。我想将整个模块升级到OpenRP8,因为我下载了openupgrade模块[/var/tmp/openupgrade]。。。然后我运行脚本migrate.pyYeah但是当我来到su postgres。。。我的身份验证失败。现在该怎么办。。我尝试了一些命令来解决这个问题。我输入的不是sudo su-postgres。。