Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

Help with: psycopg2.OperationalError: FATAL: role "administrador" does not exist - when restarting the server.

Naroči se

Get notified when there's activity on this post

This question has been flagged
2 Odgovori
9635 Prikazi
Avatar
lucero

AT THE TIME OF RESTARTING THE SERVER ODOO GIVES ME AN ERROR ALMOST WHEN ENDING


THIS IS THE  ERROR....

2020-10-10 13:43:04,718 3018 INFO ? odoo: Odoo version 12.0 

2020-10-10 13:43:04,719 3018 INFO ? odoo: addons paths: ['/home/administrador/.local/share/Odoo/addons/12.0', '/opt/odoo/odoo/odoo/addons', '/opt/odoo/odoo/addons'] 

2020-10-10 13:43:04,719 3018 INFO ? odoo: database: default@default:default 

2020-10-10 13:43:05,220 3018 INFO ? odoo.addons.base.models.ir_actions_report: Will use the Wkhtmltopdf binary at /usr/local/bin/wkhtmltopdf 

2020-10-10 13:43:05,490 3018 INFO ? odoo.service.server: HTTP service (werkzeug) running on administrador-VirtualBox:8069 

2020-10-10 13:45:13,562 3018 INFO ? odoo.http: HTTP Configuring static files 

2020-10-10 13:45:13,574 3018 INFO ? odoo.sql_db: Connection to the database failed 

2020-10-10 13:45:13,587 3018 INFO ? werkzeug: 127.0.0.1 - - [10/Oct/2020 13:45:13] "GET / HTTP/1.1" 500 - 0 0.000 0.022

2020-10-10 13:45:13,598 3018 ERROR ? werkzeug: Error on request:

Traceback (most recent call last):

  File "/home/administrador/.local/lib/python3.6/site-packages/werkzeug/serving.py", line 304, in run_wsgi

    execute(self.server.app)

  File "/home/administrador/.local/lib/python3.6/site-packages/werkzeug/serving.py", line 292, in execute

    application_iter = app(environ, start_response)

  File "/opt/odoo/odoo/odoo/service/server.py", line 434, in app

    return self.app(e, s)

  File "/opt/odoo/odoo/odoo/service/wsgi_server.py", line 142, in application

    return application_unproxied(environ, start_response)

  File "/opt/odoo/odoo/odoo/service/wsgi_server.py", line 117, in application_unproxied

    result = odoo.http.root(environ, start_response)

  File "/opt/odoo/odoo/odoo/http.py", line 1320, in _call_

    return self.dispatch(environ, start_response)

  File "/opt/odoo/odoo/odoo/http.py", line 1293, in _call_

    return self.app(environ, start_wrapped)

  File "/home/administrador/.local/lib/python3.6/site-packages/werkzeug/middleware/shared_data.py", line 220, in _call_

    return self.app(environ, start_response)

  File "/opt/odoo/odoo/odoo/http.py", line 1453, in dispatch

    self.setup_db(httprequest)

  File "/opt/odoo/odoo/odoo/http.py", line 1376, in setup_db

    httprequest.session.db = db_monodb(httprequest)

  File "/opt/odoo/odoo/odoo/http.py", line 1537, in db_monodb

    dbs = db_list(True, httprequest)

  File "/opt/odoo/odoo/odoo/http.py", line 1504, in db_list

    dbs = odoo.service.db.list_dbs(force)

  File "/opt/odoo/odoo/odoo/service/db.py", line 375, in list_dbs

    with closing(db.cursor()) as cr:

  File "/opt/odoo/odoo/odoo/sql_db.py", line 657, in cursor

    return Cursor(self.__pool, self.dbname, self.dsn, serialized=serialized)

  File "/opt/odoo/odoo/odoo/sql_db.py", line 171, in _init_

    self._cnx = pool.borrow(dsn)

  File "/opt/odoo/odoo/odoo/sql_db.py", line 540, in _locked

    return fun(self, *args, **kwargs)

  File "/opt/odoo/odoo/odoo/sql_db.py", line 608, in borrow

    **connection_info)

  File "/home/administrador/.local/lib/python3.6/site-packages/psycopg2/_init_.py", line 127, in connect

    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)

psycopg2.OperationalError: FATAL:  role "administrador" does not exist - - -


 WHEN I WRITE ON THE WEB THE LOCALHOST GIVES ME AN ERROR

Internal Server Error

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application

0
Avatar
Opusti
Hilar Andikkadavath

Please make sure the proper psql role is setup and configured in pg_hba.conf under postgres folder.

Patat Adarsh

sudo apt install postgresql postgresql-client please try

Avatar
Sudhir Arya (ERP Harbor Consulting Services)
Best Answer

Please create a database user with the same name "administrador".

Go to psql and run the following query:

1) sudo su postgres
2) psql
3) create user administrador with password 'user_pwd' superuser;


2
Avatar
Opusti
Enjoying the discussion? Don't just read, join in!

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

Prijavi
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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