amarok won't load after update [Solved]

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

Post Reply
denijane
Growing Hen
Posts: 168
Joined: Tue Feb 13, 2007 19:54
Location: Sofia
Contact:

amarok won't load after update [Solved]

Post by denijane » Thu Aug 27, 2015 21:01

Hi all,
after the last update I did, amarok won't load anymore. If I start it with amarog --debug I get:

Code: Select all

Amarok could not find any collection plugins. It is possible that Amarok is installed under the wrong prefix, please fix your installation using:
$ cd /path/to/amarok/source-code/
$ su -c "make uninstall"
$ cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` && su -c "make install"
$ kbuildsycoca4 --noincremental
$ amarok
More information can be found in the README file. For further assistance join us at #amarok on irc.freenode.net.
I noticed when updating that I got mariadb replacing mysql. I remember that last time I did that, amarok again stopped working, but back then, instead of fixing it I just replaced mariadb with mysql. I would really like to force amarok to work with mariadb, but I don't know what its problem is.
When I check if mysql is working I get:

Code: Select all

systemctl status mysqld.service
● mysqld.service - MySQL database server
   Loaded: loaded (/usr/lib64/systemd/system/mysqld.service; enabled)
   Active: activating (start-post) since чт 2015-08-27 22:54:57 EEST; 2s ago
  Process: 2612 ExecStart=/usr/bin/mysqld_safe --basedir=/usr (code=exited, status=0/SUCCESS)
 Main PID: 2612 (code=exited, status=0/SUCCESS);         : 2613 (mysqld-wait-rea)
   CGroup: /system.slice/mysqld.service
The worst is that it doesn't even start so that I can try configuring it to use the internal database.
If I start it with kdesu, it starts normally, although the collection is of course empty, because I've never used it as root. Any ideas, because I'm really sick of spotify and I miss my collection...
Last edited by denijane on Tue Sep 15, 2015 18:30, edited 1 time in total.

joost
Sagely Hen
Posts: 2742
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands
Contact:

Re: amarok won't load after update

Post by joost » Thu Aug 27, 2015 22:35

I think it is because I was recently forced to disable the embedded use flag on amarok. I'll have to investigate this.

https://github.com/Sabayon/build/commit ... 7a98053329
My blog | Mastodon | Please support Sabayon: Become a Patron

joost
Sagely Hen
Posts: 2742
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands
Contact:

Re: amarok won't load after update

Post by joost » Thu Aug 27, 2015 22:44

https://github.com/Sabayon/build/commit ... f89c184647

Undone this and rebuild Amarok. It will be in main repository soon.
My blog | Mastodon | Please support Sabayon: Become a Patron

denijane
Growing Hen
Posts: 168
Joined: Tue Feb 13, 2007 19:54
Location: Sofia
Contact:

Re: amarok won't load after update

Post by denijane » Fri Aug 28, 2015 10:58

Hi Joost,
I tried removing and reinstalling amarok through equo, but I still get the same error. Do I have to do something else?
I think it's some kind of problem of Amarok using mariadb, because it works ok when I remove mariadb and put mysql.
I get the following error when I try to run:

Code: Select all

mysql_upgrade
Version check failed. Got the following error when calling the 'mysql' command line client
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
FATAL ERROR: Upgrade failed

joost
Sagely Hen
Posts: 2742
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands
Contact:

Re: amarok won't load after update

Post by joost » Fri Aug 28, 2015 11:39

I think you don't have the rebuild Amarok version yet.

╠ @@ Package: media-sound/amarok-2.8.0-r3 branch: 5, [sabayonlinux.org]
╠ Available: version: 2.8.0-r3 ~ tag: NoTag ~ revision: 3

revision 3 should be the one.
My blog | Mastodon | Please support Sabayon: Become a Patron

denijane
Growing Hen
Posts: 168
Joined: Tue Feb 13, 2007 19:54
Location: Sofia
Contact:

Re: amarok won't load after update

Post by denijane » Fri Aug 28, 2015 16:10

Hi and thanks for bothering with this.
I tried to reinstall it after I removed amarok and to my surprise the dependency that got pulled are mysql and not mariadb:

Code: Select all

 sudo equo install amarok                                                                                                                                                                                                                             
╠  @@ Calculating dependencies...
╠  ## [N] [sabayon-weekly] dev-db/mysql-5.6.26-r1|0
╠  ## [N] [sabayon-weekly] media-sound/amarok-2.8.0-r3|2
╠  @@ Packages needing to be installed/updated/downgraded: 2
╠  @@ Packages needing to be removed: 0
╠  @@ Download size: 0b
╠  @@ Used disk space: 255.2MB
╠  @@ You need at least: 423.0MB of free space
╠  ::: >>>  (1/1) 2 packages
╠    ## Downloading: 2 packages
╠    ## ( mirror #1 ) [dev-db:mysql-5.6.26-r1.055bc4d1e371244cb9e268e9981c1cf0d73fe891~0.tbz2] @ http://na.mirror.garr.it
╠    ## ( mirror #1 ) [media-sound:amarok-2.8.0-r3.d22ff41ce50ee1c86d33c3bde488e131763a769d~2.tbz2] @ http://na.mirror.garr.it
╠    ## Checking package checksum...
╠   ## Aggregated download: 2 items
╠    # [1] na.mirror.garr.it => dev-db:mysql-5.6.26-r1.055bc4d1e371244cb9e268e9981c1cf0d73fe891~0.tbz2
╠    ## Checking package checksum...
╠    # [2] na.mirror.garr.it => media-sound:amarok-2.8.0-r3.d22ff41ce50ee1c86d33c3bde488e131763a769d~2.tbz2
╠    ## ( mirror #1 ) [dev-db:mysql-5.6.26-r1.055bc4d1e371244cb9e268e9981c1cf0d73fe891~0.tbz2] success @ http://na.mirror.garr.it
╠    ## ( mirror #1 ) [media-sound:amarok-2.8.0-r3.d22ff41ce50ee1c86d33c3bde488e131763a769d~2.tbz2] success @ http://na.mirror.garr.it
╠  +++ >>>  (1/2) dev-db/mysql-5.6.26-r1
╠    ## Unpacking: dev-db:mysql-5.6.26-r1.055bc4d1e371244cb9e268e9981c1cf0d73fe891~0.tbz2
╠    ## Package phase: setup
!!! SYNC setting found in make.conf.
    This setting is Deprecated and no longer used.  Please ensure your 'sync-type' and 'sync-uri' are set correctly in /etc/portage/repos.conf/gentoo.conf
╠    ## Package phase: preinstall
╠    ## Installing package: dev-db/mysql-5.6.26-r1
╠    ## [A fast, multi-threaded, multi-user SQL database server]
╠    ## Updating installed packages repository: dev-db/mysql-5.6.26-r1
☛    :: Unregistering library: /usr/lib64/libmysqlclient_r.so.18.1.0 [libmysqlclient.so.18, 2]
☛    :: Unregistering library: /usr/lib64/libmysqlclient.so.18.1.0 [libmysqlclient.so.18, 2]
☛    :: Unregistering library: /usr/lib64/libmysqlclient.so.18 [libmysqlclient.so.18, 2]
☛    :: Unregistering library: /usr/lib32/libmysqlclient_r.so.18.1.0 [libmysqlclient.so.18, 1]
☛    :: Unregistering library: /usr/lib32/libmysqlclient.so.18.1.0 [libmysqlclient.so.18, 1]
☛    :: Unregistering library: /usr/lib32/libmysqlclient.so.18 [libmysqlclient.so.18, 1]
!!! SYNC setting found in make.conf.
    This setting is Deprecated and no longer used.  Please ensure your 'sync-type' and 'sync-uri' are set correctly in /etc/portage/repos.conf/gentoo.conf
>>> Regenerating /etc/ld.so.cache...
/sbin/ldconfig: /usr/lib64/libNX_Xdmcp.so.6 не е символна връзка

/sbin/ldconfig: /usr/lib64/libNX_Xext.so.6 не е символна връзка

/sbin/ldconfig: /usr/lib64/libNX_Xpm.so.4 не е символна връзка

/sbin/ldconfig: /usr/lib64/libNX_Xrender.so.1 не е символна връзка

/sbin/ldconfig: /usr/lib64/libXcomp.so.3 не е символна връзка

/sbin/ldconfig: /usr/lib64/libNX_Xfixes.so.3 не е символна връзка

/sbin/ldconfig: /usr/lib64/libNX_Xtst.so.6 не е символна връзка

/sbin/ldconfig: /usr/lib64/libNX_Xrandr.so.2 не е символна връзка

/sbin/ldconfig: /usr/lib64/libNX_Xcomposite.so.1 не е символна връзка

/sbin/ldconfig: /usr/lib64/libXcompshad.so.3 не е символна връзка

/sbin/ldconfig: /usr/lib64/libNX_Xinerama.so.1 не е символна връзка

/sbin/ldconfig: /usr/lib64/libNX_X11.so.6 не е символна връзка

/sbin/ldconfig: /usr/lib64/libNX_Xdamage.so.1 не е символна връзка

/sbin/ldconfig: /usr/lib64/libNX_Xau.so.6 не е символна връзка

/sbin/ldconfig: /usr/lib64/libXcompext.so.3 не е символна връзка

╠    ## Package phase: postinstall
 * 
 * You might want to run:
 * "emerge --config =dev-db/mysql-5.6.26-r1"
 * if this is a new install.
 * 
 * 
 * If you are upgrading major versions, you should run the
 * mysql_upgrade tool.
 * 
╠    ## Cleaning: dev-db/mysql-5.6.26-r1
╠  +++ >>>  (2/2) media-sound/amarok-2.8.0-r3
╠    ## Unpacking: media-sound:amarok-2.8.0-r3.d22ff41ce50ee1c86d33c3bde488e131763a769d~2.tbz2
╠    ## Package phase: setup
╠    ## Package phase: preinstall
╠    ## Installing package: media-sound/amarok-2.8.0-r3
╠    ## [Advanced audio player based on KDE framework]
╠    ## Updating installed packages repository: media-sound/amarok-2.8.0-r3
!!! SYNC setting found in make.conf.
    This setting is Deprecated and no longer used.  Please ensure your 'sync-type' and 'sync-uri' are set correctly in /etc/portage/repos.conf/gentoo.conf
>>> Regenerating /etc/ld.so.cache...
/sbin/ldconfig: /usr/lib64/libNX_Xdmcp.so.6 не е символна връзка

/sbin/ldconfig: /usr/lib64/libNX_Xext.so.6 не е символна връзка

/sbin/ldconfig: /usr/lib64/libNX_Xpm.so.4 не е символна връзка

/sbin/ldconfig: /usr/lib64/libNX_Xrender.so.1 не е символна връзка

/sbin/ldconfig: /usr/lib64/libXcomp.so.3 не е символна връзка

/sbin/ldconfig: /usr/lib64/libNX_Xfixes.so.3 не е символна връзка

/sbin/ldconfig: /usr/lib64/libNX_Xtst.so.6 не е символна връзка

/sbin/ldconfig: /usr/lib64/libNX_Xrandr.so.2 не е символна връзка

/sbin/ldconfig: /usr/lib64/libNX_Xcomposite.so.1 не е символна връзка

/sbin/ldconfig: /usr/lib64/libXcompshad.so.3 не е символна връзка

/sbin/ldconfig: /usr/lib64/libNX_Xinerama.so.1 не е символна връзка

/sbin/ldconfig: /usr/lib64/libNX_X11.so.6 не е символна връзка

/sbin/ldconfig: /usr/lib64/libNX_Xdamage.so.1 не е символна връзка

/sbin/ldconfig: /usr/lib64/libNX_Xau.so.6 не е символна връзка

/sbin/ldconfig: /usr/lib64/libXcompext.so.3 не е символна връзка

╠    ## Package phase: postinstall
 * Updating icons cache ...                                                                                                                                                                                                                                             [ ok ]
 * Updating desktop mime database ...
 * Updating shared mime info database ...
!!! SYNC setting found in make.conf.
    This setting is Deprecated and no longer used.  Please ensure your 'sync-type' and 'sync-uri' are set correctly in /etc/portage/repos.conf/gentoo.conf

 * You've disabled the amarok support for embedded mysql DBs.
 * You'll have to configure amarok to use an external db server.

 * Please read http://amarok.kde.org/wiki/MySQL_Server for details on how
 * to configure the external db and migrate your data from the embedded database.

╠    ## Cleaning: media-sound/amarok-2.8.0-r3
╠  @@ Installation complete.
Maybe I have some problem with completely purging mysql from my system or something like this. Even after reinstalling with mysql, amarok gives the same error. It's all very odd.

joost
Sagely Hen
Posts: 2742
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands
Contact:

Re: amarok won't load after update

Post by joost » Fri Aug 28, 2015 18:27

You are using weekly repo, this does not have the rebuild Amarok version yet.

:D
My blog | Mastodon | Please support Sabayon: Become a Patron

denijane
Growing Hen
Posts: 168
Joined: Tue Feb 13, 2007 19:54
Location: Sofia
Contact:

Re: amarok won't load after update

Post by denijane » Tue Sep 15, 2015 18:30

Hey, Joost, just wanted to tell you that indeed the last update fixed Amarok. Thanks! :wink:

Post Reply