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

Internal server error while installing odoo 10 in windows 10

Subscribe

Get notified when there's activity on this post

This question has been flagged
windowsinstallationodoo10
4 Replies
16430 Views
Avatar
Gautam

I am facing this problem while installing odoo 10 in windows. This error occurs while running odoo 10 in browser. I have seen log file and it gives an error:-


return application_unproxied(environ, start_response)
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\service\wsgi_server.py", line 172, in application_unproxied
    result = handler(environ, start_response)
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\http.py", line 1308, in __call__
    return self.dispatch(environ, start_response)
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\http.py", line 1282, in __call__
    return self.app(environ, start_wrapped)
  File "werkzeug\wsgi.py", line 579, in __call__

  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\http.py", line 1446, in dispatch
    self.setup_db(httprequest)
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\http.py", line 1368, in setup_db
    httprequest.session.db = db_monodb(httprequest)
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\http.py", line 1530, in db_monodb
    dbs = db_list(True, httprequest)
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\http.py", line 1498, in db_list
    dbs = odoo.service.db.list_dbs(force)
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\service\db.py", line 333, in list_dbs
    with closing(db.cursor()) as cr:
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\sql_db.py", line 635, in cursor
    return Cursor(self.__pool, self.dbname, self.dsn, serialized=serialized)
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\sql_db.py", line 177, in __init__
    self._cnx = pool.borrow(dsn)
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\sql_db.py", line 518, in _locked
    return fun(self, *args, **kwargs)
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\sql_db.py", line 586, in borrow
    **connection_info)
  File "psycopg2\__init__.py", line 164, in connect

OperationalError: could not connect to server: Connection refused (0x0000274D/10061)
    Is the server running on host "localhost" (::1) and accepting
    TCP/IP connections on port 5432?
could not connect to server: Connection refused (0x0000274D/10061)
    Is the server running on host "localhost" (127.0.0.1) and accepting
    TCP/IP connections on port 5432?

Can anyone help on this issue?

0
Avatar
Discard
Ermin Trevisan

If you have identified the cause in your log entries, please use a meaningful question title.

Harsh Dhaduk

While installing if you gave different port number than you have to mention that port number. Also check postgresql is installed or not, If yes than create one postgres user same as windows user with superadmin.

Avatar
Ermin Trevisan
Best Answer

Obviously Odoo can't access your postgres database. Most probably your odoo postgres user is not set up properly or your pg_hba.conf does not allow access or postgres is not running at all. Please read the installation docs.

1
Avatar
Discard
Avatar
Mayte
Best Answer

Hi! I am starting with Odoo. I had the same error than Gautam while installing Odoo 11 in Windows 10. Thank you Ermin Trevisan for your comment. I checked the pg_hba.conf and I changed the method to trust, then I restarted the postgresql service and refresh the page in the browser. Now Odoo is up and running!

0
Avatar
Discard
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
how shall I install Odoo on Windows10/7? Solved
windows installation
Avatar
Avatar
Avatar
Avatar
Avatar
5
May 24
22956
Odoo 10 updates for Windows doesn't work
windows odoo10
Avatar
0
May 17
3738
How to install odoo 10 on same server as odoo8 and odoo9 ?
installation odoo10
Avatar
0
Nov 16
3823
FYI: ODOO ON WINDOWS.. I am sharing a step by step Installation guide {Here} Solved
windows installation odoo
Avatar
1
Jul 19
9320
Would like to host Odoo on MAC machine, which package is appropriate Solved
installation mac odoo10
Avatar
Avatar
2
Apr 18
6044
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