Amarok corrupts library when data files are temporarily unavailable

Bug #504269 reported by Dan Marker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Amarok
Fix Released
High
amarok (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: amarok

My configuration, while not the most common, cannot be too rare.
Most of my music files are located on a remote media server, and are NFS mounted to my workstation. If my workstation (and Amorak) are started while the remote box is down, I am unable to access any music files using Amorak.
This issue persists even after booting the remote server and remounting the filesystem.
At this point, rescanning the collection has no visible action in Amorak. No scanning progress bar appears, and music remains unavailable.
This can manifest itself in one of two ways. Sometimes, I am able to at least view the Artist/Album heirarchy, but not any files within them. If this occurs, it persists until a restart of the application, where it switches to the other behavior. That being, no Artist/Album (or file) information is shown at all. Rescanning collection still has no effect on the UI or the storage.

furthermore, the only way to correct this issue is to remove ~/.kde/share/apps/amarok and rescan everything from scratch. This of course also blows away all information about album covers, etc.

This issue is not specific to 2.2.0, I'm just now fed up enough to make a formal bug report for this issue.

ProblemType: Bug
Architecture: amd64
Date: Thu Jan 7 09:31:30 2010
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/amarok
NonfreeKernelModules: nvidia
Package: amarok 2:2.2.0-0ubuntu2
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-16.53-generic
SourcePackage: amarok
Uname: Linux 2.6.31-16-generic x86_64

Revision history for this message
Dan Marker (u-launchpad-laroux-d-com) wrote :
Revision history for this message
Myriam Schweingruber (myriam) wrote :

Oops, wrong bug number

Changed in amarok:
importance: Unknown → Undecided
status: Unknown → New
importance: Undecided → Unknown
status: New → Unknown
Changed in amarok:
status: Unknown → Confirmed
Revision history for this message
Antaris (mustafa-radha) wrote :

Hi Dan,

I had the same problem, but in my case after -every- reboot the library was emptied. This is probably because amarok looks at the folder before it's mounted properly by the kernel.

I have found a work-around. You should turn off the "Watch folders for changes" feature (settings->collections). This way Amarok won't try to rescan your library. The downside is that you'll have to rescan yourself after making changes to your music directory. But I'm used to that from MediaMonkey so I'll live with it.

Revision history for this message
Harald Sitter (apachelogger) wrote :

Closing in favor of bug report at bugs.kde.org, once it is fixed upstream it will land in Kubuntu as well.

Changed in amarok (Ubuntu):
status: New → Invalid
Changed in amarok:
status: Confirmed → Fix Released
Changed in amarok:
importance: Unknown → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.