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

Ubuntu Linux 12.04 64-bit after Installation Internal Server Error

Suscribirse

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

Se marcó esta pregunta
ubuntu
4 Respuestas
23349 Vistas
Avatar
Sven Meikel Auer

Hi,

After the Installation over apt-get I become on Internal Server Error.

--------------------------------- INTERNAL SERVER ERROR - Begin ----------------------------- {"message": "OpenERP Server Error", "code": 200, "data": {"debug": "Server Traceback (most recent call last):\n File \"/usr/lib/pymodules/python2.7/openerp/addons/web/session.py\", line 89, in send\n return openerp.netsvc.dispatch_rpc(service_name, method, args)\n File \"/usr/lib/pymodules/python2.7/openerp/netsvc.py\", line 292, in dispatch_rpc\n result = ExportService.getService(service_name).dispatch(method, params)\n File \"/usr/lib/pymodules/python2.7/openerp/service/web_services.py\", line 122, in dispatch\n return fn(params)\n File \"/usr/lib/pymodules/python2.7/openerp/service/web_services.py\", line 359, in exp_list\n cr = db.cursor()\n File \"/usr/lib/pymodules/python2.7/openerp/sql_db.py\", line 484, in cursor\n return Cursor(self._pool, self.dbname, serialized=serialized)\n File \"/usr/lib/pymodules/python2.7/openerp/sql_db.py\", line 182, in __init__\n self._cnx = pool.borrow(dsn(dbname))\n File \"/usr/lib/pymodules/python2.7/openerp/sql_db.py\", line 377, in _locked\n return fun(self, *args, *kwargs)\n File \"/usr/lib/pymodules/python2.7/openerp/sql_db.py\", line 440, in borrow\n result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)\n File \"/usr/lib/python2.7/dist-packages/psycopg2/__init__.py\", line 179, in connect\n connection_factory=connection_factory, async=async)\nOperationalError: FATAL: role \"openerp\" does not exist\n\n\nClient Traceback (most recent call last):\n File \"/usr/lib/pymodules/python2.7/openerp/addons/web/http.py\", line 285, in dispatch\n r = method(self, **self.params)\n File \"/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py\", line 573, in index\n db, redir = db_monodb_redirect(req)\n File \"/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py\", line 98, in db_monodb_redirect\n return db_redirect(req, not config['list_db'])\n File \"/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py\", line 109, in db_redirect\n dbs = db_list(req, True)\n File \"/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py\", line 90, in db_list\n dbs = proxy.list(force)\n File \"/usr/lib/pymodules/python2.7/openerp/addons/web/session.py\", line 30, in proxy_method\n result = self.session.send(self.service_name, method, *args)\n File \"/usr/lib/pymodules/python2.7/openerp/addons/web/session.py\", line 103, in send\n raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)\nFault: <fault fatal:="" role="" \"openerp\"="" does="" not="" exist\n:="" 'traceback="" (most="" recent="" call="" last):\\n="" file="" \"="" usr="" lib="" pymodules="" python2.7="" openerp="" addons="" web="" session.py\",="" line="" 89,="" in="" send\\n="" return="" openerp.netsvc.dispatch_rpc(service_name,="" method,="" args)\\n="" file="" \"="" usr="" lib="" pymodules="" python2.7="" openerp="" netsvc.py\",="" line="" 292,="" in="" dispatch_rpc\\n="" result="ExportService.getService(service_name).dispatch(method," params)\\n="" file="" \"="" usr="" lib="" pymodules="" python2.7="" openerp="" service="" web_services.py\",="" line="" 122,="" in="" dispatch\\n="" return="" fn(*params)\\n="" file="" \"="" usr="" lib="" pymodules="" python2.7="" openerp="" service="" web_services.py\",="" line="" 359,="" in="" exp_list\\n="" cr="db.cursor()\\n" file="" \"="" usr="" lib="" pymodules="" python2.7="" openerp="" sql_db.py\",="" line="" 484,="" in="" cursor\\n="" return="" cursor(self._pool,="" self.dbname,="" serialized="serialized)\\n" file="" \"="" usr="" lib="" pymodules="" python2.7="" openerp="" sql_db.py\",="" line="" 182,="" in="" __init__\\n="" self._cnx="pool.borrow(dsn(dbname))\\n" file="" \"="" usr="" lib="" pymodules="" python2.7="" openerp="" sql_db.py\",="" line="" 377,="" in="" _locked\\n="" return="" fun(self,="" *args,="" **kwargs)\\n="" file="" \"="" usr="" lib="" pymodules="" python2.7="" openerp="" sql_db.py\",="" line="" 440,="" in="" borrow\\n="" result="psycopg2.connect(dsn=dsn," connection_factory="PsycoConnection)\\n" file="" \"="" usr="" lib="" python2.7="" dist-packages="" psycopg2="" __init__.py\",="" line="" 179,="" in="" connect\\n="" connection_factory="connection_factory," async="async)\\nOperationalError:" fatal:="" role="" \"openerp\"="" does="" not="" exist\\n\\n'="">\n", "fault_code": "FATAL: role \"openerp\" does not exist\n", "type": "server_exception"}} --------------------------------- INTERNAL SERVER ERROR - END -----------------------------

