跳至內容
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
關於此討論區
支援

Odoo no longer working cannot access admin - Server Error

訂閱

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

此問題已被標幟
errorserver500
6 回覆
24723 瀏覽次數
頭像
Afzol Ali

Hi guys, Im new on here, 

My Odoo install has been working fine for over 4 months now. Last night I tried to install the Notes/collabrotive module and did google calander sync. 

When I tried to log back into the Odoo admin the Error message comes up on the browser:

"Internal Server Error

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application."

I started and stopped and restarted the Odoo server and database, still cannot access the Odoo

Please assist, any help will be useful. Im not great with servers, or databases, so anything related to that would appreciate steps to follow.

Thanks

Below is part of the Error log I got:

2015-02-21 03:30:35,152 6592 INFO odoo_demo openerp.modules.loading: loading 1 modules...
2015-02-21 03:30:35,454 6592 INFO odoo_demo openerp.modules.loading: 1 modules loaded in 0.30s, 0 queries
2015-02-21 03:30:36,116 6592 INFO odoo_demo openerp.modules.loading: loading 108 modules...
2015-02-21 03:30:37,337 6592 INFO odoo_demo openerp.modules.module: module document: creating or updating database tables
2015-02-21 03:30:37,562 6592 INFO odoo_demo openerp.modules.loading: loading document/security/document_security.xml
2015-02-21 03:30:38,075 6592 INFO odoo_demo openerp.modules.loading: loading document/document_view.xml
2015-02-21 03:30:38,514 6592 INFO odoo_demo openerp.modules.loading: loading document/document_data.xml
2015-02-21 03:30:38,548 6592 INFO odoo_demo openerp.modules.loading: loading document/wizard/document_configuration_view.xml
2015-02-21 03:30:38,609 6592 INFO odoo_demo openerp.modules.loading: loading document/security/ir.model.access.csv
2015-02-21 03:30:38,981 6592 INFO odoo_demo openerp.modules.loading: loading document/report/document_report_view.xml
2015-02-21 03:30:39,289 6592 INFO odoo_demo openerp.modules.loading: loading document/views/document.xml
2015-02-21 03:30:39,443 6592 INFO odoo_demo openerp.modules.loading: loading document/document_demo.xml
2015-02-21 03:30:39,459 6592 INFO odoo_demo werkzeug: 151.227.23.228 - - [21/Feb/2015 03:30:39] "POST /longpolling/poll HTTP/1.1" 500 -
2015-02-21 03:30:39,487 6592 ERROR odoo_demo werkzeug: Error on request:
Traceback (most recent call last):
  File "/usr/share/pyshared/werkzeug/serving.py", line 159, in run_wsgi
    execute(app)
  File "/usr/share/pyshared/werkzeug/serving.py", line 146, in execute
    application_iter = app(environ, start_response)
  File "/opt/odoo/odoo/openerp/service/server.py", line 281, in app
    return self.app(e, s)
  File "/opt/odoo/odoo/openerp/service/wsgi_server.py", line 216, in application
    return application_unproxied(environ, start_response)
  File "/opt/odoo/odoo/openerp/service/wsgi_server.py", line 202, in application_unproxied
    result = handler(environ, start_response)
  File "/opt/odoo/odoo/openerp/http.py", line 1236, in __call__
    return self.dispatch(environ, start_response)
  File "/opt/odoo/odoo/openerp/http.py", line 1210, in __call__
    return self.app(environ, start_wrapped)
  File "/usr/share/pyshared/werkzeug/wsgi.py", line 411, in __call__
    return self.app(environ, start_response)
  File "/opt/odoo/odoo/openerp/http.py", line 1210, in __call__
    return self.app(environ, start_wrapped)
  File "/usr/share/pyshared/werkzeug/wsgi.py", line 411, in __call__
    return self.app(environ, start_response)
  File "/opt/odoo/odoo/openerp/http.py", line 1210, in __call__
    return self.app(environ, start_wrapped)
  File "/usr/share/pyshared/werkzeug/wsgi.py", line 411, in __call__
    return self.app(environ, start_response)
  File "/opt/odoo/odoo/openerp/http.py", line 1210, in __call__
    return self.app(environ, start_wrapped)
  File "/usr/share/pyshared/werkzeug/wsgi.py", line 411, in __call__
    return self.app(environ, start_response)
  File "/opt/odoo/odoo/openerp/http.py", line 1210, in __call__
    return self.app(environ, start_wrapped)
  File "/usr/share/pyshared/werkzeug/wsgi.py", line 411, in __call__
    return self.app(environ, start_response)
  File "/opt/odoo/odoo/openerp/http.py", line 1210, in __call__
    return self.app(environ, start_wrapped)
  File "/usr/share/pyshared/werkzeug/wsgi.py", line 411, in __call__
    return self.app(environ, start_response)
  File "/opt/odoo/odoo/openerp/http.py", line 1210, in __call__
    return self.app(environ, start_wrapped)
  File "/usr/share/pyshared/werkzeug/wsgi.py", line 411, in __call__
    return self.app(environ, start_response)
  File "/opt/odoo/odoo/openerp/http.py", line 1210, in __call__
    return self.app(environ, start_wrapped)
  File "/usr/share/pyshared/werkzeug/wsgi.py", line 411, in __call__
    return self.app(environ, start_response)
  File "/opt/odoo/odoo/openerp/http.py", line 1210, in __call__
    return self.app(environ, start_wrapped)
  File "/usr/share/pyshared/werkzeug/wsgi.py", line 411, in __call__
    return self.app(environ, start_response)
  File "/opt/odoo/odoo/openerp/http.py", line 1210, in __call__
    return self.app(environ, start_wrapped)
  File "/usr/share/pyshared/werkzeug/wsgi.py", line 411, in __call__
    return self.app(environ, start_response)
  File "/opt/odoo/odoo/openerp/http.py", line 1368, in dispatch
    ir_http = request.registry['ir.http']
  File "/opt/odoo/odoo/openerp/http.py", line 330, in registry
    return openerp.modules.registry.RegistryManager.get(self.db) if self.db else None
  File "/opt/odoo/odoo/openerp/modules/registry.py", line 310, in get
    update_module)
  File "/opt/odoo/odoo/openerp/modules/registry.py", line 341, in new
    openerp.modules.load_modules(registry._db, force_demo, status, update_module)
  File "/opt/odoo/odoo/openerp/modules/loading.py", line 354, in load_modules
    force, status, report, loaded_modules, update_module)
  File "/opt/odoo/odoo/openerp/modules/loading.py", line 263, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
  File "/opt/odoo/odoo/openerp/modules/loading.py", line 185, in load_module_graph
    _load_data(cr, module_name, idref, mode, kind='demo')
  File "/opt/odoo/odoo/openerp/modules/loading.py", line 118, in _load_data
    tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
  File "/opt/odoo/odoo/openerp/tools/convert.py", line 901, in convert_file
    convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
  File "/opt/odoo/odoo/openerp/tools/convert.py", line 987, in convert_xml_import
    obj.parse(doc.getroot(), mode=mode)
  File "/opt/odoo/odoo/openerp/tools/convert.py", line 853, in parse
    self._tags[rec.tag](self.cr, rec, n, mode=mode)
  File "/opt/odoo/odoo/openerp/tools/convert.py", line 763, in _tag_record
    id = self.pool['ir.model.data']._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context )
  File "/opt/odoo/odoo/openerp/api.py", line 237, in wrapper
    return old_api(self, *args, **kwargs)
  File "/opt/odoo/odoo/openerp/addons/base/ir/ir_model.py", line 1066, in _update
    res_id = model_obj.create(cr, uid, values, context=context)
  File "/opt/odoo/odoo/openerp/api.py", line 237, in wrapper
    return old_api(self, *args, **kwargs)
  File "/opt/odoo/odoo/openerp/addons/mail/res_users.py", line 75, in create
    raise openerp.exceptions.RedirectWarning(msg, action_id, _('Go to the configuration panel'))
