cancel
Showing results for 
Search instead for 
Did you mean: 

Error uploading app via MQDH ("Installing CLI...")

interlocked
Explorer

Hi, I've recently updated MQDH to 4.5.0 and I've been unable to upload new app versions since.

Trying to upload, I'm getting this message:
"Error: spawn EBUSY"

After trying to restart and try again a few times, I'm getting:
"CLI not found or does not have permissions to execute"

In the release channels screen, to the right where the "upload" button was, there's a loading icon and hover shows "installing CLI" but it remains this way forever.

I've tried:
- Restarting PC
- Reinstalling MQDH 4.5.0
- Reinstalling MQDH to previous version 4.4.1
- Pushing previous versions of APK (it would error on version code but it never got there) to make sure the APK isn't the problem
- Pointing ADB to different path
- Running MQDH as admin
- Removing "odh" folder from appdata as suggested in some older threads

Other (recent) devs having this issue:
- https://communityforums.atmeta.com/t5/Quest-Development/Build-Upload-Error-CLI-not-found-or-does-not...
- https://communityforums.atmeta.com/t5/Developer-Dashboard/MQDH-cannot-installing-latest-CLI/m-p/1113...
- https://communityforums.atmeta.com/t5/Developer-Dashboard/quot-Installing-latest-cli-quot-is-always-...

Any pointers would be appreciated! Thanks

 

1 ACCEPTED SOLUTION

Accepted Solutions

interlocked
Explorer

OK I found a solution that worked for my case. It's coming from this proposal that addressed a different, but similar issue where "upload" is greyed out
https://communityforums.atmeta.com/t5/General-Development/Meta-quest-developer-hub-upload-button-gre...

The suggestion was to pop the file in the same folder where MQDH is installed, and in my case this did not work. However, copying it to the odh folder in appdata did work and fix the issue.

I also noticed something strange just before doing that. In the odh folder, there's a `ovr-platform-util.exe` file at 0 kb. Guessing it's corrupt and fails to download. I've also checked the odh.log in the same folder and noticed a network error on download. I couldn't figure out why from the error.

1. Long story short, download the `ovr-platform-util.exe` from here: https://developer.oculus.com/resources/publish-reference-platform-command-line-utility/
2. Go to your %AppData% folder -> odh and override the file there. Start the MQDH again and it should work.

I will generally advise developers to never update MQDH if it already works fine and is perfectly compliant.

View solution in original post

1 REPLY 1

interlocked
Explorer

OK I found a solution that worked for my case. It's coming from this proposal that addressed a different, but similar issue where "upload" is greyed out
https://communityforums.atmeta.com/t5/General-Development/Meta-quest-developer-hub-upload-button-gre...

The suggestion was to pop the file in the same folder where MQDH is installed, and in my case this did not work. However, copying it to the odh folder in appdata did work and fix the issue.

I also noticed something strange just before doing that. In the odh folder, there's a `ovr-platform-util.exe` file at 0 kb. Guessing it's corrupt and fails to download. I've also checked the odh.log in the same folder and noticed a network error on download. I couldn't figure out why from the error.

1. Long story short, download the `ovr-platform-util.exe` from here: https://developer.oculus.com/resources/publish-reference-platform-command-line-utility/
2. Go to your %AppData% folder -> odh and override the file there. Start the MQDH again and it should work.

I will generally advise developers to never update MQDH if it already works fine and is perfectly compliant.