恢复管理员密码和电子邮件Odoo服务器 [英] Recover admin password and email Odoo server

查看:279
本文介绍了恢复管理员密码和电子邮件Odoo服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

几个月前,我安装了一个Odoo服务器,它的工作完美!



问题是我忘记了管理员的身份识别(电子邮件/传递),这是真实的坏。
卸载服务器并重新安装后,我发现数据库没有被擦除。所以它根本没有改变!



请任何人帮我找到管理员的电子邮件 strong>密码?



我不太熟悉progresql,但是 res_users 显示空密码:



解决方案

您可以使用progresql从终端更改管理员密码。你只需要这样做

  odoo @ odedra:〜$ psql test_db 
psql(9.1.14)
键入帮助以获取帮助。

testing_db =#UPDATE res_users SET password ='new_password'WHERE login ='admin';
更新1

其中,test_db 是数据库名称。 p>

现在使用新密码登录,随时更改用户的详细信息。


Months ago, I installed an Odoo server and it worked perfectly !

Problem is that I forgot the identification (email/pass) for the admin, wich is real bad. After uninstalling the server and reinstalling it I found out that the database was not wiped. So it didn't change at all !

Please, can anyone help me finding the admin's email and password ?

I'm not very familiar with progresql but res_users displays empty passwords:

解决方案

You may change admin password using progresql from the terminal. You just need to do like these

odoo@odedra:~$ psql testing_db
psql (9.1.14)
Type "help" for help.

testing_db=# UPDATE res_users SET password='new_password' WHERE login = 'admin';
UPDATE 1

where testing_db is database name.

Now login with new password and change user details whatever you want.

这篇关于恢复管理员密码和电子邮件Odoo服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