Fix the CasaOS App Store not loading

About

I’ve now added where if you run the script, it will either install the commit app store and uninstall the main app store or uninstall the commit app store and install the main app store, so it’s possible for both, and when this issue is fixed, you can go back to the main app store easily.

The issue is with this pull request:

When this issue is over, I plan on making this script revert back to the main app store.

Script

bash -c "$(wget -qLO - https://raw.githubusercontent.com/bigbeartechworld/big-bear-scripts/master/casaos-appstore-fix/run.sh)"

This issue has been fixed.

Running this command today returns the following:

bash -c “$(wget -qLO - https://raw.githubusercontent.com/bigbeartechworld/big-bear-scripts/master/casaos-appstore-fix/run.sh)”

New app store is not registered.Do you want to install the new app store? (y/n): y
trying to register app store asynchronously - see /var/log/casaos/app-management.log for any errors.New app store registered. 

Unregistering the main app store…
Searching for the app store with URL: https://github.com/IceWhaleTech/CasaOS-AppStore/archive/refs/heads/main.zip…
App store with the specified URL not found.
Operation completed.

Hi @MBfromOK

What about ping github.com? Seems like problem with DNS. Because this URL is OK:
https://github.com/IceWhaleTech/CasaOS-AppStore/archive/refs/heads/main.zip