跳至内容
菜单
此问题已终结
5 回复
59245 查看

Hello there,

I'm trying to run Odoo 10 on Ubuntu 14.04 from nightly source.

Everywhere on the web, it is written to run Odoo 10 with ./odoo-bin

But I don't see this file in the downloaded files.

Where is it???

Should I inevitably run an installation script? (I prefer not)

I don't want to run odoo10 like a service. Not now.


EDIT #1

Usually, with Odoo8, I use this command to run a server :

/home/odoo-iv/odoo-8.0-20161109/openerp-server -c /etc/odoo/openerp-server-iv.conf -db_user=odoo-iv --db_password=xxx --log-level=info --db-filter='odoo-iv' --database=odoo-iv

And the file openerp-server is well located in this directory.

But no trace of odoo-bin in the directory of odoo10...


EDIT #2

I have found the setup.py python file in the source directory. Should I execute this setup.py file to build or install the source code? I didn't have to do that with Odoo 8...

形象
丢弃
编写者 最佳答案

When I download Odoo 10 community source from :

https://nightly.odoo.com/10.0/nightly/src/

or

https://www.odoo.com/fr_FR/page/download

the file odoo-bin is NOT in the directory.


But when I download Odoo 10 community source from Github on https://github.com/odoo/odoo, the file odoo-bin is in the directory.


I have published this issue :

from https://github.com/odoo/odoo/issues/14441

形象
丢弃

Okay, I didnt know how you have downloaded. You should use GIT for source.

最佳答案

The main script used to run the server is called "bin". It can be found in the installation directory of Odoo although the specific location may vary depending on how you installed Odoo and your operating system. Here are a few typical places where you might locate the "odoo bin" file.


形象
丢弃
最佳答案

Hello,

When we download Odoo 10 community source from :   https://nightly.odoo.com/10.0/nightly/src/ OR from  : https://www.odoo.com/page/download

and then once you extract odoo_10.0.latest_all dub package. You will find odoo file in data/usr/bin Path instead of odoo-bin file. You can also find odoo file using locate file_name Command through SSH.

Let me know if this helps you.

Thanks!

形象
丢弃
最佳答案

Odoo-bin is only on 10.0 branch and serves only to play /odoo/cli/ scripts.

形象
丢弃
最佳答案

Hi,

You can search your file by entering command 'locate' + file_name in terminal.

eg.

$ locate odoo-bin

形象
丢弃
编写者

It is nowhere. thanks

编写者

I download the source nightly archive. I decompress archive. No trace of odoo-bin file in this directory.

相关帖文 回复 查看 活动
2
7月 25
4804
2
12月 24
7897
2
11月 24
28704
2
5月 24
7597
3
3月 24
7045