Odoo Help


How to update Odoo files from Github?

Pascal Tremblay
on 12/24/14, 1:12 PM 5,208 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?



Pascal Tremblay

--Pascal Tremblay--
| 5 3 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"


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



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

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

4 follower(s)


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