Answers.Body: <p>The main symptom is that there are no files in the libraries directory.</p>
  <pre><code>&gt; ls web/libraries/civicrm/packages
  _ORIGINAL_
  
  
  &gt; composer civicrm:publish
  Publishing CiviCRM assets to web/libraries/civicrm
  Generating CiviCRM asset map
  </code></pre>
  <p>Fixed.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-11-26T00:01:18.247Z
Answers.LastActivityDate: 2021-11-27T03:19:49.123Z
Answers.LastEditDate: 2021-11-27T03:19:49.123Z
Answers.UserDisplayName: Interlated
Body: <p>I access CiviCRM and the dashboard is missing. The menu items don't work.</p>
  <p>Things tried</p>
  <ul>
  <li>delete files/civicrm/templates_c/*</li>
  <li>read ConfigAndLog. No errors reported</li>
  <li>cv flush</li>
  <li>cv upgrade:db</li>
  <li>cv ext:upgrade-db (or /civicrm/upgrade?reset=1)</li>
  <li>civicrm/admin/setting/updateConfigBackend?reset=1. Reset paths, cleanup caches</li>
  <li>check domain in civicrm.settings.php</li>
  <li>check browser console for files that aren't being loaded (nothing reported)</li>
  <li>review resource urls civicrm/admin/setting/url?reset=1</li>
  <li>check system status civicrm/a#/status (still dies)</li>
  </ul>
  <p>How did I get here?</p>
  <ul>
  <li>update to drupal 9</li>
  <li>update civicrm</li>
  </ul>
  <p>All updated via composer and <em>git push composer.lock</em>. There is a git hook</p>
  <pre><code>GIT_WORK_TREE=/srv/$t/$s git checkout -f $b
  export COMPOSER_COMPILE=all
  (cd /srv/$t/$s &amp;&amp; composer install --no-dev)
  </code></pre>
  
Tags: <theme>
Title: How do I fix a main menu that is not working?
ThreadText: # How do I fix a main menu that is not working?
  
  (Asked by: username_0 on 2021-11-26)
  
  I access CiviCRM and the dashboard is missing. The menu items don't work.
  
  Things tried
  
  * delete files/civicrm/templates\_c/\*
  * read ConfigAndLog. No errors reported
  * cv flush
  * cv upgrade:db
  * cv ext:upgrade-db (or /civicrm/upgrade?reset=1)
  * civicrm/admin/setting/updateConfigBackend?reset=1. Reset paths, cleanup caches
  * check domain in civicrm.settings.php
  * check browser console for files that aren't being loaded (nothing reported)
  * review resource urls civicrm/admin/setting/url?reset=1
  * check system status civicrm/a#/status (still dies)
  
  How did I get here?
  
  * update to drupal 9
  * update civicrm
  
  All updated via composer and *git push composer.lock*. There is a git hook
  
  ```
  GIT_WORK_TREE=/srv/$t/$s git checkout -f $b
  export COMPOSER_COMPILE=all
  (cd /srv/$t/$s && composer install --no-dev)
  
  ```
  
  **Tags:** theme
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2021-11-26. Score: 2 | Accepted answer
  
  The main symptom is that there are no files in the libraries directory.
  
  ```
  > ls web/libraries/civicrm/packages
  _ORIGINAL_
  
  > composer civicrm:publish
  Publishing CiviCRM assets to web/libraries/civicrm
  Generating CiviCRM asset map
  
  ```
  
  Fixed.
  
  
  ---
  
  