omigod
I replaced D1 with one from a broken board and it actually fixed everything.
I was lucky I happened to pick a board broken from a different issue.
It was hard to do the soldering. It has a mess of solder around it now.
I found I have another board that also has a burnt out D1. I suspect it could be repaired the same way.