Same thing happened for me—web upgrade failed with an “Unexpected token: punc” error, manual pull/rebuild worked.