Bugzilla – Bug 17764
Embedded LMS fails to switch between sources
Last modified: 2011-12-13 22:59:19 UTC
I've been using the embedded server running off a SD card. Later on I removed the card and plugged in a USB disk. While the prefs.json file was updated correctly by SP, LMS fails to start, as it's trying to open the DB as defined in server.prefs before prefs.json is evaluated. Thus still trying to access the SD card.
Created attachment 7566 [details] backtrace from the crash
== Auto-comment from SVN commit #33708 to the slim repo by mherger == == http://svn.slimdevices.com/slim?view=revision&revision=33708 == Fixed Bug: 17764 Description: when changing the librarycachedir value we need to reset dbsource in order for the DB handler to re-initialize the value. Otherwise it would try to use the old value, potentially pointing to a no longer available storage device.
Verification passed on LMS 7.7.1 r33735, Verified with USB PEN DRIVE and HSSD card with different media sources.