跳至内容
Odoo 菜单
  • 登录
  • 免费试用
  • 应用程序
    财务
    • 会计
    • 发票
    • 费用
    • 电子表格 (BI)
    • 文档
    • 电子签名
    销售
    • 客户关系管理
    • 销售
    • POS 销售点管理-零售
    • POS 销售点管理 - 餐厅
    • 订阅
    • 租赁
    网站
    • 网站设计
    • 电子商务
    • 博客
    • 论坛
    • 在线客服
    • 在线学习
    供应链
    • 库存
    • 制造
    • 产品生命周期
    • 采购
    • 维护保养
    • 品控
    人力资源
    • 员工
    • 招聘
    • 休假
    • 评价
    • 内部推荐
    • 车队
    营销
    • 社媒营销
    • 电邮营销
    • 短信营销
    • 近期活动
    • 营销自动化
    • 网上调查
    服务
    • 项目管理
    • 工时单
    • 现场服务
    • 服务台
    • 排期
    • 预约
    生产力
    • 讨论
    • 批核
    • IoT物联网
    • VoIP
    • 知识库
    • WhatsApp
    第三方应用软件 Odoo 定制 Odoo云端平台
  • 行业
    零售
    • 书店
    • 服装店
    • 家具店
    • 食品杂货店
    • 五金店
    • 玩具店
    餐饮与酒店服务
    • 酒吧及酒馆
    • 餐厅
    • 快餐
    • 民宿
    • 饮品分销商
    • 酒店
    房地产
    • 房地产代理
    • 建筑师事务所
    • 建造业
    • 地产管理
    • 园艺
    • 业主协会
    咨询
    • 会计师事务所
    • Odoo合作伙伴
    • 市场推广公司
    • 律师事务所
    • 人才招聘
    • 审核 & 认证
    制造
    • 纺织
    • 金属
    • 家具
    • 食品
    • 啤酒厂
    • 企业礼品
    保健与健身
    • 体育俱乐部
    • 眼镜店
    • 健身中心
    • 健康从业者
    • 药房
    • 发型屋
    商贸服务
    • 维修人员
    • IT 硬件及支持
    • 太阳能系统
    • 鞋匠
    • 清洁服务
    • 暖通空调服务
    其他
    • 非营利组织
    • 环境机构
    • 广告牌租赁
    • 摄影服务
    • 自行车租赁
    • 软件经销商
    浏览所有行业
  • 社区
    学习
    • 教学视频
    • 文档
    • 认证
    • 培训
    • 博客
    • 播客
    赋能教育
    • 教育计划
    • 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 回复
24731 查看
形象
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
7019
error schema for TourStep Error
error
形象
0
11月 24
2643
Can't modify manifest version of custom module [Odoo.sh]
error
形象
形象
形象
2
7月 24
5379
社区
  • 教学视频
  • 文档
  • 论坛
开源
  • 下载
  • Github
  • Runbot
  • 翻译
服务
  • Odoo.sh 托管
  • 支持
  • 升级
  • 自定义开发服务
  • 教育
  • 查找会计服务
  • 寻找合作伙伴
  • 成为合作伙伴
关于我们
  • 我们的公司
  • 品牌资产
  • 联系我们
  • 招聘
  • 近期活动
  • 播客
  • 博客
  • 客户
  • 法律 • 隐私
  • 安全
الْعَرَبيّة 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致力于为企业管理提供高效智能的开源解决方案,是全球业内高速成长的软件服务商之一,逾七百五十万用户选择Odoo进行数字化升级。通过一系列全业务链覆盖、高度集成、简单易用的商业应用,助力企业实现信息化改革、降本增效并释放公司增长潜力。

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