Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Odoo 10 runs via ./odoo-bin but cannot get to run as a service - Is this a systemd / upstart thing?

Subscriure's

Get notified when there's activity on this post

This question has been flagged
servicecommunityodoo10ubuntu16
7 Respostes
44735 Vistes
Avatar
Cameron

I've installed odoo10 - by running ./odoo-bin all works, add mods, control etc, etc... happy days!

Ive create a service, and although the service appears to start  - nothing appears in my browser..

Is this a systemd / upstart thing?

Any ideas or direction would be greatly appreciated

I've even tried odoo 9 but same problem :(

I thought it was because I am also running openerp 7 - but no change when I stop that service

3
Avatar
Descartar
Avatar
Ray Carnes
Best Answer

Yes - You need to convert upstart scripts to systemd.  See https://wiki.ubuntu.com/SystemdForUpstartUsers or https://www.digitalocean.com

On Ubuntu, this is how you create a service for Odoo X (tested with v10, v11, v12 and v13):

[Unit]
Description=Odoo
Documentation=http://www.odoo.com/

[Service]
# Ubuntu/Debian convention:
Type=simple
User=odoo
ExecStart=/opt/odoo/odoo-bin -c /etc/odoo-server.conf

[Install]
WantedBy=default.target

You put this in /etc/systemd/system and I called my file odooX.service so you can then do:

sudo systemctl daemon-reload (Reloads services) 

sudo systemctl start odooX.service (starts service)
sudo systemctl stop odooX.service (stops service)
sudo systemctl restart odooX.service (restarts Service)
sudo systemctl status odooX.service (status of service)
sudo systemctl enable odooX.service (starts service at boot)
sudo systemctl disable odooX.service (disables service at boot)

.


6
Avatar
Descartar
Cameron
Autor

YES! yes yes yes yes yes yes yes yes yes yes yes yes yes yes- thank you so so much, have a great new year!

Deepa Venkatesh

@Ray, this worked lilke a charm, thankQ so much. The same I would like to run for multi-user.target. Could you plz let me know what needs to done for that? I did place the service file in multi-user.target.wants, but got an error like, 'Unit not found'

Ray Carnes (ray)

odoo service ubuntu systemd 2023

Avatar
Stella Fredö
Best Answer

This one works on the CENTOS 7 .2for odoo 10 your service script [Unit] Description=ODOO Application Server After=network.service [Install] Alias=odoo-server.service [Service] Type=simple PermissionsStartOnly=true User=odoo Group=odoo SyslogIdentifier=odoo-server PIDFile=/run/odoo/odoo-server.pid ExecStartPre=/usr/bin/install -d -m755 -o odoo -g odoo /run/odoo ExecStart=/PATH-TO-YOUR/odoo-bin -c /etc/odoo-server.conf --pid=/run/odoo/odoo-server.pid --syslog ExecStop=/bin/kill $MAINPID [Install] WantedBy=multi-user.target

1
Avatar
Descartar
Avatar
Antuan
Best Answer

This is the systemd file we are currently using

odoo.service
[Unit]
Description=ODOO Application Server
Requires=postgresql.service
After=postgresql.service
[Install]
Alias=odoo.service
[Service]
Type=simple
PermissionsStartOnly=true
User=ingeos
Group=ingeos
SyslogIdentifier=odoo
PIDFile=/run/odoo/odoo.pid
ExecStartPre=/usr/bin/install -d -m755 -o ingeos -g ingeos /run/odoo
ExecStart=/home/ingeos/odoo/server/odoo-bin -c /etc/odoo/odoo.conf --pid=/run/odoo/odoo.pid
ExecStop=/bin/kill $MAINPID
[Install]
WantedBy=multi-user.target
0
Avatar
Descartar
Avatar
Alison Smith
Best Answer

Hi Cameron

We are an Odoo user in the UK and have a similar issue - any chance we can talk?

01572 338011

Thank you

Alison

0
Avatar
Descartar
Abhishek Mehta

We are happy to help on same, Please contact at abhishek@erpharbor.com same email you can find on Skype too.

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
How to change field's string label based on condition? Solved
community odoo10
Avatar
Avatar
Avatar
Avatar
3
de jul. 23
28519
Odoo Recruitment Job Offer
community odoo10
Avatar
Avatar
Avatar
2
de juny 22
6317
Copying value from sale order line to stock move it shows only second row value in both rows. code:
community odoo10
Avatar
Avatar
Avatar
2
de set. 21
5561
How to convert time to float?
community odoo10
Avatar
1
de nov. 20
8875
Domain Filter in search view for a date field not giving correct results only on Monday.
community odoo10
Avatar
Avatar
2
de març 19
6678
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now