Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

[Odoo 10 CE] no icons, no css, 404 in log file

Subscribe

Get notified when there's activity on this post

This question has been flagged
debian40410nodejs10.0
9 Replies
14313 Views
Avatar
Apulia Software S.r.l.

Hi all,

we are getting this problem with odoo 10 community, no more icons , no more css only 404 error in log

like this:

2018-01-15 08:20:16,323 18607 INFO 10demo werkzeug: 127.0.0.1 - - [15/Jan/2018 08:20:16] "GET /account_cutoff_accrual_base/static/description/icon.png HTTP/1.1" 404 -

os: debian jessie

nodejs installed from https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions

someone could help me?

1
Avatar
Discard
Ermin Trevisan

Please provide the necessary information, complete traceback, what did you do, did it work before or is it a fresh install, check the log for corrupt modules. This is not a trivia game, you are responsible to provide accurate information if you want to get help.

Apulia Software S.r.l.
Author

Dear Ermin, there is no traceback becuse there is no error.

The problem is that web interface show no more icons or images and in the log file, the only useful information a 404 on GET , as pasted in message.

So, are you able to answer my trivia question now?

Francesco OpenCode

Errors in log

"GET /web/static/lib/fontawesome/fonts/fontawesome-webfont.ttf?v=4.5.0 HTTP/1.1" 404

"GET /web/static/lib/fontawesome/fonts/fontawesome-webfont.woff?v=4.5.0 HTTP/1.1" 404 -

Ermin Trevisan

You did not explain if this is a fresh install or if the problem arose after working properly before, you did not explain which way you did install your Odoo, you did not explain which version, you did not explain which version of nodejs you have installed...

Most probably this can happen when you did not properly install nodejs, when you have installed a corrupt module or when you did not properly install Odoo (permission problems for example).

Andrea Cometa

Hi Ermin,

Installation worked two weeks ago, I did it with buildout on debian jessie, Odoo 10 Community.

Then we need to update OCA project, so i rebuild it.

After that we loose every icon and every image, we got only one tip from log file posted above .

I've tried updating nodejs from official site to version 8.x and 9.x with no changes.

I've tried different werkzeug versions , with no changes

now i've no idea

Andrea Cometa

fresh install on jessie , with node following this instructions :https://www.odoo.com/documentation/10.0/setup/install.html

command npm install -g less shows :

npm WARN engine less@2.7.3: wanted: {"node":">=0.12"} (current: {"node":"0.10.29","npm":"1.4.21"})

npm WARN engine mime@1.6.0: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})

npm WARN engine request@2.81.0: wanted: {"node":">= 4"} (current: {"node":"0.10.29","npm":"1.4.21"})

npm WARN engine form-data@2.1.4: wanted: {"node":">= 0.12"} (current: {"node":"0.10.29","npm":"1.4.21"})

npm WARN engine har-validator@4.2.1: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})

npm WARN engine hawk@3.1.3: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.29","npm":"1.4.21"})

npm WARN engine cryptiles@2.0.5: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})

npm WARN engine hoek@2.16.3: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})

npm WARN engine boom@2.10.1: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})

npm WARN engine har-schema@1.0.5: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})

npm WARN engine co@4.6.0: wanted: {"iojs":">= 1.0.0","node":">= 0.12.0"} (current: {"node":"0.10.29","npm":"1.4.21"})

/usr/local/bin/lessc -> /usr/local/lib/node_modules/less/bin/lessc

less@2.7.3 /usr/local/lib/node_modules/less

├── graceful-fs@4.1.11

├── image-size@0.5.5

├── mime@1.6.0

├── source-map@0.5.7

├── errno@0.1.6 (prr@1.0.1)

├── mkdirp@0.5.1 (minimist@0.0.8)

├── promise@7.3.1 (asap@2.0.6)

└── request@2.81.0 (is-typedarray@1.0.0, aws-sign2@0.6.0, oauth-sign@0.8.2, forever-agent@0.6.1, tunnel-agent@0.6.0, stringstream@0.0.5, caseless@0.12.0, isstream@0.1.2, json-stringify-safe@5.0.1, safe-buffer@5.1.1, performance-now@0.2.0, extend@3.0.1, aws4@1.6.0, uuid@3.1.0, qs@6.4.0, combined-stream@1.0.5, tough-cookie@2.3.3, form-data@2.1.4, mime-types@2.1.17, hawk@3.1.3, http-signature@1.1.1, har-validator@4.2.1)

maybe less incompatible version ?

Jonathan Leaders

I had no CSS in Odoo 11, and I had to `npm uninstall -g less` (make sure 'which lessc' fails, I had two versions!) and recreate the odoo database, see here for more details: https://github.com/OCA/ansible-odoo/issues/85

Avatar
Jonathan Leaders
Best Answer

I had no CSS in Odoo 11, and I had to `npm uninstall -g less` (make sure 'which lessc' fails, I had two versions!) then reinstall the right version (personally I used the ansible role, but you can do it by hand) and recreate the odoo database, see here for more details: https://github.com/OCA/ansible-odoo/issues/85

To rebuild the JS/CSS assets, run:


DELETE FROM ir_attachment WHERE datas_fname SIMILAR TO '%.(js|css)';
DELETE FROM ir_attachment WHERE name='web_icon_data';

0
Avatar
Discard
Avatar
Samo Arko
Best Answer

did you install any modules that are not for odoo10? That can cause the problem, you just need to delete it. I had a problem with no icons or css and in my case the problem was that I had a zip file in the customaddons folder. It probably tried to load it as a module. :) I just deleted it, restarted odoo and everything worked again. 

0
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
How to retain logged in user privileges once sudo.create method executes in Odoo 10
10 10.0
Avatar
Avatar
1
Oct 19
7783
Edi support in odoo 10-11
edi 10 10.0 11
Avatar
0
Jan 18
4837
[Odoo 10] How to create a journal through code (custom module)? Solved
journal sale.order 10 10.0
Avatar
Avatar
1
May 17
9648
Mass Mailing: Use partner field in button's URL href
mailing mass_mailing mailtemplate 10 10.0
Avatar
Avatar
1
Mar 23
6400
Can not close POS session in Odoo 10 Solved
accounting pos journal 10 10.0
Avatar
Avatar
3
Dec 19
10010
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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