GAM-team / GAM

command line management for Google Workspace
https://github.com/GAM-team/GAM/wiki
Apache License 2.0
3.54k stars 473 forks source link

Cannot upgrade/install on MacOS 13.7 #1704

Closed sylvank closed 1 month ago

sylvank commented 1 month ago

Please confirm the following:

No, I am using:

GAM 6.58 - https://jaylee.us/gam - pyinstaller Python 3.11.3 64-bit final google-api-python-client 2.86.0 MacOS Ventura 13.7 arm64

Yes

Full steps to reproduce the issue:

Attempt to upgrade GAM. The Releases page indicates that MacOS 12 is no longer supported but I am on 13.7.

bash <(curl -s -S -L https://gam-shortn.appspot.com/gam-install) -l

Error: Sorry, you are running MacOS 13.7 but GAM on arm64 requires MacOS 14. Exiting.

Mac is a Macbook Pro M1.

Thank-you.

jay0lee commented 1 month ago

This limitation is imposed by GitHub Actions where GAM is built. They only offer MacOS arm64/M1 builders running MacOS 14.

You could try running:

bash <(curl -s -S -L https://gam-shortn.appspot.com/gam-install) -l -b 14.0

to tell the install script you are running MacOS 14 (a lie) but I'm reasonbly certain that will get you further in the install process and then GAM will crash when the script tries to run it for the first time.

You can also try:

bash <(curl -s -S -L https://gam-shortn.appspot.com/gam-install) -a x86_64

to tell the install script you are running on an Intel Mac (another lie) and I think that lie might work since Mac M1 devices can run x86_64 apps, they just run slower than arm64 apps but that might not be perceivable. GitHub Actions offers MacOS 13 build machines for Intel Macs so GAM uses them to support older devices (again, not something we can control here).

Lastly, you could upgrade to MacOS 14 or even 15 (just released) to fix the issue.

Jay

jay0lee commented 1 month ago

Whatever you chose, do let us know how it turns out.

taers232c commented 1 month ago

If neither of Jay's suggestions work and you can't upgrade your Mac at the moment, try this and report back

Ross

On Fri, Sep 20, 2024 at 12:18 PM Jay Lee @.***> wrote:

Whatever you chose, do let us know how it turns out.

— Reply to this email directly, view it on GitHub https://github.com/GAM-team/GAM/issues/1704#issuecomment-2364404627, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL6WEIIU6XIDLAZGY3TZXRYHLAVCNFSM6AAAAABOSWIOJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRUGQYDINRSG4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Ross Scroggs @.***

sylvank commented 1 month ago

Thank-you jay0lee and taers232c for the quick responses.

bash <(curl -s -S -L https://gam-shortn.appspot.com/gam-install) -l -b 14.0 "Sorry, you are running MacOS 13.6.9 but GAM on arm64 requires MacOS 14. Exiting."

(This is on my other computer with 13.6.9 instead of 13.7)

bash <(curl -s -S -L https://gam-shortn.appspot.com/gam-install) -a x86_64 "You are running MacOS 13.6.9, good. Using GAM with macos-x86_64.tar.xz." "ERROR: No version of python installed."

Note, I'm having the same problem as described here: https://groups.google.com/g/google-apps-manager/c/i9PfQwLcM6M in that MacOS 13.6.9 doesn't seem to have a working python3.

Installed Python 3.12.6

Reran: bash <(curl -s -S -L https://gam-shortn.appspot.com/gam-install) -a x86_64

Install proceeded. I skipped setting up Google API Project.

It appeared to hang at: "Here's information about your new GAM installation:" So I ctrl-c'd it.

It connects to my existing domain correctly. Thank-you both!