Can't install updates from macOS App Store I'm on a new Mojave install and I can't install updates to Apple suite programs (Garageband, Pages, Numbers, Keynote and iMovie). I've updated macOS and Xcode command line tools successfully from the Software Update app. 
When I open App Store, it says that I'm not signed in. (Logga in means Login in Swedish). 



I try to login, but each time I enter my Apple ID password it just loads and exits the login prompt, without switching to logged in state. Note that I've logged into iCloud and iTunes successfully.  

When I try to update the outdated apps. The circle loads for some minutes, and then the Update button returns. 



I've tried some different tips that I've found online, such as this, and this.
I have the same exact problem. I'm staying in a long term hotel and I had a couple of problems with their WiFi so I figured it had something to do with this. Yes, it was related but then something messed up around with my Apple ID. Then I could not even log in iTunes and AppStore and even my phone started acting weird.

The solution for logging again was typing this on the terminal:

defaults write com.apple.appstore.commerce Storefront -string \
    "$(defaults read com.apple.appstore.commerce Storefront | sed s/,8/,13/)"


(Source: Appstore error 500 (com.apple.commerce.client))

The problem is that my downloads and updates still never start and according to Apple Support everything is fine and it is just my network blocking downloads from AppStore! But I've tried 4G and a VPN interface and it is still the same!