ParseError: "You cannot create a new user from here.
 To create new user please go to configuration panel.
76
Go to the configuration panel" while parsing /opt/odoo/odoo/openerp/addons/document/document_demo.xml:4, near
<record id="base.user_demo" model="res.users">
        <field eval="[(4, ref('base.group_document_user'))]" name="groups_id"/>
    </record>

1
頭像
捨棄
Yenthe Van Ginneken (Mainframe Monkey)

Hi Afzol! I was wondering if you could give me some more insight in this since we had this problem on an Odoo a while ago too. I see this is referring to demo files (document_demo.xml:4).. Did you know how this happend and how/when this showed up? I fixes this by commenting out the demo files that caused the errors but I would like to know why and how this has happend. I hope you can provide me with some more details/insight :)

頭像
Martin Temmink
最佳答案

you can do severall things.

1. stop odoo server
2. login with ssh on your system as odoo user
3. issue the database update command on de commandline. for instructions follow this link: Database run full update command.

then logout as odoo user, and restart your server

if the above doesn't work you have to mannually move the contents in the addons directory. And restart your server.
this will restart odoo without any modules. You should be able to login.
Then stop the server and move one module at the time back to the addons directory. start the server and if succesfully. repeat the procedure for the rest of the modules.

if you find this information has helped you, please give me a thumb up vote!

