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 on mac osx

Subscribe

Get notified when there's activity on this post

This question has been flagged
macosxosxOdoo10
3 Replies
24838 Views
Avatar
NMD

I have try of differents ways to install odoo 10 in my mac osx (10.11.6).

always receive the same error.

I did the instalation using a virtual env.

The installation ended fine, but I haven't be able to run it.

it seems a issue with db connection but where and how



    (odoo-env)Nelsons-MacBook-Air:odoo nelsondiaz$ ./odoo-bin

    2017-08-29 14:44:22,963 18435 INFO ? odoo: Odoo version 10.0

    2017-08-29 14:44:22,963 18435 INFO ? odoo: addons paths: ['/Users/nelsondiaz/Library/Application Support/Odoo/addons/10.0', u'/Users/nelsondiaz/Sites/odoo-env/odoo/odoo/addons', u'/Users/nelsondiaz/Sites/odoo-env/odoo/addons']

    2017-08-29 14:44:22,963 18435 INFO ? odoo: database: default@default:default

    2017-08-29 14:44:22,978 18435 INFO ? odoo.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069


This is the error after running http://127.0.0.1:8069/ or http://localhost:8069/


I try updating pg_hba.conf and odoo.conf nothing work, the same error



    2017-08-29 14:50:25,948 18435 INFO ? odoo.sql_db: Connection to the database failed

    2017-08-29 14:50:25,952 18435 INFO ? werkzeug: 127.0.0.1 - - [29/Aug/2017 14:50:25] "GET / HTTP/1.1" 500 -    

    2017-08-29 14:50:25,965 18435 ERROR ? werkzeug: Error on request:

        Traceback (most recent call last):

          File "/Library/Python/2.7/site-packages/werkzeug/serving.py", line 193, in run_wsgi

            execute(self.server.app)

          File "/Library/Python/2.7/site-packages/werkzeug/serving.py", line 181, in execute

            application_iter = app(environ, start_response)

          File "/Users/nelsondiaz/Sites/odoo-env/odoo/odoo/service/server.py", line 249, in app

            return self.app(e, s)

          File "/Users/nelsondiaz/Sites/odoo-env/odoo/odoo/service/wsgi_server.py", line 186, in application

            return application_unproxied(environ, start_response)

          File "/Users/nelsondiaz/Sites/odoo-env/odoo/odoo/service/wsgi_server.py", line 172, in application_unproxied

            result = handler(environ, start_response)

          File "/Users/nelsondiaz/Sites/odoo-env/odoo/odoo/http.py", line 1308, in __call__

            return self.dispatch(environ, start_response)

          File "/Users/nelsondiaz/Sites/odoo-env/odoo/odoo/http.py", line 1282, in __call__

            return self.app(environ, start_wrapped)

          File "/Library/Python/2.7/site-packages/werkzeug/wsgi.py", line 599, in __call__

            return self.app(environ, start_response)

          File "/Users/nelsondiaz/Sites/odoo-env/odoo/odoo/http.py", line 1446, in dispatch

            self.setup_db(httprequest)

          File "/Users/nelsondiaz/Sites/odoo-env/odoo/odoo/http.py", line 1368, in setup_db

            httprequest.session.db = db_monodb(httprequest)

          File "/Users/nelsondiaz/Sites/odoo-env/odoo/odoo/http.py", line 1524, in db_monodb

            dbs = db_list(True, httprequest)

          File "/Users/nelsondiaz/Sites/odoo-env/odoo/odoo/http.py", line 1498, in db_list

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

          File "/Users/nelsondiaz/Sites/odoo-env/odoo/odoo/service/db.py", line 325, in list_dbs

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

          File "/Users/nelsondiaz/Sites/odoo-env/odoo/odoo/sql_db.py", line 635, in cursor

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

          File "/Users/nelsondiaz/Sites/odoo-env/odoo/odoo/sql_db.py", line 177, in __init__

            self._cnx = pool.borrow(dsn)

          File "/Users/nelsondiaz/Sites/odoo-env/odoo/odoo/sql_db.py", line 518, in _locked

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

          File "/Users/nelsondiaz/Sites/odoo-env/odoo/odoo/sql_db.py", line 586, in borrow

            **connection_info)

          File "/Library/Python/2.7/site-packages/psycopg2/__init__.py", line 130, in connect

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

        OperationalError: fe_sendauth: no password supplied

        2017-08-29 14:50:26,238 18435 INFO ? odoo.sql_db: Connection to the database failed

        2017-08-29 14:50:26,242 18435 INFO ? werkzeug: 127.0.0.1 - - [29/Aug/2017 14:50:26] "GET /favicon.ico HTTP/1.1" 500 -

        2017-08-29 14:50:26,249 18435 ERROR ? werkzeug: Error on request:

        Traceback (most recent call last):

          File "/Library/Python/2.7/site-packages/werkzeug/serving.py", line 193, in run_wsgi

            execute(self.server.app)

          File "/Library/Python/2.7/site-packages/werkzeug/serving.py", line 181, in execute

            application_iter = app(environ, start_response)

          File "/Users/nelsondiaz/Sites/odoo-env/odoo/odoo/service/server.py", line 249, in app

            return self.app(e, s)

          File "/Users/nelsondiaz/Sites/odoo-env/odoo/odoo/service/wsgi_server.py", line 186, in application

            return application_unproxied(environ, start_response)

          File "/Users/nelsondiaz/Sites/odoo-env/odoo/odoo/service/wsgi_server.py", line 172, in application_unproxied

            result = handler(environ, start_response)

          File "/Users/nelsondiaz/Sites/odoo-env/odoo/odoo/http.py", line 1308, in __call__

            return self.dispatch(environ, start_response)

          File "/Users/nelsondiaz/Sites/odoo-env/odoo/odoo/http.py", line 1282, in __call__

            return self.app(environ, start_wrapped)

          File "/Library/Python/2.7/site-packages/werkzeug/wsgi.py", line 599, in __call__

            return self.app(environ, start_response)

          File "/Users/nelsondiaz/Sites/odoo-env/odoo/odoo/http.py", line 1446, in dispatch

            self.setup_db(httprequest)

          File "/Users/nelsondiaz/Sites/odoo-env/odoo/odoo/http.py", line 1368, in setup_db

            httprequest.session.db = db_monodb(httprequest)

          File "/Users/nelsondiaz/Sites/odoo-env/odoo/odoo/http.py", line 1524, in db_monodb

            dbs = db_list(True, httprequest)

          File "/Users/nelsondiaz/Sites/odoo-env/odoo/odoo/http.py", line 1498, in db_list

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

          File "/Users/nelsondiaz/Sites/odoo-env/odoo/odoo/service/db.py", line 325, in list_dbs

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

          File "/Users/nelsondiaz/Sites/odoo-env/odoo/odoo/sql_db.py", line 635, in cursor

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

          File "/Users/nelsondiaz/Sites/odoo-env/odoo/odoo/sql_db.py", line 177, in __init__

            self._cnx = pool.borrow(dsn)

          File "/Users/nelsondiaz/Sites/odoo-env/odoo/odoo/sql_db.py", line 518, in _locked

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

          File "/Users/nelsondiaz/Sites/odoo-env/odoo/odoo/sql_db.py", line 586, in borrow

            **connection_info)

          File "/Library/Python/2.7/site-packages/psycopg2/__init__.py", line 130, in connect

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

        OperationalError: fe_sendauth: no password supplied

