跳至内容
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
关于此论坛区
帮助

static files not found anymore

订阅

此帖文有活动时,接收通知

此问题已终结
404
5 回复
38087 查看
形象
Martin Wittwer

Hi

We are running odoo in version 10.0+e-20161116 (enterprise) on an Ubuntu 16.04 server and having a problem since yesterday evening.

The problem is that we can not access the backend menu anymore it stays gray. All the icons and default images on the website are also gone (we only see a placeholder). If we try to access the website or the backend we get alot of 404 errors. The log is not really god it only showed 404 but no other errors. After a few things I tried I am also getting an other error message.

The log now:

2017-03-11 07:30:14,043 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:14] "GET /web_editor/static/src/xml/ace.xml HTTP/1.1" 404 -
2017-03-11 07:30:14,083 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:14] "GET /web_enterprise/static/src/img/mobile-icons/android-192x192.png HTTP/1.1" 404 -
2017-03-11 07:30:14,346 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:14] "GET / HTTP/1.1" 200 -
2017-03-11 07:30:14,758 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:14] "GET /web/content/1953-2b43b3b/web_editor.summernote.0.css HTTP/1.1" 200 -
2017-03-11 07:30:14,767 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:14] "GET /web/content/1955-af0cedf/website.assets_editor.0.css HTTP/1.1" 200 -
2017-03-11 07:30:14,810 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:14] "GET /web/content/1954-ce4a2b9/web_editor.assets_editor.0.css HTTP/1.1" 200 -
2017-03-11 07:30:14,862 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:14] "GET /web/content/1948-4628639/web.assets_common.0.css HTTP/1.1" 200 -
2017-03-11 07:30:14,888 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:14] "GET /web/content/1949-58ab1ea/web.assets_frontend.0.css HTTP/1.1" 200 -
2017-03-11 07:30:14,984 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:14] "GET /web/content/1950-58ab1ea/web.assets_frontend.1.css HTTP/1.1" 200 -
2017-03-11 07:30:15,195 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:15] "GET /web/content/1957-ce4a2b9/web_editor.assets_editor.js HTTP/1.1" 200 -
2017-03-11 07:30:15,220 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:15] "GET /web/content/1956-2b43b3b/web_editor.summernote.js HTTP/1.1" 200 -
2017-03-11 07:30:15,244 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:15] "GET /web/content/1958-af0cedf/website.assets_editor.js HTTP/1.1" 200 -
2017-03-11 07:30:15,347 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:15] "GET /web/content/1952-58ab1ea/web.assets_frontend.js HTTP/1.1" 200 -
2017-03-11 07:30:15,358 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:15] "GET /web/content/1951-4628639/web.assets_common.js HTTP/1.1" 200 -
2017-03-11 07:30:17,205 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:17] "POST /web/webclient/bootstrap_translations HTTP/1.1" 200 -
2017-03-11 07:30:17,207 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:17] "GET /web/webclient/qweb?mods= HTTP/1.1" 200 -
2017-03-11 07:30:21,679 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:21] "GET /theme_graphene/static/src/img/pictures/bg_image_02.jpg HTTP/1.1" 404 -
2017-03-11 07:30:21,846 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:21] "GET /theme_graphene/static/src/xml/s_media_block_modal_ext.xml HTTP/1.1" 404 -
2017-03-11 07:30:22,037 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:22] "GET /theme_common/static/src/font/SourceSansPro-Light.ttf HTTP/1.1" 404 -
2017-03-11 07:30:22,057 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:22] "GET /theme_common/static/src/font/Helvetica.ttf HTTP/1.1" 404 -
2017-03-11 07:30:22,076 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:22] "GET /theme_common/static/src/font/SourceSansPro-Bold.ttf HTTP/1.1" 404 -
2017-03-11 07:30:22,103 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:22] "GET /theme_common/static/src/font/SourceSansPro-Regular.ttf HTTP/1.1" 404 -
2017-03-11 07:30:22,535 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:22] "POST /web/dataset/call HTTP/1.1" 200 -
2017-03-11 07:30:22,620 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:22] "POST /web/dataset/call HTTP/1.1" 200 -
2017-03-11 07:30:22,670 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:22] "POST /web/dataset/call HTTP/1.1" 200 -
2017-03-11 07:30:22,854 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:22] "POST /web/dataset/call_kw/web_tour.tour/get_consumed_tours HTTP/1.1" 200 -
2017-03-11 07:30:26,211 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:26] "GET /web/static/lib/fontawesome/fonts/fontawesome-webfont.woff2?v=4.5.0 HTTP/1.1" 404 -
2017-03-11 07:30:26,372 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:26] "GET /theme_common/static/src/font/Roboto-Medium.ttf HTTP/1.1" 404 -
2017-03-11 07:30:26,741 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:26] "GET /theme_common/static/src/font/Roboto-Regular.ttf HTTP/1.1" 404 -
2017-03-11 07:30:26,956 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:26] "GET /theme_common/static/src/font/Montserrat-Regular.ttf HTTP/1.1" 404 -
2017-03-11 07:30:27,208 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:27] "GET /website_form_editor/static/src/xml/website_form_editor.xml HTTP/1.1" 404 -
2017-03-11 07:30:27,375 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:27] "GET /web_editor/static/src/xml/ace.xml HTTP/1.1" 404 -
2017-03-11 07:30:27,860 10799 INFO ? werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:27] "GET /de/downloads/bdef2016 HTTP/1.1" 404 -
2017-03-11 07:30:28,969 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:28] "GET /web/static/lib/fontawesome/fonts/fontawesome-webfont.woff?v=4.5.0 HTTP/1.1" 404 -
2017-03-11 07:30:29,125 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:29] "GET /web_enterprise/static/src/fonts/Roboto/Roboto-Regular-webfont.woff HTTP/1.1" 404 -
2017-03-11 07:30:29,435 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:29] "GET /web_enterprise/static/src/fonts/Roboto/Roboto-Medium-webfont.woff HTTP/1.1" 404 -
2017-03-11 07:30:30,051 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:30] "GET /web/static/src/xml/base_common.xml HTTP/1.1" 404 -
2017-03-11 07:30:31,480 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:31] "GET /web/static/lib/fontawesome/fonts/fontawesome-webfont.ttf?v=4.5.0 HTTP/1.1" 404 -
2017-03-11 07:30:31,621 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:31] "GET /web_enterprise/static/src/fonts/Roboto/Roboto-Regular-webfont.ttf HTTP/1.1" 404 -
2017-03-11 07:30:31,796 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:31] "GET /web_enterprise/static/src/fonts/Roboto/Roboto-Medium-webfont.ttf HTTP/1.1" 404 -
2017-03-11 07:30:31,856 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:31] "GET /website/static/src/xml/website.share.xml HTTP/1.1" 404 -
2017-03-11 07:30:31,902 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:31] "GET /web/image/website/1/favicon/ HTTP/1.1" 200 -
2017-03-11 07:30:32,075 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:32] "GET /website_forum/static/src/xml/website_forum_share_templates.xml HTTP/1.1" 404 -
2017-03-11 07:30:32,316 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:32] "GET /theme_common/static/src/xml/s_media_block_modal.xml HTTP/1.1" 404 -
2017-03-11 07:30:32,556 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:32] "GET /website_mail/static/src/xml/chatter_message.xml HTTP/1.1" 404 -
2017-03-11 07:30:32,772 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:32] "GET /rating/static/src/xml/rating_common.xml HTTP/1.1" 404 -
2017-03-11 07:30:33,037 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:33] "GET /web_editor/static/src/xml/editor.xml HTTP/1.1" 404 -
2017-03-11 07:30:33,321 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:33] "GET /web_editor/static/src/xml/snippets.xml HTTP/1.1" 404 -
2017-03-11 07:30:33,534 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:33] "GET /website/static/src/xml/website.editor.xml HTTP/1.1" 404 -
2017-03-11 07:30:33,764 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:33] "GET /website/static/src/xml/website.seo.xml HTTP/1.1" 404 -
2017-03-11 07:30:33,994 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:33] "GET /web_planner/static/src/xml/web_planner.xml HTTP/1.1" 404 -
2017-03-11 07:30:34,276 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:34] "GET /website/static/src/xml/website.contentMenu.xml HTTP/1.1" 404 -
2017-03-11 07:30:34,549 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:34] "GET /website/static/src/xml/website.gallery.xml HTTP/1.1" 404 -
2017-03-11 07:30:34,808 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:34] "GET /snippet_google_map/static/src/xml/s_google_map_modal.xml HTTP/1.1" 404 -
2017-03-11 07:30:35,025 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:35] "GET /theme_common/static/src/xml/s_media_block_modal.xml HTTP/1.1" 404 -
2017-03-11 07:30:35,227 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:35] "GET /website_crm_score/static/src/xml/track_page.xml HTTP/1.1" 404 -
2017-03-11 07:30:35,415 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:35] "GET /website_version/static/src/xml/version_templates.xml HTTP/1.1" 404 -
2017-03-11 07:30:35,611 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:35] "GET /web_tour/static/src/xml/tip.xml HTTP/1.1" 404 -
2017-03-11 07:30:35,780 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:35] "POST /website/translations HTTP/1.1" 200 -
2017-03-11 07:30:35,874 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:35] "GET /website/static/src/xml/website.xml HTTP/1.1" 404 -
2017-03-11 07:30:36,051 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:36] "POST /website_mass_mailing/is_subscriber HTTP/1.1" 200 -
2017-03-11 07:30:42,111 10799 ERROR 'odoo10' odoo.http: Exception during JSON request handling.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 638, in _handle_exception
 return super(JsonRequest, self)._handle_exception(exception)
 File "/usr/lib/python2.7/dist-packages/odoo/addons/base/ir/ir_http.py", line 177, in _dispatch
 rule, arguments = cls._find_handler(return_rule=True)
 File "/usr/lib/python2.7/dist-packages/odoo/addons/base/ir/ir_http.py", line 79, in _find_handler
 return cls.routing_map().bind_to_environ(request.httprequest.environ).match(return_rule=return_rule)
 File "/usr/lib/python2.7/dist-packages/werkzeug/routing.py", line 1483, in match
 raise NotFound()