In the openerp-server.log I found this.

-------------------------------- OPENERP-SERVER.LOG - Begin --------------------------------- 2013-07-08 16:50:30,698 9423 INFO ? openerp: OpenERP version 7.0-20130707-231033 2013-07-08 16:50:30,698 9423 INFO ? openerp: addons paths: /usr/lib/pymodules/python2.7/openerp/addons 2013-07-08 16:50:30,698 9423 INFO ? openerp: database hostname: localhost 2013-07-08 16:50:30,698 9423 INFO ? openerp: database port: 5432 2013-07-08 16:50:30,698 9423 INFO ? openerp: database user: openerp 2013-07-08 16:50:31,522 9423 INFO ? openerp.addons.google_docs.google_docs: GData lib version %s GData-Python/2.0.14 detected 2013-07-08 16:50:32,072 9423 INFO ? openerp.service.wsgi_server: HTTP service (werkzeug) running on 0.0.0.0:8069 2013-07-08 16:50:32,073 9423 INFO ? openerp: OpenERP server is running, waiting for connections... 2013-07-08 16:51:33,736 9857 INFO ? openerp: OpenERP version 7.0-20130707-231033 2013-07-08 16:51:33,736 9857 INFO ? openerp: addons paths: /usr/lib/pymodules/python2.7/openerp/addons 2013-07-08 16:51:33,736 9857 INFO ? openerp: database hostname: localhost 2013-07-08 16:51:33,736 9857 INFO ? openerp: database port: 5432 2013-07-08 16:51:33,736 9857 INFO ? openerp: database user: openerp 2013-07-08 16:51:34,106 9857 INFO ? openerp.addons.google_docs.google_docs: GData lib version %s GData-Python/2.0.14 detected 2013-07-08 16:51:34,385 9857 INFO ? openerp: OpenERP server is running, waiting for connections... 2013-07-08 16:51:42,461 9857 INFO ? openerp.service: Initiating shutdown 2013-07-08 16:51:42,461 9857 INFO ? openerp.service: Hit CTRL-C again or send a second signal to force the shutdown. 2013-07-08 16:51:43,876 9873 INFO ? openerp: OpenERP version 7.0-20130707-231033 2013-07-08 16:51:43,876 9873 INFO ? openerp: addons paths: /usr/lib/pymodules/python2.7/openerp/addons 2013-07-08 16:51:43,876 9873 INFO ? openerp: database hostname: localhost 2013-07-08 16:51:43,877 9873 INFO ? openerp: database port: 5432 2013-07-08 16:51:43,877 9873 INFO ? openerp: database user: openerp 2013-07-08 16:51:44,238 9873 INFO ? openerp.addons.google_docs.google_docs: GData lib version %s GData-Python/2.0.14 detected 2013-07-08 16:51:44,504 9873 INFO ? openerp: OpenERP server is running, waiting for connections... 2013-07-08 16:51:57,471 9423 ERROR ? openerp.sql_db: Connection to the database failed Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 440, in borrow result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: FATAL: role "openerp" does not exist

