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

Database creation error: Access denied

Subscriure's

Get notified when there's activity on this post

This question has been flagged
8 Respostes
158616 Vistes
Avatar
Jayanthi Venugopal

I was able to create just one database after installing odoo 9 on Ubuntu Server (16.04.1). I am able to duplicate the same database , but not able to create new database

5
Avatar
Descartar
Jayanthi Venugopal
Autor

@Brian Gunderson. I have confirmed the password I have used is the same in odoo-server.conf file.Also I am able to successfully duplicate database with same password. I have checked the log file too, but no error message there.

Jayanthi Venugopal
Autor

@Brian Gunderson. Thanks! I tried with a different browser without remember password and was able to create database. Wonder how the browser can change the password with Auto-fill.

Thanks again.. have spent hours trying to sort this issue

Ermin Trevisan

This is normal when having multiple databases with an IP address only.

Avatar
Oleksandr Komarov
Best Answer

1. First of all you have to check admin_passwd in odoo.conf. But if you see something like

admin_passwd = $pbkdf2-sha512$25000$15oTopRSSomREkLIeQ8hRA$QlTTxd4bqTTxSI0/u4g/yukO9jT2yFtTx4sAu46GtMKHnooPWT 

Then you can't know what is db-admin password.

2. But you can change it like this:

admin_password = my-New-Cool-P@$$WoRD

Restart odoo server by command: "sudo service odoo restart" and try to create DB again.

3. But if it not worked! Maybe your parameters db_user or\and db_password is not correct. Check it in /etc/odoo/odoo.conf

If you use postgresql with the specified user and password,
then you must specify the same user and password in /etc/odoo/odoo.conf in parameters db_user and db_password.
Otherwise, you will get this same error due to the fact that the database user has no rights to operations with databases.

For example, if you use the official docker, and docker-compose from the site https://hub.docker.com/_/odoo/ or https://store.docker.com/community/images/library/odoo then pay attention to the parameters

  mydb:
    image: postgres:10
    environment:
      - POSTGRES_USER=database-user
      - POSTGRES_PASSWORD=my-databaseuser-password
      - POSTGRES_DB=postgres



Thus, in order for you to do something with the databases from https://yourdomain/web/database/manager, you must set the db_user=database-user and db_password=my-databaseuser-password parameters in the file /etc/odoo/odoo.conf


4. If you don't know what is db user name and db-user password, then try to set official db_user=odoo and db_password=odoo.
5. If it not helped then you can try to  add new postgresql user, give him all permission and use him in odoo.conf
6. Or you can change postgresql user password.

11
Avatar
Descartar
Mani

I have reset my admin password and it workd

Avatar
Best Answer

Often this error is a matter of checking that the Master Password entered in the Create Database step matches the admin_passwd in your odoo-server.conf file. Any chance that your browser or a password management tool is changing the password as you enter it for the new database creation?

7
Avatar
Descartar
Avatar
Mohamed Tassisto
Best Answer

I experienced the same on a Windows machine with Odoo 17.  The cause of this problem could be that you installed Postgresql before installing Odoo. 

How I solved it is by the following:

I uninstalled Postgresql and deleted all folders in installation path (in the C drive) and pgAdmin folder in AppData folder (it's usually a hidden folder located under Users folder). Then I uninstalled Odoo. 

Finally I re-installed Odoo 17, and during this step I selected the option to install Postgresql. 

If you already have an existing database, make sure to make a backup of it and Odoo modules. 

2
Avatar
Descartar
Avatar
Azeez Arayemi
Best Answer

I had the same error recently.


The issue was that my browers automatically changed my master password upon registration... just edit it back to the correct one in odoo.config (its usually inside the odoo file) and you're good to go...


PS: you may be required to give the user admin privilege to edit odoo.config

0
Avatar
Descartar
Avatar
Awdang Aziz
Best Answer

please check the folder permission in Windows. In Linux, you must check admin_passwd.

0
Avatar
Descartar
Avatar
Syed Owais Noor
Best Answer

Check your Master Password as it's the same that you have created or not.

0
Avatar
Descartar
Avatar
Hache_raw
Best Answer

I have no karma to do anything but comment... It's 2023 and I faced this same error... 

Brian's anwer was the solution:  https://www.odoo.com/forum/ayuda-1/database-creation-error-access-denied-105200#comment_forum_post_105221

0
Avatar
Descartar
Avatar
Arthur
Best Answer

  have you tried the password "admin" ?  

0
Avatar
Descartar
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
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