NotFound: 404: Not Found
2017-03-11 07:30:42,113 10799 INFO 'odoo10' werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:42] "POST /longpolling/poll HTTP/1.1" 200 -
2017-03-11 07:30:51,292 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:51] "POST /longpolling/poll HTTP/1.1" 200 -
2017-03-11 07:31:06,182 10799 ERROR 'odoo10' odoo.http: Exception during JSON request handling.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 638, in _handle_exception
 return super(JsonRequest, self)._handle_exception(exception)
 File "/usr/lib/python2.7/dist-packages/odoo/addons/base/ir/ir_http.py", line 177, in _dispatch
 rule, arguments = cls._find_handler(return_rule=True)
 File "/usr/lib/python2.7/dist-packages/odoo/addons/base/ir/ir_http.py", line 79, in _find_handler
 return cls.routing_map().bind_to_environ(request.httprequest.environ).match(return_rule=return_rule)
 File "/usr/lib/python2.7/dist-packages/werkzeug/routing.py", line 1483, in match
 raise NotFound()
NotFound: 404: Not Found
2017-03-11 07:31:06,184 10799 INFO 'odoo10' werkzeug: 127.0.0.1 - - [11/Mar/2017 07:31:06] "POST /longpolling/poll HTTP/1.1" 200 -

