跳至內容
選單
此問題已被標幟
2 回覆
5899 瀏覽次數

Hi,

My question is really simple.

When I have a odoo8 nightly build version for example from 20160401 installed, how can I update this version to the actually new nightlybuild version?

Is it possible to do a apt-get remove odoo and then a apt-get install odoo with the new nightlybuild version in /etc/apt/sources.list

Thanks for your help people.

頭像
捨棄
最佳答案

You can simply do

apt-get update && apt-get upgrade

if you have odoo nightly repository listed in your /etc/apt/sources.list, it'll update your odoo instance as well, together with other updates in the system.

頭像
捨棄

Note: it may be required "sudo" for Ubuntu, like:

 sudo apt-get update && sudo apt-get upgrade
作者

and if I want to upgrade only odoo ?

yes it's possible as well. From above command you can not avoid "apt-get update" part, as it checks for and updates information abut updates, it do not actually updates anything. after that you can run "apt-get install odoo" instead of "apt-get upgrade":

apt-get update && apt-get install odoo
(add "sudo" to this command like above, if it's necessary) this command will update only odoo in most cases, but if some direct dependencies of odoo need to be updated, they will be included anyway and updated together with odoo, but you'll avoid to update a whole system this way, if you like so.

Hi, Just make sure you keep the configuration file. With .rpm based systems, updating the night build, overwrites the config file, and whatever customizations you have made are gone. It is our believe that the same happens with .dep based systems. Just our two cents. Regards Nick

最佳答案

I think it is better to use GitHub

\https://github.com/odoo/odoo

 git clone https://github.com/odoo/odoo.git --branch 9.0

 

頭像
捨棄

If you made a package install, why should it be better to update using github?

相關帖文 回覆 瀏覽次數 活動
2
3月 15
14630
8
12月 16
18406
1
3月 16
6852
1
11月 15
4122
2
5月 24
6456