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

ERROR with .deb install

Suscribirse

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

Se marcó esta pregunta
installaddons8.08.0rc1
2 Respuestas
14266 Vistas
Avatar
Sebastian Bollatti

After a fresh install of Debian 7 Wheezzy Gnome2 64 bits and doing "todays" .deb install of 8.0 got this error:

:~$ openerp-server stop
Traceback (most recent call last):
  File "/usr/bin/openerp-server", line 5, in <module>
    openerp.cli.main()
  File "/usr/lib/python2.7/dist-packages/openerp/cli/__init__.py", line 58, in main
    for m in module.get_modules():
  File "/usr/lib/python2.7/dist-packages/openerp/modules/module.py", line 348, in get_modules
    plist.extend(listdir(ad))
  File "/usr/lib/python2.7/dist-packages/openerp/modules/module.py", line 343, in listdir
    return map(clean, filter(is_really_module, os.listdir(dir)))
OSError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/addons'

 

...i checked the folder and doesn't exist. So... and now?

I tried to create one with mkdir on root user and then:

:~$ openerp-server stop

and seems to work but when I start again I get:

admin@Admin:~$ odoo.py -c /opt/odoo/addons/odoo.conf -s
ERROR: couldn't write the config file cos' i am not odoo user and don't have permision, OK
2014-09-19 14:33:29,462 19145 INFO ? openerp: OpenERP version 8.0-29e08a2
2014-09-19 14:33:29,462 19145 INFO ? openerp: addons paths: ['/home/admin/.local/share/Odoo/addons/8.0', u'/usr/lib/python2.7/dist-packages/openerp/addons', u'/usr/lib/python2.7/dist-packages/addons']
2014-09-19 14:33:29,462 19145 INFO ? openerp: database hostname: localhost
2014-09-19 14:33:29,462 19145 INFO ? openerp: database port: 5432
2014-09-19 14:33:29,462 19145 INFO ? openerp: database user: admin  <=== HERE IS 1st PROBLEM User should be: odoo and password ??? i don't know, tryed with "admin" or "odoo" or "False" but no way
2014-09-19 14:33:29,793 19145 INFO ? openerp.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069

 

I think it's easy to reboot and will work flawlessly. I also want addons of "country localization" of other unsupported addons, so it shows 3 path for that:

1) /home/admin/.local/share/Odoo/addons/8.0

2) /usr/lib/python2.7/dist-packages/openerp/addons

3) /usr/lib/python2.7/dist-packages/addons

Which one?

...i tryed on these 3 of them and it was not possible to see an extra-addons on shinnig brand new odoo final release!

What am I doing wrong?

Regards and thanks in advance!

0
Avatar
Descartar
Avatar
Fabian Tribrunner
Mejor respuesta

hi,

there should be a config file in /etc/odoo-server.conf

if not it is in /path/to/odoo-server/debian/openerp-server.conf 
cp it to /etc/ (odoo-Default: /etc/openerp-server.conf)

the conf.file contains:
---------------------------------------------------
[options]
; This is the password that allows database operations:
; admin_passwd = admin
db_host = False
db_port = False
#you might have an other db user
db_user = odoo 
db_password = False
#for more addons path use "," between
addons_path = /usr/lib/python2.7/dist-packages/openerp/addons, /opt/odoo/mycustomaddons
---------------------------------------------------

starting the server with ./path to your odooserver/openerp-server

this also may help: https://www.odoo.com/forum/help-1/question/what-is-the-full-list-of-command-line-options-for-odoo-59139

I prefer the install with a shell-script via github. more of control ;-)

regards
fabian 

 

0
Avatar
Descartar
Avatar
momo
Mejor respuesta

Hello here are my findings with the nightly DEB

Running odoo.py , will run the server with the user ownership instead of odoo.

To Run Odoo Server as "odoo"

sudo -H -u odoo odoo.py

It should work but you would get the previously mentioned error

OSError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/addons'

It means odoo is loading a "default" configuration file from "somewhere" (still haven't found where it is yet).

To enforce using the correct config file rerun the command providing the "correct" config file

sudo -H -u odoo odoo.py --config=/etc/odoo/openerp-server.conf

Hope it did some problem solving, but still scaffolding and other command tend to fail due to the "default configuration file that exists somewhere".

You should be probably be good by just creating an addon folder in the meantime

'/usr/lib/python2.7/dist-packages/addons'

 

0
Avatar
Descartar
¿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 remove addons from database ? Resuelto
install addons
Avatar
Avatar
Avatar
3
dic 22
15258
Error when installing "G.C.C - Arabic/English" 'l10n_gcc_invoice' or "K.S.A - Invoice" 'l10n_sa_invoice' Resuelto
error install addons
Avatar
Avatar
1
ago 24
4654
Custom addons installation
installation install addons
Avatar
Avatar
1
feb 24
5623
Why community modules don't try to install in /opt/openerp/addons
module install addons
Avatar
1
mar 15
8946
How to update Addons Apps in Ubuntu 12.04 OpenERP v7?
install addons update
Avatar
Avatar
Avatar
2
mar 15
8690
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