I had the same issue.
Solved by the thing above.
And of course ./launcher enter app
I have recently upgraded from 2.x.z? To 3.1.4.
Wanted to enable the chat plugin. Voila. ooops…no fun.
Thanks for this topic. I learned how to change Sitesettings. And, we can run again.