title: Django Heroku raise ValueError("Missing staticfiles manifest entry for '%s'" % clean_name)
body: <p>I am getting 500 server error because there seems to be an issue with my static files:</p>
  <p>my project folder name is register and I have different setting files for production and development:</p>
  <pre><code>register
  --live-static
  --register
  ----settings
  ------__init__.py
  -----common.py
  -----production.py
  -----development.py
  --live-static
  --static
  </code></pre>
  <p>In my <code>production.py</code> file I have:</p>
  <pre><code>from register.settings.common import *
  import django_heroku
  
  django_heroku.settings(locals())
  
  DEBUG = False
  STATIC_URL = '/static/'
  STATICFILES_DIRS = [ 
      os.path.join(BASE_DIR, 'static')
  ]
  STATIC_ROOT = os.path.join(BASE_DIR, 'live-static', 'static-root')
  STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
  
  MEDIA_URL = '/media/'
  MEDIA_ROOT = os.path.join(BASE_DIR, 'live-static', 'media-root'
  </code></pre>
  <p>I have already ran:
  <code>python manage.py collect static</code>
  <code>heroku run python manage.py collectstatic</code></p>
  <p>and I got the following result:
  <code>1626 static files copied to '/app/live-static/static-root', 4464 post-processed.</code></p>
  <p>However, after I visit my website I get an error:</p>
  <pre><code>raise ValueError(&quot;Missing staticfiles manifest entry for '%s'&quot; % clean_name)
  2020-09-07T19:46:28.324481+00:00 app[web.1]: ValueError: Missing staticfiles manifest entry for 'css/main.css'
  </code></pre>
  <p>in my template I have <code>{% static 'css/main.css' %}</code></p>
  <p>I do not know why i am still getting an error as my collect static has already worked properly.
  I'd appreciate any help.</p>