Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Ubuntu Linux 12.04 64-bit after Installation Internal Server Error

Subscriure's

Get notified when there's activity on this post

This question has been flagged
ubuntu
4 Respostes
23259 Vistes
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
Best Answer

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
Best Answer

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 Best Answer

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
Best Answer

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
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
plotly.io.to_image not working within odoo 14 on Ubuntu 20.04 server
ubuntu
Avatar
0
de febr. 22
4603
How to solve Resolution Error
ubuntu
Avatar
Avatar
Avatar
2
de març 15
7800
No success with installing saas-5 on Ubuntu 12.04
ubuntu
Avatar
Avatar
1
de març 15
6284
Odoo Log Files won't Open
ubuntu logs
Avatar
Avatar
2
d’ag. 23
4473
How to add new custom-addons directory to the Odoo server? Solved
addons ubuntu
Avatar
Avatar
Avatar
Avatar
Avatar
4
de maig 23
46030
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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