strange database problem

Sebastian Leibnitz sebastian.leibnitz at googlemail.com
Wed Mar 21 17:42:55 UTC 2007


Hi all!

I've got to admit, I am fairly new to the world of Linux and my problem
might therefore be less strange than I think.

Basically, Amarok seems to have lost all information stored in the database
(score, playcount, everything...), although the file is still where it was
(and still seems to contain all data)
New changes are stored fine though.(that is, playcount is updated just fine,
but from scratch)

what i did to cause the problem:

I've recently moved my whole /home directory from one partition (formerly
sdb3, mounted as /home) to another (sdb4, now mounted as /home)

sdb3 doesn't exist anymore (sdb=sdb1,sdb2,sdb4)


I copied the whole thing with
cp -r -p source dest

Well, i did it piece by piece (because i couldnt move the whole thing at
once), resizing both partititons in between (enlarging sdb4, shrinking sdb3)

Everything worked find, except for the database in amarok problem. (that is
every other configuration, data just worked when i mounted sdb3 as /home and
rebooted)

The database seems as if it were fresh(collection.db is 8MB large), new
things are added fine(and collection.db is modified when that happens).

I then reinstated a backup of mine (i made a backup before messing with my
partitions).
So I restored /.kde/share/apps/amarok and /.kde/share/config/amarokrc to
their backup-state.

It didnt help though, all it does is reset every new changes to the database
since the problem occured (logically), and i start with a "fresh" database
again.
I didnt get back my old scores/playcounts/etc, unfortunately.


some data from my amarokrc (sle=user)

[Collection]
DatabaseEngine=0

[Collection Browser]
Category1=2
Category2=1024
Category3=64
Database AFT Version=2
Database Devices Version=1
Database Persistent Tables Version=19
Database Podcast Tables Version=2
Database Stats Version=12
Database Version=35
FlatColumnWidths=133,131,0,131,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
ShowDivider=true
ViewMode=0

[Collection Folders]
8=./sle/music,./sle/music_temp,./sle/musictemp



conclusion

I have none. Though i am hoping that somebody here needs only half a minute
to figure out what happened.


Sincerely (thanks in advance),
Sebastian.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/amarok/attachments/20070321/62cc08e6/attachment.html>


More information about the Amarok mailing list