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

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)

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

Please update the error log. Then we can help u

Tác giả

updated

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

Hi Marcio:

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

Ảnh đại diện
Huỷ bỏ
Tác giả

How do I do that?

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

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/

Ảnh đại diện
Huỷ bỏ
Tác giả

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

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

You can try this one:

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

Ảnh đại diện
Huỷ bỏ
Tác giả

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".

Tác giả

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)."

Tác giả

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

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

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

Ảnh đại diện
Huỷ bỏ
Tác giả

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?

Tác giả

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

you can use

sudo systemctl status odoo

Tác giả

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

can you share your error screenshot?

Tác giả

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)

Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 7 25
1121
3
thg 6 25
4363
5
thg 5 25
4902
2
thg 5 25
1776
1
thg 8 24
2323