Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
18 ตอบกลับ
5862 มุมมอง

Hey guys,


what are the different options for installing Odoo v11 CE on ubuntu?  The reason I ask is that our outsourced programmer installed it and we cant see the running service as before via systemctl so we are wondering what he did.  They are a firm from India and communication is sketchy so we are waiting on their response but I was just trying to jump the gun here.  I asked if its was a virtual-env install and they said no, which is weird because I can see a odoo11-env folder in the user directory.


~$ sudo systemctl status odoo

[sudo] password for it:

odoo.service

Loaded: error (Reason: No such file or directory)

Active: inactive (dead)

อวตาร
ละทิ้ง

Please update the error log. Then we can help u

ผู้เขียน

updated

คำตอบที่ดีที่สุด

Hi Marcio:

Check whether he has set up Odoo to start as a cron job on system reboot instead of a service.

อวตาร
ละทิ้ง
ผู้เขียน

How do I do that?

คำตอบที่ดีที่สุด

you can try below link steps or you can search lot of links available.

https://www.technaureus.com/install-odoo-11-on-ubuntu-16-04/

อวตาร
ละทิ้ง
ผู้เขียน

I am not asking how to install it. It's already installed. I want to know what are the installation methods they might have used because the typical sudo systemctl status odoo11 doesn't work. Nor do any of the other systemctl commands

คำตอบที่ดีที่สุด

You can try this one:

https://linuxize.com/post/how-to-deploy-odoo-11-on-ubuntu-18-04/

อวตาร
ละทิ้ง
ผู้เขียน

I am not asking how to install it. It's already installed. I want to know what are the installation methods they might have used because the typical sudo systemctl status odoo11 doesn't work. Nor do any of the other systemctl commands

You can stop the service like this:

sudo service odoo-server stop

And start it like this:

sudo service odoo-server start

Notice that the service name can be different, depending on how you've installed the Odoo instance. You can also run the Odoo instance from the terminal (after stopping it) like this:

./odoo-bin -u your_module_to_update -c /etc/odoo-server.conf

If you don't know the name of your service you can find it out by printing out the list of services and grepping (searching) on Odoo:

ls /etc/init.d | grep odoo

You will get an output with all available services which contain the name "odoo".

ผู้เขียน

So I ran your command ls /etc/init.d | grep odoo and it returned this: odoo-server, but even then, when I run sudo systemctl status odoo-server I get: "Loaded: error (No such file or directory) Active: inactive (dead)."

ผู้เขียน

I do believe this is the method used to install it because I can see the odoo11-server.service in the /etc/systemd/system directory. and the service is odoo11 but i cant get it from the systemctl. Like I said, I get the error

คำตอบที่ดีที่สุด

Hello, 

you just try below command for faster and smooth installation of odoo v11 CE

Open your terminal and fire following commands

Step 1: sudo wget https://raw.githubusercontent.com/Yenthe666/InstallScript/11.0/odoo_install.sh -b 11.0

Step 2: sudo chmod +x odoo_install.sh

Step 3: sudo ./odoo_install.sh

After installation of odoo v11 you need to install dependencies of odoo

just go to odoo folder and fire below command

Step 4: pip install -r requirements.txt


Thanks & Regards

Ankit Vaghela

อวตาร
ละทิ้ง
ผู้เขียน

I am not asking how to install it. It's already installed. I want to know what are the installation methods they might have used because the typical sudo systemctl status odoo11 doesn't work. Nor do any of the other systemctl commands

Can you give proper clarification of what you have issues?

ผู้เขียน

sudo systemctl status odoo11 returns error returns: "Loaded: error (No such file or directory) Active: inactive (dead).

you can use

sudo systemctl status odoo

ผู้เขียน

same error. Dead, no such file or directory. Odoo is up and running btw.

can you share your error screenshot?

ผู้เขียน

I am not allowed to post images in this forum for some reason. But the text is this:

~$ sudo systemctl status odoo

[sudo] password for it:

odoo.service

Loaded: error (Reason: No such file or directory)

Active: inactive (dead)

Related Posts ตอบกลับ มุมมอง กิจกรรม
3
ก.ค. 25
1121
3
มิ.ย. 25
4363
5
พ.ค. 25
4902
2
พ.ค. 25
1776
1
ส.ค. 24
2323