How could I solve this problem? (As mentioned: I do not have the admin webinterface)

If you need more information please ask ;)

Thanks!

0
形象
丢弃
形象
Ermin Trevisan
最佳答案

Try to update the web module (or the base module) from the command line:

https://www.odoo.com/forum/help-1/question/how-to-update-module-list-from-command-line-84385

2
形象
丢弃
形象
Martin Wittwer
编写者 最佳答案

Thanks for the response.

Unfortunately that did not work :( The static files are still not found.


I was able to fix the issue.


After a few hours of playing arround I was able to find out that one not correct installed addon view  was containing a field which did not exist. I removed the addon and now it works again.

It was really bad that the log did not tell me that a field was missing. :(

This question can now be closed.


Thanks @ all :)

2
形象
丢弃
Ermin Trevisan

I would download a newer version and try again to update (the base module). And do check the file/folder access rights.

形象
Yogesh
最佳答案

If someone also experiencing this issue without any logs on the server the possible reason for this is Odoo creates some attachments (*.css, *.js") in 'ir.attachment' table. It tries to load those attachments from the path stored in 'ir.attachment' table and if not found in filestore. It would load the web page without those files. In that case, you can delete those attachments from "ir.attachment" table with below query and just reload page. (Odoo will create those files and attachments on reloading. No need to restart server)


DELETE FROM ir_attachment WHERE datas_fname SIMILAR TO '%.(js|css)';
1
形象
丢弃
Paolo M

Thanks, works!!

形象
Hilar Andikkadavath
最佳答案

May be your session/file storage path will be changed. Check your conf file and set data_dir = ../.local/share/Odoo

Thanks

0
形象
丢弃
喜欢讨论吗?不要只阅读,加入进来!

立即创建账户,享受专属功能,与我们的精彩社区互动!

注册
相关帖文 回复 查看 活动
Odoo 404 error 已解决
404
形象
1
7月 23
6250
Login 403 Fordbidden wrong redirect
proxy 404
形象
0
10月 22
2724
Why can I not post a question to the Forum
forum 404
形象
1
3月 20
12
The requested URL was not found on the server. 已解决
url 404
形象
形象
形象
2
12月 19
31145
Odoo massmailing error 404 when loading an image
404 mass_mailing
形象
0
11月 16
6806
社区
  • 教学视频
  • 文档
  • 论坛
开源
  • 下载
  • 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