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

openerp.netsvc: permission denied for relation ir_module_module

Suscribirse

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

Se marcó esta pregunta
change
5 Respuestas
34177 Vistas
Avatar
CTT

Hi everybody !

Firstly, my database (in postgreSQL) belonged to openerp user. Then I changed the owner to another user (in my config file, /etc/openerp-server-hrm.conf). When I accessed after that, I have this error. Detail error in log file: " 2013-10-17 17:22:03,214 8912 ERROR hrm openerp.sql_db: Programming error: permission denied for relation ir_module_module , in query SELECT name, id, state, demo AS dbdemo, latest_version AS installed_version FROM ir_module_module WHERE name IN %s 2013-10-17 17:22:03,215 8912 ERROR hrm openerp.netsvc: permission denied for relation ir_module_module Traceback (most recent call last): File "/opt/openerp/openerp-hrm/openerp/openerp/netsvc.py", line 292, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/opt/openerp/openerp-hrm/openerp/openerp/service/web_services.py", line 433, in dispatch return fn(*params) File "/opt/openerp/openerp-hrm/openerp/openerp/service/web_services.py", line 444, in exp_authenticate res_users = pooler.get_pool(db).get('res.users') ..................................... ProgrammingError: permission denied for relation ir_module_module"

Many thanks!

3
Avatar
Descartar
Avatar
Vijay Baladaniya (vba)
Mejor respuesta

The user using which you are trying to access the database may not be SUPERUSER access privileges.

So make sure that the user through which you are trying to login database must be SUPERUSER and if not then run following steps in terminal which will alter user into SUPERUSER:

1) psql template1 2) ALTER USER user_name WITH SUPERUSER; (user_name = The user by with you are going to restore the database. It gives SUPERUSER access privileges to user_name)

10
Avatar
Descartar
babu

Hi Vijay, still i am facing the same problem is there any suggestions please give me.

Avatar
Sagar Pise
Mejor respuesta

I face same problem. I waste almost half day to resolve this problem, problem is there are two odoo server live and testing on same machine with different database user.In browser login to testing server and close the page and again try to login to live server from same browser and checking log. Odoo try to login testing database from live code base and same error raised. So just clear browser cache py pressing ctrl + shift + Del and delete everything, problem solved.

2
Avatar
Descartar
Avatar
jordy
Mejor respuesta

Hi,  I have a similar problem pls . when I get up my second odoo (with an second process script)

1.        I have two config files in  /etc/odoo/  --->openerp-server.conf    :8069 (defalut)

                                                             --->choclito-server.conf    :8169

(also I use xmlrpc=8169 to point my port, and )

2.        I have two owner in my  postgresql  --> odoo    -->odoopass   (defalut)

                                                             --> choclito    ---> choclitopass

(my first database called db1 , and my second is db2)

3.        and I have two process script in /etc/init.d/ --> odoo  (defalut)

                                                            ------------> choclito

all my config files have permission odoo:odoo ( , except in /etc/init.d/   because they are from root)

(i have nginx with my web srv, but I don think so , becausa my ports listen ok, I think is some related to my database , I dont know )      :(

... and this is my log from my second odoo (when I run choclito , but my first odoo was already running before):

======================================================================================================

2016-12-15 14:34:05,694 7431 INFO db1 werkzeug: 179.7.94.77 - - [15/Dec/2016 14:34:05] "GET / HTTP/1.1" 500 -2016-12-15 14:34:05,700 7431 ERROR db1 werkzeug: Error on request:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 177, in run_wsgi    execute(self.server.app) 
File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 165, in execute    application_iter = app(environ, start_response) 
File "/usr/lib/python2.7/dist-packages/openerp/service/server.py", line 291, in app    return self.app(e, s) 
File "/usr/lib/python2.7/dist-packages/openerp/service/wsgi_server.py", line 216, in application    return application_unproxied(environ, start_response) 
File "/usr/lib/python2.7/dist-packages/openerp/service/wsgi_server.py", line 202, in application_unproxied    result = handler(environ, start_response) 
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 1297, in __call__    return self.dispatch(environ, start_response) 
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 1271, in __call__    return self.app(environ, start_wrapped) 
File "/usr/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 579, in __call__    return self.app(environ, start_response) 
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 1435, in dispatch    ir_http = request.registry['ir.http'] 
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 353, in registry    return openerp.modules.registry.RegistryManager.get(self.db) if self.db else None 
File "/usr/lib/python2.7/dist-packages/openerp/modules/registry.py", line 339, in get    update_module) 
File "/usr/lib/python2.7/dist-packages/openerp/modules/registry.py", line 370, in new    openerp.modules.load_modules(registry._db, force_demo, status, update_module) 
File "/usr/lib/python2.7/dist-packages/openerp/modules/loading.py", line 289, in load_modules    graph.add_module(cr, 'base', force) 
File "/usr/lib/python2.7/dist-packages/openerp/modules/graph.py", line 89, in add_module    self.add_modules(cr, [module], force) 
File "/usr/lib/python2.7/dist-packages/openerp/modules/graph.py", line 129, in add_modules    self.update_from_db(cr) 
File "/usr/lib/python2.7/dist-packages/openerp/modules/graph.py", line 78, in update_from_db    ' WHERE name IN %s',(tuple(additional_data),) 
File "/usr/lib/python2.7/dist-packages/openerp/sql_db.py", line 158, in wrapper    return f(self, *args, **kwargs) 
File "/usr/lib/python2.7/dist-packages/openerp/sql_db.py", line 234, in execute    res = self._obj.execute(query, params)ProgrammingError: permission denied for relation ir_module_module


0
Avatar
Descartar
Avatar
Carlos Enrique Contreras Vara
Mejor respuesta

Suhas it work for me your answer thankyou

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
Rescrict edit's in Products and BoM
change editing
Avatar
Avatar
2
sept 25
602
How can I update my custom addon icon if it doesn't have a menu? Resuelto
change icon
Avatar
Avatar
Avatar
Avatar
3
ago 25
1155
change url e-commerce productpage
change url
Avatar
Avatar
1
jun 25
4042
Changing currency of the company
currency change
Avatar
Avatar
1
abr 22
3435
Edit and Change Journal book in a journal entry
change journal_entry
Avatar
0
nov 21
3681
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