Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de bienes inmuebles
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyectos
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

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

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
servicecommunityodoo10ubuntu16
7 Respuestas
44732 Vistas
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
Mejor respuesta

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ö
Mejor respuesta

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
Mejor respuesta

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
Mejor respuesta

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.

¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
How to change field's string label based on condition? Resuelto
community odoo10
Avatar
Avatar
Avatar
Avatar
3
jul 23
28515
Odoo Recruitment Job Offer
community odoo10
Avatar
Avatar
Avatar
2
jun 22
6316
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
sept 21
5558
How to convert time to float?
community odoo10
Avatar
1
nov 20
8873
Domain Filter in search view for a date field not giving correct results only on Monday.
community odoo10
Avatar
Avatar
2
mar 19
6678
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

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