ERROR: Unexpected token: punc «)» from qunit helper during a rebuild

upgrading via CLI worked.
This thread is just meant as bug report. I am fine now and have a working discourse again. Thanks.
In the future I won’t upgrade via the web interface anymore.