Bugzilla – Bug 12363
SC downloads firmware and deletes it when .sha file is missing
Last modified: 2009-09-08 09:21:08 UTC
This happened with both r6079 and r6082. SC downloads the new firmware and then instantly deletes it. Even with server.update at the DEBUG level there's no mention of downloading the firmware .version or .bin file in the server log. SC should be smart enough not to download a 27 MB .bin file if there's no .sha file. [09-06-12 14:44:56.6082] Slim::Networking::SimpleAsyncHTTP::onError (230) Failed to connect to http://update.squeezenetwork.com/update/firmware/7.4/fab4_7.4_r6082.bin.sha (404 Not Found) [09-06-12 14:44:56.6200] Slim::Utils::Firmware::downloadAsyncError (591) Warning: Firmware: Failed to download http://update.squeezenetwork.com/update/firmware/7.4/fab4_7.4_r6082.bin.sha (404 Not Found), will try again in 10 minutes.
Created attachment 5334 [details] log Sorry, I see that you need to use the player.firmare log setting. Here's a new log snippet from when the bin file was downloaded and immediately deleted.
It's working as designed. Not going to add logic to SC just to deal with a situation where the build server breaks.
All you'd have to do is download the stupid .sha file first. But suit yourself - whatever requires less effort.
I wouldn't add too much additional logic ... but it might be smart to have SC check first for the .sha files and then fail if they don't exist. In this particular case the user would have been rate-limited on his downloads anyways by the update server ... but still, it seems like it might be checking things in the wrong order. On a side note, all the files were in place except for the .sha for the .bin file itself ... OOPS. I've fixed the build script and am re-running it now.
This is broken again with fw r6189.
JJ, Fixed... but in the future, we don't need to have bugzilla updated with notes like this. Please use the forums to let us know when something as simple as a firmware update is temporarily hosed.