Bugzilla – Bug 12120
Auto-update on Mac does not offer update
Last modified: 2010-04-05 13:13:03 UTC
(related to bug 7982) I was going to file this bug and say the auto-update feature never offers a new update, but ... this morning it did. However, this is the first time I've ever seen it and I suspect there's still something wrong. On May 15 I updated to version 7.4 - 26555 (5/13) and waited to be offered an update. Nothing appeared for days until this morning when I saw the update dialog. I will update to latest build (26688) and continue to monitor.
Dan - some information from your server.log might be interesting. Andy - I'd assume this might be due to the change in the event handling loop: [09-05-21 07:12:22.9210] Slim::Utils::Misc::msg (1154) Warning: [07:12:22.8621] Use of uninitialized value in subroutine entry at /Library/PreferencePanes/SqueezeCenter.prefPane/Contents/server/Slim/Networking/IO/Select.pm line 116. [09-05-21 07:12:22.9216] Slim::Networking::IO::Select::__ANON__ (113) Error: Select task failed calling Slim::Networking::Async::_async_read: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /Library/PreferencePanes/SqueezeCenter.prefPane/Contents/server/Slim/Networking/IO/Select.pm line 116. Any idea?
Created attachment 5250 [details] Server log from 5/18 to 5/19
change 26725 - this should be fixed now. Please note that you'll have to update to this build manually, as the download mechanism was broken.
I am still seeing this. I'm on build 26982. I've not seen a notification of a new update in 1 week after updating manually on June 10. Looking at the log it is successfully finding and downloading the update. But it never pops up and offers it to install. (log attached)
Created attachment 5341 [details] Server log from 6/9 to 6/17
> Looking at the log it is successfully finding and downloading the > update. But it never pops up and offers it to install. (log attached) What OSX version are you running? I did add some code last week which would lead to failure on 10.3/4. If you're on 10.5 (Leopard), could you please try to run the following command from a terminal: osascript /Library/PreferencePanes/SqueezeCenter.prefPane/Contents/server/Bin/darwin/openprefs.scpt Do you see any error message?
Error: "osascript: ./Library/PreferencePanes/SqueezeCenter.prefPane/Contents/server/Bin/darwin/openprefs.scpt: No such file or directory" The path appears wrong. I ran this instead and it opened the PrefPane: osascript /Volumes/Macintosh\ HD/Library/PreferencePanes/Squeezebox\ Server.prefPane/Contents/server/Bin/darwin/openprefs.scpt
> Error: "osascript: > ./Library/PreferencePanes/SqueezeCenter.prefPane/Contents/server/Bin/darwin/openprefs.scpt: > No such file or directory" Where did you get that error message? By typing the command manually or from within SC?
I ran the command in Terminal as you requested. I tried it as you typed it-- it failed. I tried it with a period at the start to place it in the local directory-- it failed. I tried it with the amended path using "Squeezebox/ Server" and it worked.
Dan - fixed a few more issues which _might_ have broken the update on OSX today. Please install tomorrow's build manually if needed and see how it behaves. Thanks!
Dan - closing this again, as it's working fine again (for me). With or without Growl running I got informed about the update. Feel free to re-open (again :-)) if needed.
I'm running 27203 (6/23) and am still not seeing any update box. The only time I see anything is I manually open Sys Prefs and select "Squeezebox Software". Then I see a box asking do I want to update now or later. I'm having other support folk try this and I'll report back. James-- Is this working for you?
Do you have Growl installed on your Mac? I get the notification box, some times 3-4 of them, depending on how long its been since I have updated. That may be a separate bug, that the Growl (notification) boxes do not supersead each other. I.E. multiple growls will appear based on the frequency SC downloads new updates.
> That may be a separate bug, that the Growl (notification) boxes do not > supersead each other. I.E. multiple growls will appear based on the > frequency SC downloads new updates. Hmm... do they all show up at the same time? Only one every 24hrs should pop up.
I do not have Growl installed. I never see any notification box automatically. If I manually go into SysPres > SB Software then I will see a notification box.
(In reply to comment #14) > > That may be a separate bug, that the Growl (notification) boxes do not > > supersead each other. I.E. multiple growls will appear based on the > > frequency SC downloads new updates. > > Hmm... do they all show up at the same time? Only one every 24hrs should > pop up. It looks like 1 every 24h yes. I left my Mac running over the weekend, 3 updates were pushed from when I installed last, and 3 growl boxes were visible stacked
That makes sense. Should probably make them disappear again after a while. Just don't complain you didn't see them then ;-)
Post Beta, it really shouldn't matter. Since we should only be updating infrequently correct? Maybe put a 72hour timer on it? Also, since it displays in the Control Panel, I'm not too worried about when or how long the box shows up for
Maybe I have a fundamental misunderstanding here. Should I be seeing a spontaneous, independent notification box appear about the update? Or should I only see notification about the update if and when I open the Control Panel?
(In reply to comment #19) > Should I be seeing a > spontaneous, independent notification box appear about the update? Yes. What do you see in your server.log?
Oh well... still seems to be broken for some users. Please attach server.log file if you still don't see the notifications.
You asked for it...
Created attachment 5394 [details] Server Log r27265
Dan/Jörg - could you please check whether there is a ~/Library/Caches/Squeezebox Server/updates/server.version file on your system? What's in there? What are the permissions on that file? change 27345 - add some more logging Please update manually and see what happens. Updated server.log files are always welcome - doesn't need to be the full file, but only the last few hundred lines (with the update logging entries).
Created attachment 5402 [details] Log from latest two days. Michael-- Yes, I have that file. It contains: /Users/daniel/Library/Caches/Squeezebox Server/updates/SqueezeboxServer-7.4-27339.dmg It was updated today. It's permissions are: daniel - read&write. Also note, the file it points to is also present in the same path. Currently running r27310.
Dan - that log file is looking good. Do you have Growl installed? You would see it in the PreferencePane. If so - is it set to start at login?
Michael, I do not have Growl installed. Is Growl a requirement for seeing the notification?
> Michael, I do not have Growl installed. Is Growl a requirement for seeing the > notification? No, Growl is optional for a less intrusive notification. What if you run the following command (as found in your log file) run manually from a terminal (please note: this is to be entered on one line!): /usr/bin/osascript '/Library/PreferencePanes/Squeezebox Server.prefPane/Contents/server/Bin/darwin/signalupdate.scpt' Some notification
Here is the input/output with that command: DEvans-MacBook:~ daniel$ /usr/bin/osascript '/Library/PreferencePanes/Squeezebox Server.prefPane/Contents/server/Bin/darwin/signalupdate.scpt' Some notification /Library/PreferencePanes/Squeezebox Server.prefPane/Contents/server/Bin/darwin/signalupdate.scpt:614:615: script error: Expected end of line, etc. but found “"”. (-2741) DEvans-MacBook:~ daniel$ Just in case I was not supposed to include the last two words ("Some notification") I ran a second time without those and still got the same error.
Would you mind attaching /Library/PreferencePanes/Squeezebox Server.prefPane/Contents/server/Bin/darwin/signalupdate.scpt to this bug? osascript is complaining about some odd characters.
Created attachment 5407 [details] signalupdate.scpt file from Devans' Mac Here you go, Michael.
Dan - script seems to be fine. Do you still not get the notification? What Growl version are you running? Do you see the Squeezebox Server item in the Growl PrefPane?
Sorry Michael, but again I do not have Growl installed. I'm currently running build 27765. I've yet to see a notification from the server. Not even sure what it looks like. You've said Growl is not required so I do not plan to install it. I'd rather keep my system closer to the average user.
Created attachment 5530 [details] Mac Upgrade Notification Dan: Do you see this type of message? Michael: Besides this announcement, what else should customers see, when Growl is NOT present?
James-- Yes, I do see that. I reported seeing that in comment #12 and comment #15, but got the impression that there's something else? Something non-Growl? Michael-- Can you please provide a screenshot of what this looks like with Growl NOT installed? I feel like we're chasing our tails here when maybe it's not even broken?
Ooops.... sorry Dan about the Growl confusion (and asking it over and over again). No, it's not required. > Michael-- Can you please provide a screenshot of what this looks like with > Growl NOT installed? If you don't have Growl, then the SC PrefPane should pop up, giving you the screen James has attached (thanks!). If you don't get this, can you open the pref pane manually? It seems to sometimes get stuck and wouldn't open.
Michael-- Thanks, I think I understand now. So I _do_ see the screen James attached, but only if I open it manually. Nothing opens or presents itself automatically. Truthfully, I think this works well enough now for release. If the update didn't work at all I'd feel differently. I recommend we push this out for 8.01 or 8.1. Your plate must be plenty full, Michael, with more critical issues... unless you believe this is an easy fix, but it's not sounding that way. Thanks for your patience.
Dan - could you please watch this issue again (with revision 28201 or later)? There was another issue (bug 13451) with the notification which caused playback pausing and other oddities. In that case the PrefPane would have hung. Maybe that fix fixed your issue too?
I updated to 28225 this morning. I'll let you know what I see over the next day or so.
Michael-- Good news... I saw the pop-up asking for an update for the first time today. Yeehaw! Sadly, it wasn't able to update because the installer failed to close System Prefs. Not sure if those two events are related or not. I'll try again later. How often does it offer the update? Once a day? Once an hour?
> Sadly, it wasn't able to update because the installer failed to close > System Prefs. Not sure if those two events are related or not. I'll > try again later. They might indeed be related: sometimes the PrefPane locks up for some reason. Have you been able to close it manually? > How often does it offer the update? Once a day? Once an hour? once a day (by default). Can be changed by setting the checkVersionInterval value
Michael- over the last 4 days I've successfully gotten the update notification 4 times, and successfully updated 4 times. One time the prefPane would not close and the installer failed. I immediately retried the update and it completed successfully. Seems to be working fine now.
Thanks for the feedback! Let's close this quickly, before it fails working again ;-)
This bug has been marked as fixed in the 7.4.0 release version of SqueezeBox Server! * SqueezeCenter: 28672 * Squeezebox 2 and 3: 130 * Transporter: 80 * Receiver: 65 * Boom: 50 * Controller: 7790 * Radio: 7790 Please see the Release Notes for all the details: http://wiki.slimdevices.com/index.php/Release_Notes If you haven't already, please download and install the new version from http://www.logitechsqueezebox.com/support/download-squeezebox-server.html If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.
About two weeks ago I installed Growl. Since that time I have not gotten any update offers from the PrefPane. Is that by design? Note- I _do_ get Growl messages 1/hour stating there's a new version available. Just want to be sure this is how it's supposed to work. Thanks!
> Since that time I have not gotten any > update offers from the PrefPane. > > Note- I _do_ get Growl messages 1/hour stating there's a new version available. ?!? Do you get the message or not?
What I _used_ to get was the PrefPane would auto-open itself up and a box appeared middle of the screen stating the update is available and provided and update button. (see James' attachment, "Mac Upgrade Notification") Now... there is no PrefPane box. Instead, I get a Growl message. But the Growl message has no way to actually update. (the user must know to open the PrefPane manually.) That's why I'm asking if this is intended or not. I hope this helped explain. (I'm on OSX 10.6.3) Should I continue to see the PrefPane auto-open? Complete with the update button?
Just tested this again: - first I got the growl message - went to open the PrefPane - asked me to restart in 32-bit mode - in 32-bit mode I was immediately asked to install the update This is working as designed for me. Please note that there haven't been new nightlies for a few days, as there haven't been changes either.
> Now... there is no PrefPane box. > > Instead, I get a Growl message. But the Growl message has no way to actually > update. (the user must know to open the PrefPane manually.) That's correct. We're using growl to lower the impact on the user experience. Opening the PrefPane is a bit heavy. It's only done if growl isn't installed. To answer your question: yes, this is as designed (or at least how it has been ever since we introduced that feature).
Ok, good. Fair enough. Thanks, Michael!