跳至內容
Odoo 選單
  • 登入
  • 免費試用
  • 應用程式
    財政
    • 會計
    • 發票
    • 開支報銷
    • 試算表 (BI)
    • 文件管理
    • 電子簽名
    銷售
    • 客戶關係
    • 銷售
    • POS 銷售點管理 - 零售
    • POS 銷售點管理 - 餐廳
    • 訂閱
    • 租賃
    網站
    • 網站製作
    • 電子商務
    • 網誌
    • 討論區
    • 線上客服
    • 網上學習
    供應鏈
    • 庫存
    • 製造管理
    • 產品生命周期
    • 採購
    • 保養維護
    • 品質管理
    人力資源
    • 員工管理
    • 招聘
    • 休假
    • 工作表現評核
    • 內部推薦
    • 車隊管理
    市場推廣
    • 社交媒體推廣
    • 電郵推廣
    • 短訊營銷
    • 活動
    • 自動化推廣
    • 網上調查
    服務
    • 專案管理
    • 工時管理
    • 外勤服務管理
    • 技術支援
    • 工作規劃
    • 預約管理
    生產力
    • 聊天
    • 批核
    • 物聯網
    • VoIP
    • 知識庫
    • WhatsApp
    第三方應用程式 Odoo Studio Odoo 雲端平台
  • 行業
    零售
    • 書店
    • 服裝店
    • 家具店
    • 食品雜貨店
    • 五金店
    • 玩具店
    餐飲及款待
    • 酒吧及酒館
    • 餐廳
    • 快餐
    • 賓館
    • 飲品分銷商
    • 酒店
    房地產
    • 地產代理公司
    • 建築師事務所
    • 建造業
    • 物業管理
    • 園藝
    • 業主聯會
    顧問服務
    • 會計公司
    • Odoo 合作夥伴
    • 市場推廣公司
    • 律師事務所
    • 人才招募
    • 審計及認證
    製造管理
    • 紡織
    • 金屬
    • 家具
    • 食品
    • 啤酒廠
    • 企業禮品
    保健與健身
    • 運動俱樂部
    • 眼鏡店
    • 健身中心
    • 健康從業人員
    • 藥房
    • 髮型屋
    技術行業
    • 雜工
    • IT 硬體與支援
    • 太陽能系統
    • 鞋匠
    • 清潔服務
    • 暖通空調服務
    其他
    • 非牟利組織
    • 環境保護機構
    • 廣告板租賃
    • 攝影服務
    • 自行車租賃
    • 軟體經銷商
    瀏覽所有行業
  • 社群
    學習
    • 教學影片
    • 使用說明
    • 認證
    • 培訓
    • 網誌
    • Podcast
    增強教學效能
    • 教育計劃
    • Scale Up! 商業遊戲
    • 到訪 Odoo
    取得軟件
    • 下載
    • 版本對照表
    • 版本說明
    合作
    • GitHub
    • 討論區
    • 活動
    • 翻譯
    • 成為合作夥伴
    • 合作夥伴服務
    • 登記你的會計服務公司
    獲取服務相關資料
    • 尋找合作夥伴
    • 尋找會計服務
    • 預約顧問諮詢
    • 安裝及推行服務
    • 客戶案例
    • 支援
    • 軟件升級
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    預約示範
  • 定價
  • 技術支援

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

  • 客戶關係
  • e-Commerce
  • 會計
  • 庫存
  • PoS
  • 專案管理
  • MRP
All apps
只限註冊用戶才可與社群互動。
所有帖文 人 獎章
標籤 (查看所有)
odoo accounting v14 pos v15
關於此討論區
只限註冊用戶才可與社群互動。
所有帖文 人 獎章
標籤 (查看所有)
odoo accounting v14 pos v15
關於此討論區
支援

Open ERP 7 - Backup Access Denied

訂閱

此帖文有活動時,接收通知

此問題已被標幟
backupaccessdenied
28 回覆
26968 瀏覽次數
頭像
Jessie

Hi all,

I am using GUI to create backup for database.

1) Goto Login page, 2) Click on Manage Databases, 3) Click on BACKUP 4) Key in master password (I am sure the password is correct)

After I click the Backup button, I faced the error "Access Denied".

May I know how to solve this problem?

Many thanks.

Regards, Jessie

0
頭像
捨棄
頭像
Peter
最佳答案

The only thing that will trigger this error is if the admin password you entered is not right. If you are using a custom server config file, check to verify the password you entered is the one the server is expecting to validate.

You might not have access to this config file if you are not the server's administrator.

