Bug 183960 - SQL Dumps Library when NFS server is offline
Summary: SQL Dumps Library when NFS server is offline
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: amarok
Version: 9
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Aurelien Bompard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-03-04 02:46 UTC by JT Tarr
Modified: 2008-09-14 14:58 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-06-01 19:35:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description JT Tarr 2006-03-04 02:46:40 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060223 Fedora/1.5.0.1-5 Firefox/1.5.0.1

Description of problem:
I'm running Amarok on my machine and 2 kids machines via NFS to a main server.
If I'm working on that server and it's offline, the entire (local) music library dumps and has to be rebuilt once the server is up again. The main SQL database seems to still have all the applicable album art, lyrics, etc, yet rebuilding the library at the local level with a 6000+ song library takes 20-30 minutes on a fast machine, and 45 minutes to an hour on older hardware. 
I don't want to disable "watch folders for changes" in setup for obvious reasons.
There needs to be a warning message pop-up that says, "music library not found. Rebuild or cancel."
Yes this probably needs to go the the Amarok Dev people at a feature request.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.
2.
3.
  

Additional info:

Comment 1 Douglas E. Warner 2006-10-27 12:45:24 UTC
What version of amarok was the OP using?  Amarok 1.4.2+ is supposed to have a 
feature called a "dynamic collection" 
(http://amarok.kde.org/wiki/Dynamic_Collection) that detects if a share is 
SMB, CIFS, or NFS and doesn't touch files in the library if that collection is 
unavailable.

Unfortunately this feature doesn't appear to be working, or is poorly 
explained on the wiki page.  I have a problem where I have one music store at 
home that I access via CIFS share and one at work also accessed via a CIFS 
share.  When I startup amarok at either of these locations my collection is 
completely erased and it rebuilds for the new share.  My understanding of the 
feature is that this shouldn't happen.

Comment 2 Douglas E. Warner 2007-01-15 21:03:03 UTC
Sometime after 1.4.4 (probably 1.4.5) CIFS support will be added.  See my 
forum post here:
http://amarok.kde.org/forum/index.php/topic,13201.0.html

Comment 3 Steven M. Parrish 2008-05-08 13:42:54 UTC
This does look like it should be reported upstream.  After doing so please
update this report with the upstream info.

Comment 4 Bug Zapper 2008-05-14 02:06:26 UTC
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


Note You need to log in before you can comment on or make changes to this bug.