跳至內容
選單
此問題已被標幟
4 回覆
13994 瀏覽次數

I want to take the database backup from odoo 11 windows 7 , here it is asking master password. I forgot master password. so how can I get that passsword and I'm just a beginner please  

頭像
捨棄
最佳答案
You can change it from the configuration file.

In the configuration file, you can set admin_passwd and restart your ODOO server.

in /etc/odoo.conf set:

[options]
admin_passwd = mysupersecretpassword
db_host = 192.168.1.2
db_port = 5432
db_user = odoo
db_password = pwd
dbfilter = ^mycompany.*$

If the database-management screen should be left accessible, the admin_passwd setting must be changed from its admin default: this password is checked before allowing database-alteration operations.

The database management screens are protected by the admin_passwd setting. This setting can only be set using configuration files, and is simply checked before performing database alterations.
It should be set to a randomly generated value to ensure third parties can not use this interface.
頭像
捨棄
最佳答案

video reference here 


頭像
捨棄
作者 最佳答案

Where I can find the conf file please 

頭像
捨棄

you will find on /etc/odoo.conf or /etc/odoo-server.conf file which name you set when you setup the Odoo and you will check it where is your confirmation file with command -> ps aux|grep odoo and you will see you service which have conf file path

最佳答案

Hi,

Once you set the master password it will get saved inside the conf file in encrypted format, you can change the master password from the conf file(admin_passwd) and restart the service and take the backup with the new password or you can add a ; infront of the admin_passwd so that it will get an effect that no master password is set.

See this Video: How to Recover/Change Master Password in Odoo

Thanks

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
3
7月 24
6478
4
7月 24
15087
2
5月 18
14382
2
10月 16
6257
1
3月 15
6373