2
頭像
捨棄
patrick

It is possible to run openERP while NOT setting the password in the config file.

Peter

In which case openerp-server runs with the default admin_passwd which is "admin". You should change this if you're in production. Jessie, did you try the common "admin"?

patrick

It is even possible to change the default password for admin while NOT adding the new password to the config file. Unless we are speaking about different config-files (I refer to /etc/openerp/openerp-server.conf, on Ubuntu)

Peter

I doubt that. This is because if you are not using a config file to run the config.py parser will use some default server config options to run. Refer to line 68 of $_OPENERP_DIR/tools.config.py class configmanager(object): def __init__(self, fname=None): # Options not exposed on the command line. Command line options will be added # from optparse's parser. self.options = { 'admin_passwd': 'admin', 'csv_internal_sep': ',', 'login_message': False,}

Peter

try invoke the server and generate the config file and then change the password from there; then use this generated/modified config file to run your server thereon.

George Appiah

"The only thing that will trigger this error is if the admin password you entered is not right."

That's certainly not true, as mine turned out to be a memory allocation issue.

頭像
Pouya Malekinejad
最佳答案

Check pg_path in your openerp-server.conf, it solved my problem

1
頭像
捨棄
Sasha

pg_path = C:\Program Files (x86)\OpenERP 7.0-20130904-231132\PostgreSQL\bin

August Doo

how come a check can solve the problem? How did you do it?

Pouya Malekinejad

well, main was incorrect, I corrected it. Only checking didn't solve my problem of course!

頭像
Jon
最佳答案

I was having the same problem with Internet Explorer. Switched to Firefox and was able backup without any errors.

1
頭像
捨棄
頭像
Kestutis Urbonas
最佳答案

I had same problem. Access Denied - when trying to backup using Microsoft Internet explorer or Edge.

Firefox helped me. I made backup successfully.

0
頭像
捨棄
頭像
George Appiah
最佳答案

I had this issue on two computers, and on both machines it turned out to be a memory allocation issue.

I was damn sure the master password was correct, as I could use the existing master password to create a new one. When I tailed the log, I saw " CANNOT ALLOCATE MEMORY" whenever I clicked the button to backup the database. On one machine simply rebooting fixed the problem. On the other server I had to assign additional memory to the virtual machine before the backup could be done.

So if anyone is having this issue, definitely take a look at the OpenERP log file for clues as to what may be happening!

0
頭像
捨棄
Sean Samborski

I will say this has happened to me a couple of times and I always forget what I did to fix it because of the time between. I know now I just reboot the server and it works fine.

頭像
Tom De Busscher
最佳答案

Hello,

I have exactly the same problem. I'm sure the password is correct, because when I go to database management -> password, I can change my password without any problem. Where is the location of the config file you're talking about. I'm administrator on the server and in the openERP.

Regards, Tom

0
頭像
捨棄
patrick

on Ubuntu, it is at /etc/openerp/openerp-server.conf, on other Linux versions probably same location. On windows, I do not know.

Tom De Busscher

Patrick,Thank you for your answer. I'm using a Windows OS and the location of the file is: C:\Program Files (x86)\OpenERP 7.0-20130421-232434\Server\server\openerp-server.conf In the file is indeed a difference between the variables db_password and admin_passwd. I tried both passwords to backup the database, but I keep getting AccessDenied.

Peter

admin_passwd is the password required to make database operations (create, drop, backup, and restore)

Tom De Busscher

I tried both the default password admin and the 2 passwords from the config file, both in IE and Firefox, but I keep on getting AccessDenied. What else can I try ?

Peter

Try a different browser like chrome but I don't think you have got the right password. Someone might have changed the default admin_passwd. The only way out now is to start and run the server with a different config file which now has the admin_passwd set in there.

頭像
Jessie
作者 最佳答案

Hi all,

I am using the default admin_passwd which is "admin" but it comes out with another error "Uncaught TypeError: Cannot read property 'body' of null".

May I know what is the solution for this problem?

Thanks.

Regards,

Jessie

0
頭像
捨棄
patrick

Sounds like an issue with a module, probably a module you made or downloaded from internet. Do you remember which module(s) you have added/modified lately? Or did you do an update of your openerp installation recently?

Jessie
作者

Hi Patrick, I just installed openerp-allinone-setup-7.0-latest package (windows version) from OepnERP website and I didn't modify any module.

Thierry Godin

Backup doesnot work with IE - Try FF or Chrome instead.

頭像
August Doo
最佳答案

