Error when "./discourse rebuild app" due to theme error

I’ve managed to fix this issue by performing following steps:

  • Edit containers/app.yml to comment out all but postgres template service
  • Run ./launcher rebuild app then ./launcher enter app
  • Once in, I jump into postgres console su - postgres then psql
  • Once in postgres, I do \c discourse then SELECT * FROM themes and find out the faulty Alternative Logo theme has the ID of 11. Next I delete that with DELETE FROM themes WHERE id=11 then quit the console with \q
  • Exit the container by exit then uncomment out all templates in containers/app.yaml and do rebuild again
3 Likes