Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • CiviCRM Core CiviCRM Core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,465
    • Issues 1,465
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • CiviCRM CoreCiviCRM Core
  • Issues
  • #2137
Closed
Open
Created Oct 21, 2020 by AlanDixon@AlanDixon

Asset building breaks the site

NOTE:

This ticket is not about how to solve this problem, which has some known causes and some unknown causes, it was just about logging instead of crashing. Check your civi log (ConfigAndLog) or visit https://civicrm.stackexchange.com/questions/37994/why-cant-the-asset-builder-find for help solving the problem.

Description:

Upon upgrade of a Drupal 8 site to CiviCRM 5.30.1 from 5.29.something, the site broke completely with this php error in the drupal watchdog:

Civi\Core\Exception\UnknownAssetException: Unrecognized asset name: crm-menubar.css in Civi\Core\AssetBuilder->render() (line 217 of /var/www/drupal/vendor/civicrm/civicrm-core/Civi/Core/AssetBuilder.php).

Missing assets shouldn't break the site.

Edited Mar 10, 2021 by DaveD
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking