Local collection empty

Bug #523269 reported by Elfy
70
This bug affects 16 people
Affects Status Importance Assigned to Milestone
amarok (Ubuntu)
Fix Released
Medium
Unassigned
Nominated for Lucid by fermulator

Bug Description

Binary package hint: amarok

After the recent update the local collection appeared empty.

A rescan of collection resulted in the same empty local collection

Removing the config files and starting from afresh results in the same empty local collection.

ProblemType: Bug
Architecture: i386
Date: Wed Feb 17 16:10:55 2010
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100113)
NonfreeKernelModules: nvidia
Package: amarok 2:2.2.2.90-0ubuntu1
ProcEnviron:
 LANG=en_GB.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-13.18-generic
SourcePackage: amarok
Uname: Linux 2.6.32-13-generic i686

Revision history for this message
Elfy (elfy) wrote :
Revision history for this message
Doug McMahon (mc3man) wrote :

Notice the same behaviour in an updated 2:2.2.2.90-0ubuntu1 amarok, additionally amarok isno longer quitting properly.

Changed in amarok (Ubuntu):
status: New → Confirmed
Revision history for this message
Myriam Schweingruber (myriam) wrote :

How many MySQL versions do you have installed? This looks like a MySQL version mismatch. Version 5.1 should be enough. Also you didn't specify if you were using the default MySQL embedded or an external one for your collection.

Revision history for this message
Elfy (elfy) wrote :

I am using the default embedded MySQL

Appear to only have MySQL-common installed - 5.1.41-3ubuntu4

Revision history for this message
Myriam Schweingruber (myriam) wrote :

Then I guess it is Lucid related, since everything works fine here on Karmic, Using Amarok from git witht he current user and 2.2.90 with a different user. Never had any collection problems since 2.2.2
Now to know what went wrong here...

Revision history for this message
Elfy (elfy) wrote :

Doing this gets it going again - thanks mc4man

Installed the following packages:
libhtml-template-perl (2.9-1)
mysql-server (5.1.41-3ubuntu6)
mysql-server-5.1 (5.1.41-3ubuntu6)
mysql-server-core-5.1 (5.1.41-3ubuntu6)

exact method was revert the 3 amarok packages to 2:2.2.2-0ubuntu1, install above, run amarok once, update amarok

Revision history for this message
Doug McMahon (mc3man) wrote :

To add additionally
As noted, - from a prev. amarok 2,22 install for the upgrade to work some packages need to be installed, 2.22 run once, then upgrade. However from a fresh, fully updated lucid install (02/21

Installed amarok 2:2.2.2.90-0ubuntu1 - no collection found, mysql not initialised, unclean amarok exit

After installing the mentioned server packages, then amarok 2:2.2.2.90-0ubuntu1 works fine, exits cleanly

The install of the server packages would be all of these due to depends, so it may be one or more that does the trick - possibly the client if not the server..? ( though the server seems most likely

libdbd-mysql-perl (4.012-1ubuntu1)
libdbi-perl (1.609-1)
libhtml-template-perl (2.9-1)
libnet-daemon-perl (0.43-1)
libplrpc-perl (0.2020-2)
mysql-client-5.1 (5.1.41-3ubuntu6)
mysql-server (5.1.41-3ubuntu6)
mysql-server-5.1 (5.1.41-3ubuntu6)
mysql-server-core-5.1 (5.1.41-3ubuntu6)

Also possibly of interest may be the msqle debian patch

Revision history for this message
Doug McMahon (mc3man) wrote :

having got around to trying from a live cd (02-25), the install of the server package restores amarok to proper function
mysql-server

Revision history for this message
ekpyrosis (mvdwerf2001) wrote :

Works for me:
First installing:
libdbd-mysql-perl (4.012-1ubuntu1)
libdbi-perl (1.609-1)
libhtml-template-perl (2.9-1)
libnet-daemon-perl (0.43-1)
libplrpc-perl (0.2020-2)
mysql-client-5.1 (5.1.41-3ubuntu6)
mysql-server (5.1.41-3ubuntu6)
mysql-server-5.1 (5.1.41-3ubuntu6)
mysql-server-core-5.1 (5.1.41-3ubuntu6)
and then installing amarok

Local Collections are back again.

Revision history for this message
Doug McMahon (mc3man) wrote :

This is continuing to be an issue - at least with gnome.

If you can't or aren't inclined to fix then maybe add mysql-server-core-5.1 as a recommend

Revision history for this message
Rich (rich-fordmondeo) wrote :

Agreed. I've just been stung by this.

A day or two ago, apt-get suggested some now unused applications, and suggested cleaning up by using the autoremove option. I still had Amarok installed, but it obviously didn't seem to tell apt that mysql-server was a requirement. Even though I hadn't configured Amarok to use MySQL.

Ubuntu 10.04, Amarok and Klibido are the only KDE apps I have installed.

Revision history for this message
Germán Bassi (germanbassi) wrote :

After a fresh install of Lucid, there was no collection and Amarok didn't have a clean exit. I installed mysql-server-core-5.1 and this was fixed.

Revision history for this message
fermulator (fermulator) wrote :

I'm running an external MySQL DB, why do we need to install mysql-server-core-5.1 on the client side?

Revision history for this message
fermulator (fermulator) wrote :

(NOTE: Also affects latest amarok 2.3.0)

Revision history for this message
Bill Yiannakos (billyiannakos) wrote :

The same here: just upgraded from Ubuntu 9.10 to 10.04 and from Amarok 1.1.4 to 2.3 and also had this issue. It was resolved by installing mysql-server-core-5.1, as mentioned on a comment above....

Revision history for this message
Doug McMahon (mc3man) wrote :

The amarok version in maverick - 2.3.1 - does not have this issue so that is also an option - find a ppa or whatever
Though they could just update amarok in lucid, wouldn't hold breath there

Changed in amarok (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Medium
Revision history for this message
Doetoe (doetoe) wrote :

I have the same problem running maverick 64 bits, amarok 2.3.2.

Revision history for this message
SteveLoughran (steve-loughran) wrote :

amarok should work with sqllite without needing mysql, so perhaps the problem is the sqllite dependencies are missing on a clean install. Mysql is overkill

(pause)

yes, installing sqllite is sufficient for Amarok on a clean 10.04 install to store music and to terminate cleanly. You do not appear to need mysql.

Revision history for this message
Myriam Schweingruber (myriam) wrote :

Steve, that is simply not true, Amarok 2.x needs either mysql embedded or a mysql server, neither sqlite nor postgresql are supported.
FWIW, this bug is solved since quite some time, it was a packaging error.

Revision history for this message
Maarten Bezemer (veger) wrote :

This bug report is being closed due to your last comment regarding this being fixed.

Changed in amarok (Ubuntu):
status: Triaged → Fix Released
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.