0
Avatar
Discard
Dan Čermák

Did you add a database user & password to your odoo config? If not, odoo will try to connect with defaults that will probably not work, as the user will have insufficient access rights. Check out this for some command line parameters (and the links within): https://www.odoo.com/documentation/10.0/setup/install.html#running-odoo and this for postgres: https://wiki.postgresql.org/wiki/Detailed_installation_guides

Avatar
NMD
Author Best Answer

I couldn't run the server without error only with the command ./odoo-bin For any reason that I don't know it does not find the conf file. That I did it was put the conf file in the parameter and it works:


option 1:


./odoo-bin --addons-path=/Users/myuser/Sites/odoo-env/odoo/addons -c debian/odoo.conf 


Option 2


 ./odoo-bin -d odoo --db_user odoo --db_password odoo
1
Avatar
Discard
Aqeeb Imtiaz Harun

Thank you so much! Option 2 worked for me on Mojave for Odoo 13

Avatar
Ermin Trevisan
Best Answer

You get no connection to the database. Please check your installation procedure and provide a proper database user with corresponding access rights.

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
KeyError: u'[module_name]' [Odoo 10]
Odoo10
Avatar
0
Feb 19
3668
Consultoría para implantación en micro-pymes con sistemas Apple
macosx
Avatar
0
Mar 15
4361
OSX - OperationalError: FATAL: password authentication failed for user Solved
osx
Avatar
Avatar
1
May 25
11031
How to continue cron job process even in a server timeout or 500 INTERNAL SERVER ERROR in odoo 10?
python2.7 Odoo10
Avatar
Avatar
1
Apr 23
6531
QWebTemplateNotFound: External ID not found in the system: web.login? Solved
installation osx
Avatar
Avatar
Avatar
Avatar
Avatar
17
Jul 24
64740
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