Bug 5536 - When updating SlimServer setup Wizard does not get current Music Folder
: When updating SlimServer setup Wizard does not get current Music Folder
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Mac Installer
: 7.0
: Macintosh MacOS X 10.4
: P2 normal (vote)
: ---
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-09-21 13:29 UTC by Dan Evans
Modified: 2009-09-08 09:29 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments
Screenshot of "disk error" popup (16.32 KB, image/png)
2007-11-02 11:55 UTC, Dan Evans
Details
Screenshot of blank setup Wizard screen (61.39 KB, image/png)
2007-11-02 11:55 UTC, Dan Evans
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Evans 2007-09-21 13:29:34 UTC
When updating an existing install of SlimServer on a Mac, the setup wizard at the end incorrectly sets the Music Folder.  I think it's trying to set to the defaults-- Home>Music & Home>Music>Playlists, but instead should be getting that info from the existing slimserver.pref?

Details: 
 * Mac (intel) OS 10.4.10
 * updateing SlimServer nightly 9/14 to nightly 9/21
Comment 1 Spies Steven 2007-09-21 13:36:20 UTC
SlimServer 7 nightly both times, right?
Comment 2 Dan Evans 2007-09-21 14:18:25 UTC
Yes, the special nightly build both times.
Comment 3 Spies Steven 2007-09-21 14:19:00 UTC
Ah, got it.
Comment 4 Michael Herger 2007-09-24 00:45:22 UTC
What version are you updating from? 6.x or 7.x?

You have paths for playlists and music defined, but they're ignored on update?
Comment 5 Michael Herger 2007-10-08 07:41:12 UTC
Is this issue still open? I can't reproduce.
Comment 6 Dan Evans 2007-10-08 10:59:01 UTC
I'll test with latest and let you know.
Comment 7 KDF 2007-10-13 10:53:31 UTC
seems to be reported again as bug 5777
Comment 8 Michael Herger 2007-10-30 05:17:08 UTC
If I'm not wrong Dean decided to ignore any 6.x settings on Mac and start from scratch with SC7. Dean? 
Comment 9 Blackketter Dean 2007-10-30 17:46:03 UTC
If I did say that, I was wrong.  The installer should default to the user's current settings.
Comment 10 Michael Herger 2007-10-30 22:32:28 UTC
Dean - can you give me a pointer where to start the search in the Mac installer?

AFAICT you didn't explicitely mean to ignore anything existing, but rather just install in a new folder, using new names. Without caring about an existing configuration file this means it won't be found by the new install.

What we have to do (what I've done for Windows) is copy the existing file to the new default place, so it's found at startup and converted.
Comment 11 Blackketter Dean 2007-10-30 23:03:53 UTC
Not sure what you are asking for.  The path to prefs in 6.x on the Mac?   ~/Library/SlimDevices/slimserver.pref ?
Comment 12 Michael Herger 2007-10-30 23:08:21 UTC
> Not sure what you are asking for.  The path to prefs in 6.x on the Mac?  
> ~/Library/SlimDevices/slimserver.pref ?

I was rather asking about where would be a good place to add some code to take care of this. There must be some script/C-ish code which is executed during installation. But where is it?
Comment 13 Michael Herger 2007-10-31 05:04:00 UTC
Dean - found it.

Steven/Dan - I can't reproduce this issue. The path is correctly ported from one version to the other.

One question though: you mention seeing this in the wizard. That's odd, as you shouldn't see the wizard at all when updating from a SC7 build. 

Can you still reproduce this or can we close this case?
Comment 14 Spies Steven 2007-11-01 09:15:30 UTC
I would not be surprised that this issue is no longer seen because of change 13803 for bug 5638.
Comment 15 Michael Herger 2007-11-02 02:48:11 UTC
Thanks - closing
Comment 16 Dan Evans 2007-11-02 11:54:41 UTC
I just tried upgrading from 6.5.4 to 7.0a (Nov. 2 EXE build) and I get very strange behavior:

a) I got a persistant error message, "Windows - No Disk"  (screenshot)
b) Even though I already had a music folder defined from 6.5.4's pref, it still opened the Music Folder selection wizard.
b) The above Music Folder selection wizard was blank  (screenshot)


The steps that got me there...

1. uninstalled SqueezeCenter, deleting folders
2. installed 6.5.4, setting music and playlist folders
3. confirmed 6.5.4 was running with good scanned library
4. installed 7.0a on top of 6.5.4
5. SqueezeCenter did not start up by itself.  I had to manually start it.
6. On starting, I got the "Windows - No Disk" error.  Had to click past it maybe 20 times.
7. SC wizard opened and asked for Music Folder and Playlist folder.  But the browse panels were empty.  (it had the right path entered though.)
8. After wizard completed, SC appeared to running fine.
Comment 17 Dan Evans 2007-11-02 11:55:29 UTC
Created attachment 2337 [details]
Screenshot of "disk error" popup
Comment 18 Dan Evans 2007-11-02 11:55:58 UTC
Created attachment 2338 [details]
Screenshot of blank setup Wizard screen
Comment 19 KDF 2007-11-02 13:39:03 UTC
Daniel: back up any important data and run chkdsk...just in case.
Comment 20 Michael Herger 2007-11-02 16:10:32 UTC
I remember having seen similar messages with empty diskette drives. Do you by any chance have an empty CD-R in your drive or something else Windows can't read? Or a flash card reader without flash cards? If you do, try removing them and see whether this behaviour is reproducable.

The white screen imho is due to some timeout, very likely due to the above issue.

BTW: you should have opened a new bug for this, as the path seems to be read correctly. The title therefore is rather misleading.
Comment 21 Dan Evans 2007-11-02 16:53:04 UTC
Moved the new behavior to bug 6011.

This bug can perhaps be closed as Fixed?
Comment 22 KDF 2007-11-02 21:24:40 UTC
let's mark as fixed, unless someone has reason to reopen