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

How do I completely STOP and START openerp server

Suscribirse

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

Se marcó esta pregunta
modulerestart
1 Responder
139273 Vistas
Avatar
Cameron

Hi I'm developing a module and constantly making changes to the module.

To stop and start the deb Openerp server I use

sudo /etc/init.d/openerp stop and sudo /etc/init.d/openerp start

However I've noticed its not very consistent! More often than not, errors are not cleared

I'm having do a sudo reboot to make sure , but this is very time consuming!

Does anyone know of a better way? OR is their another service I need to stop?

EDIT The behavior is ....I'll right some bad code (I'm good at this) transfer the module to the addons folder restart the openerp server and I'll get some error message (openerp obviously runs through the addons code to check and validate it), Then I'll remove the module, restart the server, but the error wont clear until I reboot.

THOUGHTS Could it be a python or postgresql service?

RESEARCH If if I use ps -Al to list running services then sudo /etc/init.d/openerp stop followed by `ps -Al again, I can identify that openerp-server is stopped by this command!

2
Avatar
Descartar
Mr. Kinjal Dixit

if i am logged in to openerp and i do a /etc/init.d/openerp restart, i go back to the browser and refresh and I am still logged in. All I know so far is that web server role and the session handling is done by a python module called werkzeug. in my system it is at /usr/lib/python2.7/dist-packages/werkzeug. if you want to reset the state of web side of things, you may want to search further there. if you are developing/testing, you may try the usual steps of clearing the cache on the browser, etc.

IBS Group

Can you give an example of the behavior you get? because if you save your code changes, restart the server and update your modified module, this behavior should not happen.

Cameron
Autor

Cheers Karim - please see EDIT above.

IBS Group

Can you share the error you are getting?

Cameron
Autor

Cheers Kinjal, Yes I to have I've noticed you stay logged in when you stop / start the server. (I wonder if their is a security issue here?) However I don't think this is the cause of my problem! - please see the Edit above. I'm going to try Andreas offering and see how I go! - I suppose the real answer is to write better code first time!

Cameron
Autor

I've forgotten the error, when I get it again I'll report it , but I'm 99.9% sure the error relates to my poor code and is not relevant to this issue. The error message relates to me trying to work out how to use fields.related see here...http://help.openerp.com/question/32739/retrieve-a-field-using-related-to-select-a-selection-field/

Avatar
Andreas Brueckl
Mejor respuesta

Sometimes it happens that there is a deadlock in postgresql. You can see such situations if you see waiting postgres processes when you execute ps ax .

For a complete restart perform:

  • service openerp-server stop
  • service postgresql restart
  • service openerp-server start

(I assume that you have the required scripts in /etc/init.d)

6
Avatar
Descartar
Cameron
Autor

Many thanks... I was starting to think that I imagined it as I had experianced the problem since reporting it ..sods law!

I dont have openerp-server in init.d, I have openerp - also ubuntu server, so I'll try

sudo service openerp stop

sudo service postgresql restart

sudo service openerp start

and see how it goes

gunnar

rebooting the computer (sudo shutdown -r now in your case) on which OpenERP is installed would do the job as well. Maybe not as elegant as the "service .... restart" solution by Andreas but if someone is in doubt .... this will work.

¿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
Error when importing module Product Bidding In ECommerce in odoo 17
module
Avatar
Avatar
1
jul 24
2569
Missing required value for the field 'Model' (model_id)
module
Avatar
Avatar
1
ene 24
6422
View newly installed Module
module
Avatar
Avatar
Avatar
2
mar 23
3492
How to restart server? (odoo.sh v13) Resuelto
restart
Avatar
Avatar
Avatar
Avatar
3
sept 20
38593
How to check for installed modules from my __init__.py?
module
Avatar
Avatar
3
jun 20
11374
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