Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
5417 Lượt xem

Hello,

We can type the following code to restart the server:

sudo /opt/init.d/openerp-server restart

Then, we may press Settings-->Installed Modules-->Search the module -->upgrade

Then, we need to return the page, e.g.

sales-->create

I would like to ask how to update the module in the command line? Can anyone show the exact command?

Thanks. 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi, goto your server folder in v7 -> cd ./server
 

Then type ./openerp-server -c /path-to-config-file/openerp-server.conf -d dbname -u modulename

Update:

You should stop all the openerp instances in IDE server [in my case eclipse] and then give the above command. Dont forget to include config file and dbname in the command.

To find the no of running instances use the command in the terminal:~ ps aux | grep openerp
To kill the running instances type:~ kill -9 pid

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

I typed the following code: ./openerp-server -c /path-to-config-file/openerp-server.conf -u all The result is

------------------------------------------------------------------------------------------------------------------------------------------------------

error: [Errno 98] Address already in use

2014-07-06 13:43:03,113 3800 INFO ? openerp: OpenERP server is running, waiting for connections...

------------------------------------------------------------------------------------------------------------------------------------------------------

What should I do now?

Ảnh đại diện
Huỷ bỏ

I updated the answer. Go through it...

Câu trả lời hay nhất

Hi Your odoo server is start you must stop it before

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 23
5952
2
thg 2 23
3300
1
thg 3 15
4769
1
thg 3 15
4982
0
thg 11 23
1883