I have the same problem and I'm pretty sure the pwd is correct, and I did that in Chrome, Firefox, and they both failed. When I tried IE11, it returned "OpenERP Client Erro, Syntax error, host:8069/web/static/src/js/core.js:449", so I guess something must be wrong with one of the files. I have to say this is a serious issue because if you can't backup your database, then the system get a 500 error later, it will cost more time to fix it. 

[update] Now the issue turns to be SOMETIMES it can be backed up, sometimes it can't with the same pwd. If you can't back up, it will also lead to the disconnection of your host. Seems it's a serious issue.

0
頭像
捨棄
頭像
Jasem Elayeb
最佳答案

i've the same problem and couldnt find the right answer from google, but i found that i i couldnt even dump the db using pg_dump and the error was.

-bash-4.1$ pg_dump -f DBNAME-dump DBName pg_dump: server version: 9.2.4; pg_dump version: 8.4.13 pg_dump: aborting because of server version mismatch

and that was because i followed the tutorial to install on Centos 6.4 and for this i had 2 versions of pgsql client installed. i removed the version 8.4.1

yum remove postgresql-8.4.13-1.el6_3.x86_64

and then i copied the pg_dump and pg_dumpall from newer version installed in tutorial

[root@tedt ~]# cp /usr/pgsql-9.2/bin/pg_dump* /usr/bin/

then test cli dump and works fine and web dump works fine too.

i wish this solution works for you too.

0
頭像
捨棄
頭像
Ioann
最佳答案

I have same problem. Password is correct because I can easily Duplicate my DB, but when start Back up:

"2014-05-24 04:23:25,823 1332 ERROR ? openerp.addons.web.http.HttpRequest.dispatch: An error occurred while handling a json request
Traceback (most recent call last):
  File "C:\OpenERP7\OpenERP 7.0-20140422-231307\Server\server\openerp\addons\web\http.py", line 285, in dispatch
TypeError: backup() got an unexpected keyword argument ''
2014-05-24 04:23:25,865 1332 INFO ? werkzeug: 127.0.0.1 - - [24/May/2014 04:23:25] "GET /web/database/backup?token=1400905405768&backup_db=olenka&backup_pwd=admin&=&session_id=ecadd017d3bc40c58f4020f056aa1a53 HTTP/1.1" 500 - "

Help me please.

0
頭像
捨棄
頭像
Ad van den Bemt
最佳答案

I have a workaround for this problem with IE10 and other browsers. But somehow I'm not allowed to put text looking like "links" in my contribution. So I try this way. If you get the “access denied” popup. Simply copy the “denied” link to the adres box of your browser and the backup download starts. I hope this helps.

0
頭像
捨棄
喜歡這則討論?不要只閱讀,加入發表意見吧!

今天就建立帳戶,享受獨家功能,與我們精彩的社群互動!

註冊
相關帖文 回覆 瀏覽次數 活動
Error when try to change password for administrator user
server access denied
頭像
頭像
1
3月 15
10099
Can I access Odoo.sh backups via SSH? 已解決
backup access remote odoo.sh
頭像
頭像
頭像
2
8月 24
17167
can't change settings even being granted to do so
access denied no ir.values
頭像
0
3月 15
3379
Database backup error: Postgres subprocess ('/usr/bin/pg_dump', '--no-owner', '--file=/tmp/tmpAa0O5Q/dump.sql', u'ahlain_db01') error 1 已解決
backup
頭像
頭像
頭像
頭像
頭像
9
7月 25
67146
How to assign a user to admin on sales, customer invoices and inventory
access
頭像
頭像
1
3月 25
2238
社群
  • 教學影片
  • 使用說明
  • 討論區
開源
  • 下載
  • GitHub
  • Runbot 測試環境
  • 翻譯
服務
  • odoo.sh 網頁寄存
  • 支援
  • 升級
  • 自訂功能開發
  • 教育及培訓
  • 尋找會計服務
  • 尋找合作夥伴
  • 成為合作夥伴
關於我們
  • 關於 Odoo 公司
  • 品牌資產
  • 聯絡我們
  • 招聘
  • 活動
  • Podcast
  • 網誌
  • 客戶
  • 法律 • 私隱政策
  • 安全性
الْعَرَبيّة 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 是一套開放源碼的商業管理系統,涵蓋你公司全部的營運需要,包括客戶關係管理(CRM)、電子商務、會計、庫存管理、POS(銷售點管理)、專案管理等應用程式。

Odoo 的獨特價值是非常簡單易用,同時將不同應用程式完美整合。

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