Passa al contenuto
Odoo Menu
  • Accedi
  • Provalo gratis
  • App
    Finanze
    • Contabilità
    • Fatturazione
    • Note spese
    • Fogli di calcolo (BI)
    • Documenti
    • Firma
    Vendite
    • CRM
    • Vendite
    • Punto vendita Negozio
    • Punto vendita Ristorante
    • Abbonamenti
    • Noleggi
    Siti web
    • Configuratore sito web
    • E-commerce
    • Blog
    • Forum
    • Live chat
    • E-learning
    Supply chain
    • Magazzino
    • Produzione
    • PLM
    • Acquisti
    • Manutenzione
    • Qualità
    Risorse umane
    • Dipendenti
    • Assunzioni
    • Ferie
    • Valutazioni
    • Referral dipendenti
    • Parco veicoli
    Marketing
    • Social marketing
    • E-mail marketing
    • SMS marketing
    • Eventi
    • Marketing automation
    • Sondaggi
    Servizi
    • Progetti
    • Fogli ore
    • Assistenza sul campo
    • Helpdesk
    • Pianificazione
    • Appuntamenti
    Produttività
    • Comunicazioni
    • Approvazioni
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    App di terze parti Odoo Studio Piattaforma cloud Odoo
  • Settori
    Retail
    • Libreria
    • Negozio di abbigliamento
    • Negozio di arredamento
    • Alimentari
    • Ferramenta
    • Negozio di giocattoli
    Cibo e ospitalità
    • Bar e pub
    • Ristorante
    • Fast food
    • Pensione
    • Grossista di bevande
    • Hotel
    Agenzia immobiliare
    • Agenzia immobiliare
    • Studio di architettura
    • Edilizia
    • Gestione immobiliare
    • Impresa di giardinaggio
    • Associazione di proprietari immobiliari
    Consulenza
    • Società di contabilità
    • Partner Odoo
    • Agenzia di marketing
    • Studio legale
    • Selezione del personale
    • Audit e certificazione
    Produzione
    • Tessile
    • Metallo
    • Arredamenti
    • Alimentare
    • Birrificio
    • Ditta di regalistica aziendale
    Benessere e sport
    • Club sportivo
    • Negozio di ottica
    • Centro fitness
    • Centro benessere
    • Farmacia
    • Parrucchiere
    Commercio
    • Tuttofare
    • Hardware e assistenza IT
    • Ditta di installazione di pannelli solari
    • Calzolaio
    • Servizi di pulizia
    • Servizi di climatizzazione
    Altro
    • Organizzazione non profit
    • Ente per la tutela ambientale
    • Agenzia di cartellonistica pubblicitaria
    • Studio fotografico
    • Punto noleggio di biciclette
    • Rivenditore di software
    Carica tutti i settori
  • Community
    Apprendimento
    • Tutorial
    • Documentazione
    • Certificazioni 
    • Formazione
    • Blog
    • Podcast
    Potenzia la tua formazione
    • Programma educativo
    • Scale Up! Business Game
    • Visita Odoo
    Ottieni il software
    • Scarica
    • Versioni a confronto
    • Note di versione
    Collabora
    • Github
    • Forum
    • Eventi
    • Traduzioni
    • Diventa nostro partner
    • Servizi per partner
    • Registra la tua società di contabilità
    Ottieni servizi
    • Trova un partner
    • Trova un contabile
    • Incontra un esperto
    • Servizi di implementazione
    • Testimonianze dei clienti
    • Supporto
    • Aggiornamenti
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Richiedi una demo
  • Prezzi
  • Aiuto

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

  • CRM
  • e-Commerce
  • Contabilità
  • Magazzino
  • PoS
  • Progetti
  • MRP
All apps
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
Assistenza

Ubuntu Linux 12.04 64-bit after Installation Internal Server Error

Iscriviti

Ricevi una notifica quando c'è un'attività per questo post

La domanda è stata contrassegnata
ubuntu
4 Risposte
23328 Visualizzazioni
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
Abbandona
Avatar
patrick
Risposta migliore

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
Abbandona
Igor Pereira

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

Avatar
joris Dobbelaer
Risposta migliore

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
Abbandona
Avatar
Sven Meikel Auer
Autore Risposta migliore

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
Abbandona
Jeudy Nicolas

I answer this in you second opened question

Avatar
Tariq
Risposta migliore

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
Abbandona
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!

Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!

Registrati
Post correlati Risposte Visualizzazioni Attività
plotly.io.to_image not working within odoo 14 on Ubuntu 20.04 server
ubuntu
Avatar
0
feb 22
4695
How to solve Resolution Error
ubuntu
Avatar
Avatar
Avatar
2
mar 15
7851
No success with installing saas-5 on Ubuntu 12.04
ubuntu
Avatar
Avatar
1
mar 15
6352
Odoo Log Files won't Open
ubuntu logs
Avatar
Avatar
2
ago 23
4543
How to add new custom-addons directory to the Odoo server? Risolto
addons ubuntu
Avatar
Avatar
Avatar
Avatar
Avatar
4
mag 23
46327
Community
  • Tutorial
  • Documentazione
  • Forum
Open source
  • Scarica
  • Github
  • Runbot
  • Traduzioni
Servizi
  • Hosting Odoo.sh
  • Supporto
  • Aggiornamenti
  • Sviluppi personalizzati
  • Formazione
  • Trova un contabile
  • Trova un partner
  • Diventa nostro partner
Chi siamo
  • La nostra azienda
  • Branding
  • Contattaci
  • Lavora con noi
  • Eventi
  • Podcast
  • Blog
  • Clienti
  • Note legali • Privacy
  • Sicurezza
الْعَرَبيّة 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 è un gestionale di applicazioni aziendali open source pensato per coprire tutte le esigenze della tua azienda: CRM, Vendite, E-commerce, Magazzino, Produzione, Fatturazione elettronica, Project Management e molto altro.

Il punto di forza di Odoo è quello di offrire un ecosistema unico di app facili da usare, intuitive e completamente integrate tra loro.

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