Skip ke Konten
Odoo Menu
  • Login
  • Uji coba gratis
  • Aplikasi
    Keuangan
    • Akuntansi
    • Faktur
    • Pengeluaran
    • Spreadsheet (BI)
    • Dokumen
    • Tanda Tangan
    Sales
    • CRM
    • Sales
    • POS Toko
    • POS Restoran
    • Langganan
    • Rental
    Website
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Rantai Pasokan
    • Inventaris
    • Manufaktur
    • PLM
    • Purchase
    • Maintenance
    • Kualitas
    Sumber Daya Manusia
    • Karyawan
    • Rekrutmen
    • Cuti
    • Appraisal
    • Referensi
    • Armada
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Acara
    • Otomatisasi Marketing
    • Survei
    Layanan
    • Project
    • Timesheet
    • Layanan Lapangan
    • Meja Bantuan
    • Planning
    • Appointment
    Produktivitas
    • Diskusi
    • Approval
    • IoT
    • VoIP
    • Pengetahuan
    • WhatsApp
    Aplikasi pihak ketiga Odoo Studio Platform Odoo Cloud
  • Industri-Industri
    Retail
    • Toko Buku
    • Toko Baju
    • Toko Furnitur
    • Toko Kelontong
    • Toko Hardware
    • Toko Mainan
    Makanan & Hospitality
    • Bar dan Pub
    • Restoran
    • Fast Food
    • Rumah Tamu
    • Distributor Minuman
    • Hotel
    Real Estate
    • Agensi Real Estate
    • Firma Arsitektur
    • Konstruksi
    • Estate Management
    • Perkebunan
    • Asosiasi Pemilik Properti
    Konsultansi
    • Firma Akuntansi
    • Mitra Odoo
    • Agensi Marketing
    • Firma huku
    • Talent Acquisition
    • Audit & Sertifikasi
    Manufaktur
    • Tekstil
    • Logam
    • Perabotan
    • Makanan
    • Brewery
    • Corporate Gift
    Kesehatan & Fitness
    • Sports Club
    • Toko Kacamata
    • Fitness Center
    • Wellness Practitioners
    • Farmasi
    • Salon Rambut
    Perdagangan
    • Handyman
    • IT Hardware & Support
    • Sistem-Sistem Energi Surya
    • Pembuat Sepatu
    • Cleaning Service
    • Layanan HVAC
    Lainnya
    • Organisasi Nirlaba
    • Agen Lingkungan
    • Rental Billboard
    • Fotografi
    • Penyewaan Sepeda
    • Reseller Software
    Browse semua Industri
  • Komunitas
    Belajar
    • Tutorial-tutorial
    • Dokumentasi
    • Sertifikasi
    • Pelatihan
    • Blog
    • Podcast
    Empower Education
    • Program Edukasi
    • Game Bisnis 'Scale Up!'
    • Kunjungi Odoo
    Dapatkan Softwarenya
    • Download
    • Bandingkan Edisi
    • Daftar Rilis
    Kolaborasi
    • Github
    • Forum
    • Acara
    • Terjemahan
    • Menjadi Partner
    • Layanan untuk Partner
    • Daftarkan perusahaan Akuntansi Anda.
    Dapatkan Layanan
    • Temukan Mitra
    • Temukan Akuntan
    • Temui penasihat
    • Layanan Implementasi
    • Referensi Pelanggan
    • Bantuan
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dapatkan demo
  • Harga
  • Bantuan

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

  • CRM
  • e-Commerce
  • Akuntansi
  • Inventaris
  • PoS
  • Project
  • MRP
All apps
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Help

Ubuntu Linux 12.04 64-bit after Installation Internal Server Error

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
ubuntu
4 Replies
23251 Tampilan
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
Buang
Avatar
patrick
Jawaban Terbai

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

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

Avatar
joris Dobbelaer
Jawaban Terbai

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
Buang
Avatar
Sven Meikel Auer
Penulis Jawaban Terbai

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

I answer this in you second opened question

Avatar
Tariq
Jawaban Terbai

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
Buang
Menikmati diskusi? Jangan hanya membaca, ikuti!

Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!

Daftar
Post Terkait Replies Tampilan Aktivitas
plotly.io.to_image not working within odoo 14 on Ubuntu 20.04 server
ubuntu
Avatar
0
Feb 22
4597
How to solve Resolution Error
ubuntu
Avatar
Avatar
Avatar
2
Mar 15
7799
No success with installing saas-5 on Ubuntu 12.04
ubuntu
Avatar
Avatar
1
Mar 15
6279
Odoo Log Files won't Open
ubuntu logs
Avatar
Avatar
2
Agu 23
4455
How to add new custom-addons directory to the Odoo server? Diselesaikan
addons ubuntu
Avatar
Avatar
Avatar
Avatar
Avatar
4
Mei 23
45986
Komunitas
  • Tutorial-tutorial
  • Dokumentasi
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Terjemahan
Layanan
  • Odoo.sh Hosting
  • Bantuan
  • Peningkatan
  • Custom Development
  • Pendidikan
  • Temukan Akuntan
  • Temukan Mitra
  • Menjadi Partner
Tentang Kami
  • Perusahaan kami
  • Aset Merek
  • Hubungi kami
  • Tugas
  • Acara
  • Podcast
  • Blog
  • Pelanggan
  • Hukum • Privasi
  • Keamanan
الْعَرَبيّة 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 adalah rangkaian aplikasi bisnis open source yang mencakup semua kebutuhan perusahaan Anda: CRM, eCommerce, akuntansi, inventaris, point of sale, manajemen project, dan seterusnya.

Mudah digunakan dan terintegrasi penuh pada saat yang sama adalah value proposition unik Odoo.

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