2013-07-08 16:51:57,472 9423 ERROR ? openerp.netsvc: FATAL: role "openerp" does not exist Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 292, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 122, in dispatch return fn(params) File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 359, in exp_list cr = db.cursor() File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 484, in cursor return Cursor(self._pool, self.dbname, serialized=serialized) File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 182, in __init__ self._cnx = pool.borrow(dsn(dbname)) File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 377, in _locked return fun(self, *args, *kwargs) File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 440, in borrow result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: FATAL: role "openerp" does not exist

2013-07-08 16:51:57,475 9423 INFO ? werkzeug: 108.x.x.x - - [08/Jul/2013 16:51:57] "GET / HTTP/1.1" 500 - 2013-07-08 16:59:31,362 9423 ERROR ? openerp.sql_db: Connection to the database failed Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 440, in borrow result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: FATAL: role "openerp" does not exist

2013-07-08 16:59:31,362 9423 ERROR ? openerp.netsvc: FATAL: role "openerp" does not exist Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 292, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 122, in dispatch return fn(params) File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 359, in exp_list cr = db.cursor() File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 484, in cursor return Cursor(self._pool, self.dbname, serialized=serialized) File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 182, in __init__ self._cnx = pool.borrow(dsn(dbname)) File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 377, in _locked return fun(self, *args, *kwargs) File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 440, in borrow result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: FATAL: role "openerp" does not exist

2013-07-08 16:59:31,363 9423 INFO ? werkzeug: 108.x.x.x - - [08/Jul/2013 16:59:31] "GET / HTTP/1.1" 500 - 2013-07-08 16:59:35,871 9423 ERROR ? openerp.sql_db: Connection to the database failed Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 440, in borrow result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: FATAL: role "openerp" does not exist

2013-07-08 16:59:35,871 9423 ERROR ? openerp.netsvc: FATAL: role "openerp" does not exist Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 292, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 122, in dispatch return fn(params) File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 359, in exp_list cr = db.cursor() File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 484, in cursor return Cursor(self._pool, self.dbname, serialized=serialized) File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 182, in __init__ self._cnx = pool.borrow(dsn(dbname)) File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 377, in _locked return fun(self, *args, *kwargs) File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 440, in borrow result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: FATAL: role "openerp" does not exist

2013-07-08 16:59:35,872 9423 INFO ? werkzeug: 108.x.x.x - - [08/Jul/2013 16:59:35] "GET / HTTP/1.1" 500 - 2013-07-08 16:59:47,041 11381 INFO ? openerp: OpenERP version 7.0-20130707-231033 2013-07-08 16:59:47,042 11381 INFO ? openerp: addons paths: /usr/lib/pymodules/python2.7/openerp/addons 2013-07-08 16:59:47,042 11381 INFO ? openerp: database hostname: localhost 2013-07-08 16:59:47,042 11381 INFO ? openerp: database port: 5432 2013-07-08 16:59:47,042 11381 INFO ? openerp: database user: openerp 2013-07-08 16:59:47,416 11381 INFO ? openerp.addons.google_docs.google_docs: GData lib version %s GData-Python/2.0.14 detected 2013-07-08 16:59:47,711 11381 INFO ? openerp: OpenERP server is running, waiting for connections... 2013-07-08 16:59:52,964 11381 INFO ? openerp.service: Initiating shutdown 2013-07-08 16:59:52,964 11381 INFO ? openerp.service: Hit CTRL-C again or send a second signal to force the shutdown. 2013-07-08 16:59:54,375 11396 INFO ? openerp: OpenERP version 7.0-20130707-231033 2013-07-08 16:59:54,375 11396 INFO ? openerp: addons paths: /usr/lib/pymodules/python2.7/openerp/addons 2013-07-08 16:59:54,375 11396 INFO ? openerp: database hostname: localhost 2013-07-08 16:59:54,375 11396 INFO ? openerp: database port: 5432 2013-07-08 16:59:54,376 11396 INFO ? openerp: database user: openerp 2013-07-08 16:59:54,740 11396 INFO ? openerp.addons.google_docs.google_docs: GData lib version %s GData-Python/2.0.14 detected 2013-07-08 16:59:55,007 11396 INFO ? openerp: OpenERP server is running, waiting for connections... 2013-07-08 16:59:59,309 9423 ERROR ? openerp.sql_db: Connection to the database failed Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 440, in borrow result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: FATAL: role "openerp" does not exist

