Skip to Content
Odoo Menu
  • Zaloguj się
  • Wypróbuj za darmo
  • Aplikacje
    Finanse
    • Księgowość
    • Fakturowanie
    • Wydatki
    • Arkusz kalkulacyjny (BI)
    • Dokumenty
    • Podpisy
    Sprzedaż
    • CRM
    • Sprzedaż
    • PoS Sklep
    • PoS Restauracja
    • Subskrypcje
    • Wypożyczalnia
    Strony Internetowe
    • Kreator Stron Internetowych
    • eCommerce
    • Blog
    • Forum
    • Czat na Żywo
    • eLearning
    Łańcuch dostaw
    • Magazyn
    • Produkcja
    • PLM
    • Zakupy
    • Konserwacja
    • Jakość
    Zasoby Ludzkie
    • Pracownicy
    • Rekrutacja
    • Urlopy
    • Ocena pracy
    • Polecenia Pracownicze
    • Flota
    Marketing
    • Marketing Społecznościowy
    • E-mail Marketing
    • SMS Marketing
    • Wydarzenia
    • Automatyzacja Marketingu
    • Ankiety
    Usługi
    • Projekt
    • Ewidencja czasu pracy
    • Usługi Terenowe
    • Helpdesk
    • Planowanie
    • Spotkania
    Produktywność
    • Dyskusje
    • Zatwierdzenia
    • IoT
    • VoIP
    • Baza wiedzy
    • WhatsApp
    Aplikacje trzecich stron Studio Odoo Odoo Cloud Platform
  • Branże
    Sprzedaż detaliczna
    • Księgarnia
    • Sklep odzieżowy
    • Sklep meblowy
    • Sklep spożywczy
    • Sklep z narzędziami
    • Sklep z zabawkami
    Żywienie i hotelarstwo
    • Bar i Pub
    • Restauracja
    • Fast Food
    • Pensjonat
    • Dystrybutor napojów
    • Hotel
    Agencja nieruchomości
    • Agencja nieruchomości
    • Biuro architektoniczne
    • Budowa
    • Zarządzanie nieruchomościami
    • Ogrodnictwo
    • Stowarzyszenie właścicieli nieruchomości
    Doradztwo
    • Biuro księgowe
    • Partner Odoo
    • Agencja marketingowa
    • Kancelaria prawna
    • Agencja rekrutacyjna
    • Audyt i certyfikacja
    Produkcja
    • Tekstylia
    • Metal
    • Meble
    • Jedzenie
    • Browar
    • Prezenty firmowe
    Zdrowie & Fitness
    • Klub sportowy
    • Salon optyczny
    • Centrum fitness
    • Praktycy Wellness
    • Apteka
    • Salon fryzjerski
    Transakcje
    • Złota rączka
    • Wsparcie Sprzętu IT
    • Systemy energii słonecznej
    • Szewc
    • Firma sprzątająca
    • Usługi HVAC
    Inne
    • Organizacja non-profit
    • Agencja Środowiskowa
    • Wynajem billboardów
    • Fotografia
    • Leasing rowerów
    • Sprzedawca oprogramowania
    Przeglądaj wszystkie branże
  • Community
    Ucz się
    • Samouczki
    • Dokumentacja
    • Certyfikacje
    • Szkolenie
    • Blog
    • Podcast
    Pomóż w nauce innym
    • Program Edukacyjny
    • Scale Up! Gra biznesowa
    • Odwiedź Odoo
    Skorzystaj z oprogramowania
    • Pobierz
    • Porównaj edycje
    • Wydania
    Współpracuj
    • Github
    • Forum
    • Wydarzenia
    • Tłumaczenia
    • Zostań partnerem
    • Usługi dla partnerów
    • Zarejestruj swoją firmę rachunkową
    Skorzystaj z usług
    • Znajdź partnera
    • Znajdź księgowego
    • Spotkaj się z doradcą
    • Usługi wdrożenia
    • Opinie klientów
    • Wsparcie
    • Aktualizacje
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Zaplanuj demo
  • Cennik
  • Pomoc

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

  • CRM
  • e-Commerce
  • Księgowość
  • Zapasy
  • PoS
  • Projekt
  • MRP
All apps
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Pomoc

Database specific Master password - does it exist?

Zaprenumeruj

Otrzymaj powiadomienie o aktywności w tym poście

To pytanie dostało ostrzeżenie
password
2 Odpowiedzi
13735 Widoki
Awatar
Dale

Hi

I am having a little trouble managing my databases. I have 2. I am trying to backup the live one but I keep getting and "Access denied" error. I have the current admin password to manage databases. I can create a new database and I can change the password but I cannot backup this database. I know for a fact that the current password to manage databases is NOT the one that was used when this database was created. It was changed from the original one as it was illogical and didn't fit our name conventions. Is it so that databases can only be managed using their original creation passwords and not using the existing database admin password?

If so, how can I find what password was used to create this database? If not, what else could be denying me access?

Thanks