2
頭像
捨棄
Omar Alejandro Linares Escobar

Please, can you help me?

I'm having similar issue after installing Muk Theme module, now I cannot access to the specific DB where I activate it.

More info in the following link:

https://www.odoo.com/es/forum/ayuda-1/odoo-database-access-issue-following-installation-of-muk-module-249748

頭像
Taylor Stanley Marketing Pte Ltd
最佳答案

I can't comment on the specifics of the error that you have encountered.  However, I had a similar experience where my Odoo server failed after I made some mistakes during the installation of a customised module.  After the failed installation and further wrong moves on the Odoo server, I decided to cut loss and recovered the database instances using postgres directly.

I install pgadmin III to attempt to connect to the postgres server.  You will need to enable access to pgadmin by editing the pg_hba.conf file found in /etc/postgresl/9.3/main directory with an entry like

host     all    all    0.0.0.0/0      md5

Please note that the above allows access from anywhere in the internet.  

You will need to use a command like:

sudo kill -HUP main_postgres_pid_number (for the postgres server to re-read the revised setting)

You can connect to the postgres server with a postgres user id like odoo (assuming that the odoo user is the one that was used to create the postgres database instance).

You may have to alter the odoo user password in order to use pgadmin using a statement like this:

# login to postgres user in ssh

sudo su postgres

# go into psql

psql

$ALTER ROLE odoo with PASSWORD 'Newpassword';

Once your odoo ID has a password, you will be able to connect to the postgres server using pgadmin.

You can use the pgadmin program to do a database backup of the database instances that you need.

After the backup is done, you can go to a fresh installation of odoo-server to restore the database instance.  Restoration consists of creating a database instance with the same name as that of the backup database using postgres odoo ID:

$CREATE DATABASE databasename;

Restore the backup file using pg_dump

#pg_dump -d databasename < backupdatabase.sql

If there are no errors, you should be able to see the restored database in your odoo-server.

I may have missed out some steps along the way.  But that generally is how I managed to restore a database instance from a corrupted odoo-server to a working odoo-server.

 

 

1
頭像
捨棄
頭像
Afzol Ali
作者 最佳答案

Hi

Thanks guys,

I actually figured out that the main problem was within the documents module, and another module. It was trying to create an incorrect database user !!

To diagnose the problem I got extra help from a developer who fixed the problem. And found not only was it trying to create a new user, but also the Notes Module was clashing and was in pending install mode with another install.

Exactly what the solution to this problem was I will update here again with instructions as I am sure there are other Odoo users who will come across this similar bug. Martin instructions are easy to follow and will be trying it thanks, and Y3 That talent is beyond me at present as I am not great with databases, can perform terminal comands but need step by step guide, sorry on that a bit new to postgres.

Great help guys really appreciate it.

1
頭像
捨棄
Yenthe Van Ginneken (Mainframe Monkey)

Hi Afzol! I was wondering if you could give me some more insight in this since we had this problem on an Odoo a while ago too. I see this is referring to demo files (document_demo.xml:4).. Did you know how this happend and how/when this showed up? I fixes this by commenting out the demo files that caused the errors but I would like to know why and how this has happend. I hope you can provide me with some more details/insight :)

頭像
Saitam
最佳答案

Same problem here. few month ago everything worked fine, now going to the server IP results in error

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

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

註冊
相關帖文 回覆 瀏覽次數 活動
?"Your country might be blocked by our hosting provider" error when I create new website
error
頭像
0
11月 25
592
Payment Page Return Error with Razorpay on Mobile Devices
error
頭像
0
9月 25
1258
Error after installing "purchase" app in Odoo version 18
error
頭像
頭像
1
12月 24
7013
error schema for TourStep Error
error
頭像
0
11月 24
2643
Can't modify manifest version of custom module [Odoo.sh]
error
頭像
頭像
頭像
2
7月 24
5376
社群
  • 教學影片
  • 使用說明
  • 討論區
開源
  • 下載
  • 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