Unity 6: Unity Packet Manager Error

When starting up the official Unity 6 release and try to create a project I get this:

Could not find Unity Package Manager local server application at [/Applications/Unity/Hub/Editor/6000.0.23f1/Unity.app/Contents/Resources/PackageManager/Server/UnityPackageManager]. Missing files could be the result of an antivirus action or a corrupt Unity installation.

Click on Retry to relaunch Unity and reopen your project.

Click on Diagnose to launch the Unity Package Manager Diagnostics tool.

When I try to diagnose:

Failed to start diagnostics:

Launcher process ‘/usr/bin/open’ exited unexpectedly with exit code ‘1’

In order to run it manually, please execute the following command-line in a terminal:

export UPM_DIAG_REPORT_PATH=“/Users/peterkallviks/Dropbox/Unity3D/Slask/Logs/2024_10_17_14_43_6_diagnostic_report.txt”

“/Applications/Unity/Hub/Editor/6000.0.23f1/Unity.app/Contents/Resources/PackageManager/Diagnostics/RunUnityPackageManagerDiagnostics”

I use Unity Hub: Version 3.9.1 (3.9.1)

Did you try re-installing?
Make sure all drives have 20+ GiB of free disk space when installing.

I did and now it is working.

Thanks.