Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

odoo Installation

Subscribe

Get notified when there's activity on this post

This question has been flagged
installationserverpostgresqlportodooV8
8 Replies
7642 Views
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
Discard
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
Discard
Avini Wanigasinghe
Author

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
Author

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
Author

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
Author

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
Discard
Avini Wanigasinghe
Author

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
Discard
Avini Wanigasinghe
Author

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!

Sign up
Related Posts Replies Views Activity
odoo installation and postgres on other server?
installation server postgresql odoo8.0
Avatar
Avatar
Avatar
3
Sep 16
9260
Install odoo 8 on two different ports 8069 & 8080
installation port 8069 odoo odooV8
Avatar
Avatar
1
Aug 15
8763
Need help with Odoo 8 Installation on Windows Server 2012
windows installation server 2012 odooV8
Avatar
Avatar
2
Mar 15
8671
Once install odoo 18, can't install postgreSQL
installation postgresql
Avatar
Avatar
Avatar
Avatar
3
May 25
6909
V16: Unable to connect postgresql to Odoo (Community edition) Solved
installation postgresql
Avatar
Avatar
2
Dec 22
7819
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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