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

(musicbee) Download failed due to URL change. Could this be embedded? #278

Open
teknowledgist opened this issue Dec 23, 2024 · 0 comments
Open

Comments

@teknowledgist
Copy link

Expected Behavior

choco install musicbee works

Current Behavior

choco install musicbee doesn't work with a 404 error.

Possible Solution

The developer of musicbee says "Just about anything is fair game as long as you're not selling it." Maybe you could reach out to them to be granted permission to distribute it as an "embedded" package via the Chocolatey Community Repository? I've had good luck with those kind of requests with some other packages. Let me know if I can help.

Steps to Reproduce (for bugs)

  1. choco install musicbee -y

Context

Can't install MusicBee via Chocolatey.

Your Environment

  • Package Version used: latest as of 2024-12-23
  • Operating System and version: Win11
  • Chocolatey version: latest as of 2024-12-23
  • Install/uninstall gist: No gist, but here are the relevant lines from the log:
2024-12-23 10:35:35,979 15088 [DEBUG] - Running 'ChocolateyScriptRunner' for musicbee v3.5.8698 with packageScript 'C:\ProgramData\chocolatey\lib\musicbee\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\musicbee', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2024-12-23 10:35:35,987 15088 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\musicbee\tools\chocolateyInstall.ps1'
2024-12-23 10:35:36,018 15088 [DEBUG] - Running Install-ChocolateyZipPackage -unzipLocation 'C:\ProgramData\chocolatey\lib\musicbee\tools' -checksumType 'sha256' -url 'https://files1.majorgeeks.com/10afebdbffcd4742c81a3cb0f6ce4092156b4375/multimedia/MusicBeeSetup_3_5.zip' -packageName 'musicbee' -checksum 'be27f1149654924dddd106254493137280f3e8098ec1029435c02fdda092bdb5' 
2024-12-23 10:35:36,033 15088 [DEBUG] - Running Get-ChocolateyWebFile -checksum 'be27f1149654924dddd106254493137280f3e8098ec1029435c02fdda092bdb5' -checksumType 'sha256' -checksum64 '' -checksumType64 '' -options 'System.Collections.Hashtable' -getOriginalFileName 'True' -packageName 'musicbee' -fileFullPath 'C:\Users\<username>\AppData\Local\Temp\chocolatey\musicbee\3.5.8698\musicbeeInstall.zip' -url 'https://files1.majorgeeks.com/10afebdbffcd4742c81a3cb0f6ce4092156b4375/multimedia/MusicBeeSetup_3_5.zip' -url64bit '' 
2024-12-23 10:35:36,038 15088 [DEBUG] - Running Get-OSArchitectureWidth -compare '64' 
2024-12-23 10:35:36,044 15088 [DEBUG] - CPU is 64 bit
2024-12-23 10:35:36,056 15088 [DEBUG] - Running Get-WebFileName -url 'https://files1.majorgeeks.com/10afebdbffcd4742c81a3cb0f6ce4092156b4375/multimedia/MusicBeeSetup_3_5.zip' -defaultName 'musicbeeInstall.zip' 
2024-12-23 10:35:37,213 15088 [DEBUG] - Url request/response failed - file name will be 'musicbeeInstall.zip':  Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
2024-12-23 10:35:37,217 15088 [DEBUG] - Running Get-WebHeaders -url 'https://files1.majorgeeks.com/10afebdbffcd4742c81a3cb0f6ce4092156b4375/multimedia/MusicBeeSetup_3_5.zip' -ErrorAction 'Stop' 
2024-12-23 10:35:37,219 15088 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2024-12-23 10:35:37,219 15088 [DEBUG] - Request Headers:
2024-12-23 10:35:37,221 15088 [DEBUG] -   'Accept':'*/*'
2024-12-23 10:35:37,221 15088 [DEBUG] -   'User-Agent':'chocolatey command line'
2024-12-23 10:35:38,291 15088 [INFO ] - Attempt to get headers for https://files1.majorgeeks.com/10afebdbffcd4742c81a3cb0f6ce4092156b4375/multimedia/MusicBeeSetup_3_5.zip failed.
  The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://files1.majorgeeks.com/10afebdbffcd4742c81a3cb0f6ce4092156b4375/multimedia/MusicBeeSetup_3_5.zip'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
2024-12-23 10:35:38,294 15088 [INFO ] - Downloading musicbee 
  from 'https://files1.majorgeeks.com/10afebdbffcd4742c81a3cb0f6ce4092156b4375/multimedia/MusicBeeSetup_3_5.zip'
2024-12-23 10:35:38,300 15088 [DEBUG] - Running Get-WebFile -url 'https://files1.majorgeeks.com/10afebdbffcd4742c81a3cb0f6ce4092156b4375/multimedia/MusicBeeSetup_3_5.zip' -fileName 'C:\Users\<username>\AppData\Local\Temp\chocolatey\musicbee\3.5.8698\musicbeeInstall.zip' -options 'System.Collections.Hashtable' 
2024-12-23 10:35:38,301 15088 [DEBUG] - Setting request timeout to  30000
2024-12-23 10:35:38,302 15088 [DEBUG] - Setting read/write timeout to  2700000
2024-12-23 10:35:38,302 15088 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2024-12-23 10:35:40,398 15088 [ERROR] - ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://files1.majorgeeks.com/10afebdbffcd4742c81a3cb0f6ce4092156b4375/multimedia/MusicBeeSetup_3_5.zip'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found." 
This package is likely not broken for licensed users - see https://docs.chocolatey.org/en-us/features/private-cdn.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant