Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install on MB Air M2 with macOS Ventura #722

Closed
3 tasks done
TurtleRad opened this issue Aug 7, 2022 · 11 comments
Closed
3 tasks done

Cannot install on MB Air M2 with macOS Ventura #722

TurtleRad opened this issue Aug 7, 2022 · 11 comments
Assignees
Labels
os: macos Specific to macOS operating system priority: high Resolution is a high priority status: in progress Work is in progress on this topic: infrastructure Related to project infrastructure type: imperfection Perceived defect in any part of project

Comments

@TurtleRad
Copy link

TurtleRad commented Aug 7, 2022

Describe the problem

Trying to install ArduinoCreateAgent and failing.

I have tried with Safari and Chrome.

Issue is similar to #634 but the solutions do not work:

sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain /Users/MyMBA/Applications/ArduinoCreateAgent/ArduinoCreateAgent.app/Contents/MacOS/ca.cert.pem
***Error reading file /Users/MyMBA/Applications/ArduinoCreateAgent/ArduinoCreateAgent.app/Contents/MacOS/ca.cert.pem
Error reading file /Users/MyMBA/Applications/ArduinoCreateAgent/ArduinoCreateAgent.app/Contents/MacOS/ca.cert.pem
sudo osascript -e "do shell script \"security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain /Users/MyMBA/Applications/ArduinoCreateAgent/ArduinoCreateAgent.app/Contents/MacOS/ca.cert.pem\""
Password:
0:192: execution error: Error reading file /Users/MyMBA/Applications/ArduinoCreateAgent/ArduinoCreateAgent.app/Contents/MacOS/ca.cert.pem (1)

Errors that popped up during install:

Error changing permissions to 040755 in /Users/simon/Applications/ArduinoCreateAgent/ArduinoCreateAgent.app

...and for directories there under.

I also tried out with v1.2.2

I'm new to all this Arduino stuff but I hope I haven't completely fallen over at the first step.

Many thanks for any help in advance.

To reproduce

Downloading, installing and failing.

Expected behavior

Downloading, installing and seeing the browser report success.

Arduino Create Agent version

1.2.6

Operating system

macOS

Operating system version

Ventura

Browser

Safari & Chrome

Browser version

Latest

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest version
  • My report contains all necessary details
@TurtleRad TurtleRad added the type: imperfection Perceived defect in any part of project label Aug 7, 2022
@umbynos umbynos self-assigned this Aug 8, 2022
@umbynos umbynos added the os: macos Specific to macOS operating system label Aug 8, 2022
@ubidefeo
Copy link

ubidefeo commented Aug 8, 2022

@TurtleRad
Apple seems to want to change how they handle certificates at every major release.
We have recently been able to fix a long standing bug due to Apple not allowing the storage of certificates and it was not easy to resolve it.

Unfortunately until this OS gets out of beta we are not able to assign any resources to it.
We develop and test on final releases of operating systems because they tend to stay consistent across updates,
but having been on the Apple wagon for almost 20 years I can assure you they can also change things during the lifetime of an OS.

Please be patient, the behaviour on the latest OS might change before final release,
otherwise we'll look into it once it is stable

thank you
u.

PS: let's leave this one open for any other user bumping into it

@Letrab
Copy link

Letrab commented Oct 25, 2022

You will get an notification that an application wants to update or delete other applications:

If you click "Allow" (or go to "Settings" -> "Privacy & Security" -> "App Management"), you should toggle the ArduinoCreateAgent on, press "Later", and click on "Retry". The installation will proceed an succeed.

Screenshot 2022-10-25 at 14 44 43
Screenshot 2022-10-25 at 14 44 50
Screenshot 2022-10-25 at 14 44 51
Screenshot 2022-10-25 at 14 45 05

@tmr-ai
Copy link

tmr-ai commented Oct 26, 2022

You will get an notification that an application wants to update or delete other applications:

If you click "Allow" (or go to "Settings" -> "Privacy & Security" -> "App Management"), you should toggle the ArduinoCreateAgent on, press "Later", and click on "Retry". The installation will proceed an succeed.

First of all, thanks a lot, your comment brought me to the right path!

In my case, the solution was to add the installation program in the secure settings, after it was mounted, but before I started the installation process!

So I would suggest these steps to others for installation for chrome on Mac OS Ventura:

  1. download ArduinoCreate Agent
  2. open downloaded Folder, but not Program yet
  3. go to settings --> Privacy & Security --> App Management
  4. select plus sign and add the dowloaded installation program
  5. now run the installation program
  6. finished :)

@umbynos
Copy link
Contributor

umbynos commented Oct 31, 2022

We are currently investigating this issue. It seems the problem has always been there. Simply, macOS was not so picky. It must be something related to the macOS bundle.

@umbynos umbynos pinned this issue Oct 31, 2022
@umbynos umbynos added priority: high Resolution is a high priority status: in progress Work is in progress on this topic: infrastructure Related to project infrastructure labels Oct 31, 2022
@sirkong2
Copy link

sirkong2 commented Nov 1, 2022

Same problem here. The solution suggested didn't work for me. The error that I'm getting is this
image
"The file was downloaded on an unknown date" I'm not sure if that's the problem or not but 'unknown date' doesn't sound right.

@lewixlabs
Copy link

You will get an notification that an application wants to update or delete other applications:

If you click "Allow" (or go to "Settings" -> "Privacy & Security" -> "App Management"), you should toggle the ArduinoCreateAgent on, press "Later", and click on "Retry". The installation will proceed an succeed.

Screenshot 2022-10-25 at 14 44 43 Screenshot 2022-10-25 at 14 44 50 Screenshot 2022-10-25 at 14 44 51 Screenshot 2022-10-25 at 14 45 05

I confirm, this workaround still doesn't work on macOS Ventura 13.0.1 (on my mac Mini M1 arm64).
Thanks for any suggestions.
Lewix

@umbynos
Copy link
Contributor

umbynos commented Nov 25, 2022

We have some news about the Agent issues on macOS Ventura
There is a new specific version (1.2.7-ventura) that works correctly with macOS Ventura.
You can find additional details in the recently updated support document: https://support.arduino.cc/hc/en-us/articles/6489572696220

I'm also working on a more permanent fix, you can monitor the status in the MacOS Ventura Support milestone

@lewixlabs
Copy link

lewixlabs commented Nov 25, 2022

Let's try...

UPDATE
Works! 🎉
Thank you!

image

@umbynos
Copy link
Contributor

umbynos commented Jun 12, 2023

Hello there, we should have fixed all these problems in the latest release (1.3.0).
The agent should be able to autoupdate itself, unless you have 1.2.7-ventura version. In that case, you have to manually uninstall it and install 1.3.0.
Please test it out so that we can close this one.

@Letrab
Copy link

Letrab commented Jun 12, 2023

I had 1.2.7 installed. Tried to remove it. But how to I uninstall it properly?

Only get the message:

"Old agent installation of the Arduino Create Agent found, please uninstall it before launching the new one"

EDIT: NVM: Found it, it is (as only application) under my user's /Application/ folder (/Users/username/Applications) in stead of the (normally used, root's) /Applications/

@umbynos
Copy link
Contributor

umbynos commented Jun 23, 2023

Closing as this should be solved, feel free to reopen it

@umbynos umbynos closed this as completed Jun 23, 2023
@umbynos umbynos unpinned this issue Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os: macos Specific to macOS operating system priority: high Resolution is a high priority status: in progress Work is in progress on this topic: infrastructure Related to project infrastructure type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

7 participants