Rebuild taking ~3hours

Lots of memory is needed to precompile the javascript. Try adding swap.

The overlay

I think that test may be there for a reason. This could be your issue.