2013-07-08 16:59:59,310 9423 ERROR ? openerp.netsvc: FATAL: role "openerp" does not exist Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 292, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 122, in dispatch return fn(params) File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 359, in exp_list cr = db.cursor() File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 484, in cursor return Cursor(self._pool, self.dbname, serialized=serialized) File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 182, in __init__ self._cnx = pool.borrow(dsn(dbname)) File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 377, in _locked return fun(self, *args, *kwargs) File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 440, in borrow result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: FATAL: role "openerp" does not exist

2013-07-08 16:59:59,311 9423 INFO ? werkzeug: 108.x.x.x - - [08/Jul/2013 16:59:59] "GET / HTTP/1.1" 500 -

-------------------------------- OPENERP-SERVER.LOG - End ---------------------------------

I hope someone can help me. The installation was done on a fresh Ubuntu. You just will not work. Always get the Internal Server Error right after installation when I open the page on the web browser.

Greetings Sven

0
Avatar
Descartar
Avatar
patrick
Mejor respuesta

The issue is that the user/role openerp is not defined within postgreSQL.

Solution:

On a terminal, type the following:

sudo su - postgres
createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt openerp

It will ask you for a password for the role/user openerp, type it twice. When done, quit the user postgres:

exit

You should be able to use openERP now. It has been a while I have installed openERP on a new Ubuntu 12.04.2 server, you might have to add the username and/or password to a specific file. Just let us know if the above was not enough.

3
Avatar
Descartar
Igor Pereira

On Odoo 9 change user openerp to odoo. That did the trick.

Avatar
joris Dobbelaer
Mejor respuesta

Had the same problem after a fresh install of ubuntu 12.04 and openerp.

What worked for me was upgrading to postgresql 9.3

This are all the things I did:

edit your sources.list and add the repository for postgresql 9.3 which you can find the address on the postgresql website (I am not allowed to post links here, not enough karma)

sudo apt-get update 

sudo apt-get install postgresql-9.3 postgresql-contrib-9.3

sudo pg_createcluster 9.3 main --start

after that

 sudo su - postgres createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt openerp

And then the openerp install starts working on localhost:8069

0
Avatar
Descartar
Avatar
Sven Meikel Auer
Autor Mejor respuesta

Hi patrick ,

Hi patrick,

thanks you for your help.

I am one step further. Now I get the Data Management at Create the following error message.

OpenERP Server Error

Client Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 204, in dispatch response["result"] = method(self, **self.params) File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 777, in create params['create_admin_pwd']) File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 30, in proxy_method result = self.session.send(self.service_name, method, *args) File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 103, in send raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)

Server Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 89, in send return openerp.netsvc.dispatch_rpc(service_name, method, args) File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 292, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 122, in dispatch return fn(params) File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 167, in exp_create_database self._create_empty_database(db_name) File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 136, in _create_empty_database cr.execute("""CREATE DATABASE "%s" ENCODING 'unicode' TEMPLATE "%s" """ % (name, chosen_template)) File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 161, in wrapper return f(self, *args, *kwargs) File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 226, in execute res = self._obj.execute(query, params) DataError: encoding UTF8 does not match locale en_US DETAIL: The chosen LC_CTYPE setting requires encoding LATIN1.

