Community mailing list archives

community@mail.odoo.com

Re: OpenUpgrade Automated migration script - What are the right procedures to upgrade OpenERP 7 to Odoo 8?

by
Skillteam, Houssine BAKKALI
- 03/19/2015 03:00:26

This is an error of odoo when you run as root you should create another user to run the script

Le 19 mars 2015 02:42, "Fred Lu(呂豐昌)" <fred@e-ipro.com> a écrit :

Thanks, fixed the git update issue.

Here is the new OpenUpgrade Automated migration script error message.

running migration for 8.0
/usr/lib/python2.7/dist-packages/babel/__init__.py:33: UserWarning: Module openerp was already imported from /var/tmp/openupgrade/8.0/server/openerp/__init__.pyc, but /usr/lib/python2.7/dist-packages is being added to sys.path
  from pkg_resources import get_distribution, ResolutionError
Running as user 'root' is a security risk, aborting.

On 2015/3/19 上午 01:46, Houssine BAKKALI wrote:
<blockquote cite="mid:CANNbhR-uMwV9M3bFoVyhMe_kKaNdLX3P=5-ix+TTeht_m8CZyg@mail.gmail.com" type="cite">
here is a type on how to upgrade your git version

https://www.howtoforge.com/install-git-on-ubuntu-13.1

2015-03-17 9:05 GMT+01:00 Houssine BAKKALI <houssine.bakkali@gmail.com>:

It's due to the git version --single-branch command has been introduced in a later version you should replace the cmd or upgrade manually

Le 17 mars 2015 08:02, "Fred Lu(呂豐昌)" <fred@e-ipro.com> a écrit :

The following are the error message.
It seems like git update error.
My server is Ubuntu 14.04.

How to fix the git update issue?


getting git://github.com/OpenUpgrade/OpenUpgrade.git
error: unknown option `single-branch'
usage: git clone [options] [--] <repo> [<dir>]

    -v, --verbose         be more verbose
    -q, --quiet           be more quiet
    --progress            force progress reporting
    -n, --no-checkout     don't create a checkout
    --bare                create a bare repository
    --mirror              create a mirror repository (implies bare)
    -l, --local           to clone from a local repository
    --no-hardlinks        don't use local hardlinks, always copy
    -s, --shared          setup as shared repository
    --recursive           initialize submodules in the clone
    --recurse-submodules  initialize submodules in the clone
    --template <template-directory>
                          directory from which templates will be used
    --reference <repo>    reference repository
    -o, --origin <name>   use <name> instead of 'origin' to track upstream
    -b, --branch <branch>
                          checkout <branch> instead of the remote's HEAD
    -u, --upload-pack <path>
                          path to git-upload-pack on the remote
    --depth <depth>       create a shallow clone of that depth
    --separate-git-dir <gitdir>
                          separate git dir from working tree
    -c, --config <key=value>
                          set config inside the new repository

On 2015/3/17 下午 02:46, Houssine BAKKALI wrote:
<blockquote cite="mid:CANNbhR-++Lcag26m58bXUixEcLQdKxdkE564N1+ySVKJ-iWsPQ@mail.gmail.com" type="cite">

Normally it takes care to download or for you but you need to have git installed

Le 17 mars 2015 03:47, "Fred Lu(呂豐昌)" <fred@e-ipro.com> a écrit :

Hi,

How to run OpenUpgrade Automated migration script to upgrade OpenERP 7 to Odoo 8 successfully?

I try to run migrate.py on the server installed OpenERP V7.
But it is fail that no /var/tmp/openupgrade/8.0/server.

Do I have to install full openupgrade package on the OpenERP v7 server?

--
Best Regards,

Fred Lu 

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


--
Best Regards,

Fred Lu 

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


--
Best Regards,

Fred Lu | 呂豐昌

T: +886 3 657 9368 #110 | M: +886 936 180 686
IPRO 網際家 | http://www.e-ipro.com

企業行動力 - 任何時間、任何地點, 即時安全存取企業資訊, 立即採取行動
運用 Odoo ERP 擴展您的事業, 提升企業競爭力

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe