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

odoo Installation

Subscriure's

Get notified when there's activity on this post

This question has been flagged
installationserverpostgresqlportodooV8
8 Respostes
7631 Vistes
Avatar
Avini Wanigasinghe

I installed odoo server and the postgresql database separately. But I cann't use default postgresql port. So I used port 5433. Then I installed odoo server.  Then this issue arise. It says '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'. How I resolve this problem


 

0
Avatar
Descartar
Avatar
Axel Mendoza
Best Answer

You need to check that your PostgreSQL server it's listenning at the right network interface or '*', and using the port 5433. this could be check at the postgresql.conf file of your installation. Also you need to authorize the access to the PostgreSQL server from the Odoo server ip address, you could do that at the pg_hba.conf file of your installation. Next restart the PostgreSQL server and check if Odoo can connect to it

1
Avatar
Descartar
Avini Wanigasinghe
Autor

Thank you Axel Mendoza. But I don't understand how to authorize the access to the PostgreSQL server form the odoo server ip address. Here the pg_hba config entries in my postgreSQL installation. # TYPE DATABASE USER ADDRESS METHOD @remove-line-for-nolocal@# "local" is for Unix domain socket connections only @remove-line-for-nolocal@local all all @authmethodlocal@ # IPv4 local connections: host all all 127.0.0.1/32 @authmethodhost@ # IPv6 local connections: host all all ::1/128 @authmethodhost@ # Allow replication connections from localhost, by a user with the # replication privilege. @remove-line-for-nolocal@#local replication @default_username@ @authmethodlocal@ #host replication @default_username@ 127.0.0.1/32 @authmethodhost@ #host replication @default_username@ ::1/128 @authmethodhost@

Axel Mendoza

Add a line like this:

# IPv4 local connections:
host    all             all             127.0.0.1/32            md5
host    all             all             odoo_ip_address/32         md5
Avini Wanigasinghe
Autor

I am using localhost for load odoo for browser. Is it correct if I add odoo_ip_address as 0.0.0.0 ?

Avini Wanigasinghe
Autor

I am using localhost for load odoo for browser. Is it correct if I add odoo_ip_address as 0.0.0.0 ?

Axel Mendoza

No, it's not correct. In that line you need to authorize the access from a subnet range of ip addresses, so if you specify a direct ip address you use /32, for a big range you need to do it like:
#take this subnet ip address: 192.168.1.143
192.168.1.143/32
192.168.1.0/24
192.168.0.0/16
192.0.0.0/8
0.0.0.0/0
#not sure about this

Axel Mendoza

I mean that I'm not sure about 0.0.0.0/0
Did you solve it your problem?

Avini Wanigasinghe
Autor

Yes I solved the problem. The problem was in the openerp-config file. In there data dir should be like this--> data_dir = C:\Users\admin\AppData\Local\OpenERP S.A.\Odoo. But previously it was like this--?data_dir = C:\Users\admin_2\AppData\Local\OpenERP S.A.\Odoo. Thank you Axel Mendoza.

Axel Mendoza

If your problem was solved you need to vote for the answer so it may help to others

Avatar
Rizan Zaky
Best Answer

This error most probably occurs because of a db connection error. In what environment are you working? Linux or Windows?

0
Avatar
Descartar
Avini Wanigasinghe
Autor

On windows.

Rizan Zaky

edit the C:\Program Files (x86)\Odoo 8.0-20151015\PostgreSQL\data\postgresql.conf file (NOTE: take a backup of the file), change, port = 5433, then in C:\Program Files (x86)\Odoo 8.0-20151015\PostgreSQL\data\pg_hba.conf (NOTE: take a backup of the file) leave only these two lines uncommented, "host all all 127.0.0.1/32 md5", "host all all ::1/128 md5". Comment the rest of the codes. Restart PostgreSQL_For_Odoo service from Task Manager->Services. Then check whether odoo works. Good luck!

Avatar
Andrei Boyanov
Best Answer

Did you change the database port configuration in openerp-server.conf?


db_port = 5433


Also, it's a good idea to see the Odoo logs as this error doesn't sound to me as a database connection problem...

0
Avatar
Descartar
Avini Wanigasinghe
Autor

Yes I have changed.

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
odoo installation and postgres on other server?
installation server postgresql odoo8.0
Avatar
Avatar
Avatar
3
de set. 16
9246
Install odoo 8 on two different ports 8069 & 8080
installation port 8069 odoo odooV8
Avatar
Avatar
1
d’ag. 15
8748
Need help with Odoo 8 Installation on Windows Server 2012
windows installation server 2012 odooV8
Avatar
Avatar
2
de març 15
8661
Once install odoo 18, can't install postgreSQL
installation postgresql
Avatar
Avatar
Avatar
Avatar
3
de maig 25
6892
V16: Unable to connect postgresql to Odoo (Community edition) Solved
installation postgresql
Avatar
Avatar
2
de des. 22
7807
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