I hope you can help me again. Or maybe someone else has another idea what it could be.

Greetings Sven

0
Avatar
Descartar
Jeudy Nicolas

I answer this in you second opened question

Avatar
Tariq
Mejor respuesta

Hello,

This is the error I got with Cent Os 64bit

Internal Server Error {"message": "OpenERP Server Error", "code": 200, "data": {"debug": "Server Traceback (most recent call last):\n File \"/usr/lib/python2.6/site-packages/openerp-7.0_20140310_003041-py2.6.egg/openerp/addons/web/session.py\", line 89, in send\n return openerp.netsvc.dispatch_rpc(service_name, method, args)\n File \"/usr/lib/python2.6/site-packages/openerp-7.0_20140310_003041-py2.6.egg/openerp/netsvc.py\", line 292, in dispatch_rpc\n result = ExportService.getService(service_name).dispatch(method, params)\n File \"/usr/lib/python2.6/site-packages/openerp-7.0_20140310_003041-py2.6.egg/openerp/service/web_services.py\", line 122, in dispatch\n return fn(params)\n File \"/usr/lib/python2.6/site-packages/openerp-7.0_20140310_003041-py2.6.egg/openerp/service/web_services.py\", line 359, in exp_list\n cr = db.cursor()\n File \"/usr/lib/python2.6/site-packages/openerp-7.0_20140310_003041-py2.6.egg/openerp/sql_db.py\", line 484, in cursor\n return Cursor(self._pool, self.dbname, serialized=serialized)\n File \"/usr/lib/python2.6/site-packages/openerp-7.0_20140310_003041-py2.6.egg/openerp/sql_db.py\", line 182, in __init__\n self._cnx = pool.borrow(dsn(dbname))\n File \"/usr/lib/python2.6/site-packages/openerp-7.0_20140310_003041-py2.6.egg/openerp/sql_db.py\", line 377, in _locked\n return fun(self, *args, *kwargs)\n File \"/usr/lib/python2.6/site-packages/openerp-7.0_20140310_003041-py2.6.egg/openerp/sql_db.py\", line 440, in borrow\n result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)\n File \"/usr/lib64/python2.6/site-packages/psycopg2/__init__.py\", line 164, in connect\n conn = _connect(dsn, connection_factory=connection_factory, async=async)\nOperationalError: FATAL: no pg_hba.conf entry for host \"[local]\", user \"openerp\", database \"postgres\", SSL off\n\n\nClient Traceback (most recent call last):\n File \"/usr/lib/python2.6/site-packages/openerp-7.0_20140310_003041-py2.6.egg/openerp/addons/web/http.py\", line 285, in dispatch\n r = method(self, **self.params)\n File \"/usr/lib/python2.6/site-packages/openerp-7.0_20140310_003041-py2.6.egg/openerp/addons/web/controllers/main.py\", line 570, in index\n db, redir = db_monodb_redirect(req)\n File \"/usr/lib/python2.6/site-packages/openerp-7.0_20140310_003041-py2.6.egg/openerp/addons/web/controllers/main.py\", line 98, in db_monodb_redirect\n return db_redirect(req, not config['list_db'])\n File \"/usr/lib/python2.6/site-packages/openerp-7.0_20140310_003041-py2.6.egg/openerp/addons/web/controllers/main.py\", line 109, in db_redirect\n dbs = db_list(req, True)\n File \"/usr/lib/python2.6/site-packages/openerp-7.0_20140310_003041-py2.6.egg/openerp/addons/web/controllers/main.py\", line 90, in db_list\n dbs = proxy.list(force)\n File \"/usr/lib/python2.6/site-packages/openerp-7.0_20140310_003041-py2.6.egg/openerp/addons/web/session.py\", line 30, in proxy_method\n result = self.session.send(self.service_name, method, *args)\n File \"/usr/lib/python2.6/site-packages/openerp-7.0_20140310_003041-py2.6.egg/openerp/addons/web/session.py\", line 103, in send\n raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)\nFault: <fault fatal:="" no="" pg_hba.conf="" entry="" for="" host="" \"[local]\",="" user="" \"openerp\",="" database="" \"postgres\",="" ssl="" off\n:="" 'traceback="" (most="" recent="" call="" last):\\n="" file="" \"="" usr="" lib="" python2.6="" site-packages="" openerp-7.0_20140310_003041-py2.6.egg="" openerp="" addons="" web="" session.py\",="" line="" 89,="" in="" send\\n="" return="" openerp.netsvc.dispatch_rpc(service_name,="" method,="" args)\\n="" file="" \"="" usr="" lib="" python2.6="" site-packages="" openerp-7.0_20140310_003041-py2.6.egg="" openerp="" netsvc.py\",="" line="" 292,="" in="" dispatch_rpc\\n="" result="ExportService.getService(service_name).dispatch(method," params)\\n="" file="" \"="" usr="" lib="" python2.6="" site-packages="" openerp-7.0_20140310_003041-py2.6.egg="" openerp="" service="" web_services.py\",="" line="" 122,="" in="" dispatch\\n="" return="" fn(*params)\\n="" file="" \"="" usr="" lib="" python2.6="" site-packages="" openerp-7.0_20140310_003041-py2.6.egg="" openerp="" service="" web_services.py\",="" line="" 359,="" in="" exp_list\\n="" cr="db.cursor()\\n" file="" \"="" usr="" lib="" python2.6="" site-packages="" openerp-7.0_20140310_003041-py2.6.egg="" openerp="" sql_db.py\",="" line="" 484,="" in="" cursor\\n="" return="" cursor(self._pool,="" self.dbname,="" serialized="serialized)\\n" file="" \"="" usr="" lib="" python2.6="" site-packages="" openerp-7.0_20140310_003041-py2.6.egg="" openerp="" sql_db.py\",="" line="" 182,="" in="" __init__\\n="" self._cnx="pool.borrow(dsn(dbname))\\n" file="" \"="" usr="" lib="" python2.6="" site-packages="" openerp-7.0_20140310_003041-py2.6.egg="" openerp="" sql_db.py\",="" line="" 377,="" in="" _locked\\n="" return="" fun(self,="" *args,="" **kwargs)\\n="" file="" \"="" usr="" lib="" python2.6="" site-packages="" openerp-7.0_20140310_003041-py2.6.egg="" openerp="" sql_db.py\",="" line="" 440,="" in="" borrow\\n="" result="psycopg2.connect(dsn=dsn," connection_factory="PsycoConnection)\\n" file="" \"="" usr="" lib64="" python2.6="" site-packages="" psycopg2="" __init__.py\",="" line="" 164,="" in="" connect\\n="" conn="_connect(dsn," connection_factory="connection_factory," async="async)\\nOperationalError:" fatal:="" no="" pg_hba.conf="" entry="" for="" host="" \"[local]\",="" user="" \"openerp\",="" database="" \"postgres\",="" ssl="" off\\n\\n'="">\n", "fault_code": "FATAL: no pg_hba.conf entry for host \"[local]\", user \"openerp\", database \"postgres\", SSL off\n", "type": "server_exception"}}

Please, Help me and point me to the correct answer as am very new on this :(

Thank you, Regards, Tariq

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
plotly.io.to_image not working within odoo 14 on Ubuntu 20.04 server
ubuntu
Avatar
0
feb 22
4743
How to solve Resolution Error
ubuntu
Avatar
Avatar
Avatar
2
mar 15
7889
No success with installing saas-5 on Ubuntu 12.04
ubuntu
Avatar
Avatar
1
mar 15
6379
Odoo Log Files won't Open
ubuntu logs
Avatar
Avatar
2
ago 23
4568
How to add new custom-addons directory to the Odoo server? Resuelto
addons ubuntu
Avatar
Avatar
Avatar
Avatar
Avatar
4
may 23
46515
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.

Sitio web hecho con

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