Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

How to update Odoo files from Github?

By
Pascal Tremblay
on 12/24/14, 1:12 PM 3,775 views

Hello there,

When I have installed Odoo, I used this command :

git clone https://www.github.com/odoo/odoo --depth 1 --branch 8.0 --single-branch .

Now, I want to update my files on the server, to be sure to have the last version.

Do I execute the same command? Does Github use an other command when updating rather than installing?

Thanks

3

Pascal Tremblay

--Pascal Tremblay--
1312
| 5 2 7
Alma, Canada
--Pascal Tremblay--


Pascal Tremblay
On 12/24/14, 2:47 PM

Here is my solution. Hope it is ok for everybody.

1) Open a terminal

2) Log into my odoo system user with : sudo su - odoo -s /bin/bash

3) Verify my git status with : git status

4) Update the files with only : git pull

5) Now, I have to create my identity with these commands. It was not created yet.

git config user.name "Utilisateur systeme Odoo"

and

git config user.email "info@lapagept.com"

6) Save local modifications with :  git stash save --keep-index

7) Retry git pull

8) start Odoo and update all modules with :

/home/odoo/openerp-server -c /etc/odoo/openerp-server.conf  --database=officielle --db_user=odoo --db_password=dfsd --update all

 

 

0
Manish
On 12/25/14, 1:25 AM

@ Pascal, thank you it would help me, however i have my custom modules and config file, will it override my custome settings as well, if yes then how can i preserve it ?

my datas seems ok. my custom modules are also ok. For the moment, I think that all is intact.

Pascal Tremblay
on 12/25/14, 7:39 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

4 follower(s)

Stats

Asked: 12/24/14, 1:12 PM
Seen: 3775 times
Last updated: 3/16/15, 8:10 AM