Understanding theme blob assets behavior

We found a solution to this!

If anyone has this problem in the future, do not truncate your db tables. It happened to mess a lot of things up for us.

Our solution

  1. In https://[your Discourse]/admin/customize/themes/[your theme] click the ‘x’ next to all the assets
  2. Go to https://[your Discourse]/sidekiq/scheduler
  3. Run the following jobs
    • Jobs::CleanUpUploads
    • Jobs::PurgeDeletedUploads
  4. Re-upload your theme assets (we uploaded them manually in https://[your Discourse]/admin/customize/themes/[your theme]. Then clicked the ‘edit css/html’ button and saved some of the files with errors.

Thank you @zogstrip for all your help!