Undefined method `resolve_baked_field` when precompiling themes

Based on the solution another post with a similar issue.

I did the following

  1. Added DONT_PRECOMPILE_CSS: 1 to /var/discourse/containers/app.yml
  2. /var/discourse/launcher rebuild app which worked
  3. Selected a default theme in {{host}}/admin/customize/themes … no default theme was selected.
  4. Commented out DONT_PRECOMPILE_CSS: 1 in /var/discourse/containers/app.yml
  5. /var/discourse/launcher rebuild app again, which worked.
4 Likes