0
Awatar
Odrzuć
Dale
Autor

I have done a little more searching and have found that the above does seem to be the case. Thanks Martin Bramwell for this explanation http://help.openerp.com/question/478/what-difference-is-there-between-the-admin-and-master-pass/#487. My Question is now, I do have access to Postgres on this server, where can I see the database password or how can i safely change it? Thanks

Martin Pishpecki

This behaviour can be caused by having odoo 8 installed on one application server and Postgres 9.3 on another, as database server (9.3) and your local pg_dump (9.1) mismatch. Odoo will report a different error, something like you need to set .pgpass ... But, if you run the pg_dump command manually from the application server you will get the correct error. If you look at the db.py code you will see that the server is executing the same command in the background when trying to backup your database. You can ether upgrade pg_dump - this means installing posgres 9.3 on application server (not to use as a database, just the pg_dump) or running the backup command manually on database server.

Awatar
Ray Carnes
Najlepsza odpowiedź

No.

  • It is not the case that there is a 'database' password.

  • It is not the case that a database somehow has knowledge of the password used to create it or required to back it up.

There are just USER passwords, or SYSTEM passwords.


Generic, unaltered PostgreSQL function calls are made for all database operations, including backup and restore.

Backup:

pg_dump --format=c --no-owner --username=<> --host=<> --port=<> <dbname>

Restore:

pg_restore --no-owner --dbname=<>

Note: on Windows, credentials are supplied via environment variables and/or additional files.


Verify this for yourself in the code at

http://bazaar.launchpad.net/~openerp/openobject-server/7.0/view/head:/openerp/service/web_services.py#L265


There is one MASTER SYSTEM password, set in the OpenERP configuration file (something like /etc/openerp-server.conf but can be changed) or on the command line via admin_passwd=. It can also be changed via the UI, and in this case is stored in a resource file called .openerp_serverrc in the home directory of the user running the service.


Other passwords OpenERP uses:

1) SYSTEM: db_password - if a specific password is setup for OpenERP to log into PostgreSQL for administrative purposes.

2) USER: database specific passwords, created within each database.


TIP - If you can create databases but not back them up, try killing any idle PostgreSQL connections.


2
Awatar
Odrzuć
Dale
Autor

Thanks Ray for that very insightful feedback. In fact this is a windows environment and I am attempting to back up the database so that we can migrate to Linux. I think by your comment you seem to have suspected that. Any idea what the environment variables or or other files you speak of may be? Interestingly enough I can log into Postgres and do a manual backup of this database. Would that be sufficient for my migration to Linux or does the backup from the OpenERP interface include any additional data?

Ray Carnes

Sorry - I thought I was clear - the backup OpenERP performs is a PostgreSQL backup - I've posted the exact command line syntax for it.

Dale
Autor

Thanks for your advice Ray. It was really useful to me. How do I give you credit for this?

Dale
Autor

Thanks for your advice Ray. It was really useful to me. How do I give you credit for this?

Ray Carnes

At the top left corner of the answer I gave, you can click the up arrow to 'vote' for the answer to indicate it helped you. Please do this for any answer on the site you find helpful.

Jonathan Leaders

comand line admin_passwd= doesn't seem to exist in Odoo 11

Podoba Ci się ta dyskusja? Dołącz do niej!

Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!

Zarejestruj się
Powiązane posty Odpowiedzi Widoki Czynność
Password Reset Link redirect to account.odoo.com
password
Awatar
0
maj 25
2382
How to recover master password if I forgot it? Rozwiązane
password
Awatar
Awatar
Awatar
Awatar
Awatar
13
wrz 24
195810
Cannot reset user password after outgoing mail server configuration
password
Awatar
Awatar
Awatar
Awatar
3
mar 15
10219
Login not working after restore of database
password
Awatar
Awatar
Awatar
3
mar 15
11585
sudo passwd openerp and the effect
password
Awatar
1
mar 15
6957
Społeczność
  • Samouczki
  • Dokumentacja
  • Forum
Open Source
  • Pobierz
  • Github
  • Runbot
  • Tłumaczenia
Usługi
  • Hosting Odoo.sh
  • Wsparcie
  • Aktualizacja
  • Indywidualne rozwiązania
  • Edukacja
  • Znajdź księgowego
  • Znajdź partnera
  • Zostań partnerem
O nas
  • Nasza firma
  • Zasoby marki
  • Skontaktuj się z nami
  • Oferty pracy
  • Wydarzenia
  • Podcast
  • Blog
  • Klienci
  • Informacje prawne • Prywatność
  • Bezpieczeństwo Odoo
الْعَرَبيّة 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 to pakiet aplikacji biznesowych typu open source, które zaspokoją wszystkie potrzeby Twojej firmy: CRM, eCommerce, księgowość, inwentaryzacja, punkt sprzedaży, zarządzanie projektami itp.

Unikalną wartością Odoo jest to, że jest jednocześnie bardzo łatwe w użyciu i w pełni zintegrowane.

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