[Troubleshooting] Linux Spotify

Solved!
Reply

[Troubleshooting] Linux Spotify

Dreadlord
Community Legend

Having trouble with Spotify on your Desktop app? Here’s what to try first.

  • Search the Community

Someone might have asked your question on the Community before.
So type your issue into the search box and have a look.

  • Basic troubleshooting

Go through these steps one at a time. They can help you solve most issues on your own.


1. Clear Spotify cache
killall spotify
rm -rf $HOME/.cache/spotify/Storage

2 Check this thread for troubleshooting connection issues.

3 Ask a friend or family member to sign into Spotify on your Desktop. See if the issue is persisting on their account too. If yes, the issue is the device and can likely be solved with more troubleshooting.
4. Change settings within the app: Sync quality, Stream Quality, Gapless Playback, Crossfade. See if a different combination of these settings makes a difference.


  • Advanced troubleshooting 

1. Is spotify starting normally?

spotify

1. Can you play a sound?

aplay /usr/share/sounds/alsa/Front_Center.wav

2. Is the system recognizing your sound card?

aplay -l

3. Is Spotify running on prefered sound card? Change between sound cards in gnome/unity control center.

unity-control-center sound
gnome-control-center sound

 

4. Nothing works so far? Report your issue!

spotify >$HOME/spotify-dump.txt 2>&1

   or

 

strace spotify > $HOME/spotify-dump 2>&1
  • Report your issue

We’ll need as much information as you can provide. So filling in this template is helpful:


=== START OF TEMPLATE ===

  1. Your device and operating system:
  2. Type of Spotify account you have (Free/ Premium):
  3. The app version of Spotify you’re using:
  4. Brief description of the issue:
  5. Steps to reproduce the issue:

 

  • First I did this
  • Then I did that
  • I also did this

6. Attach the spotify-dump.txt ( $HOME/spotify-dump.txt ) from Advanced troubleshooting 4.

=== END OF TEMPLATE ===

 

Known issues : 

 

Error while loading shared libraries: libgcrypt.so.11 - fix debian / fix ubuntu.

Spotify on Linux doesn't play local mp3 files - fix.

 

Tips :

Add Spotify's testing repository:

echo deb http://repository.spotify.com testing non-free | sudo tee /etc/apt/sources.list.d/spotify.list

Install Spotify 0.9.17

sudo apt-get install spotify-client-0.9.17

  

Some information and template is taken from here.

Linux is not officialy supported by Spotify.

 

If this solved your issue - Mark it as a solution!
Twitter | Website |
What's a Spotify Rock Star, and how do I become one?



151 Replies
Solution!

Dreadlord
Community Legend

Hello everyone,

 

Just a quick heads up that you can still install the old version ( 0.9.17 ) of Spotify via the repository if the 1.24 client is not working well for you.

 

 

sudo apt-get install spotify-client-0.9.17

Hope this helps!

 

If this solved your issue - Mark it as a solution!
Twitter | Website |
What's a Spotify Rock Star, and how do I become one?



View solution in original post

mrcpfy
Regular

 

 

 

 

Dreadlord
Community Legend

Hey @mrcpfy,


It's from the stable repository. 

If this solved your issue - Mark it as a solution!
Twitter | Website |
What's a Spotify Rock Star, and how do I become one?



mrcpfy
Regular

Dreadolord, will it upgrade by itself to the broken one anytime in the future?

mrcpfy
Regular

 

0.9.17 doesn't start at all after installed.

Kee_Spees
Music Fan

Thanks for this solution. It worked for me but I removed the latest version first, before installing version 0.9.17

 

I was having the same problems as others. Couldn't minimize to the tray, Spotify doesn't appear in the taskbar when running. At one point I was running 3 instances of spotify each playing it's own music and no way to stop it, except for the KILL command.

Dreadlord
Community Legend

Hey @mrcpfy,

 

Can you start the client from the terminal and let me know the output?

You can check the first post for more advanced troubleshooting steps as well.


: - )

If this solved your issue - Mark it as a solution!
Twitter | Website |
What's a Spotify Rock Star, and how do I become one?



mrcpfy
Regular

@Dreadlord, no I can not do it.

 

Both

 

 

spotify-client

 

and

 

 

spotify-client-0.9.17

 

comands are not found.

Dreadlord
Community Legend

Hey @mrcpfy,

 

To me it looks like Spotify is not installed on your PC.

Can you give me the output of the following command:

 

dpkg-query -l 'spotify*'

Thank you! : - )

If this solved your issue - Mark it as a solution!
Twitter | Website |
What's a Spotify Rock Star, and how do I become one?



mrcpfy
Regular

@Dreadlord, it's installed, as you can see.

 

Voluto=U (non noto)/I (installato)/R (rimosso)/P (rimosso totale)/H (in attesa)
| Stato=Non/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(nessuno)/R (reinstallazione richiesta) (Stato,Err: maiuscolo=grave)
||/ Nome                            Versione             Architettura         Descrizione
+++-===============================-====================-====================-====================================================================
un  spotify-client                  <nessuna>            <nessuna>            (nessuna descrizione disponibile)
ii  spotify-client-0.9.17           0.9.17.8.gd06432d.31 amd64                Spotify desktop client
un  spotify-client-gnome-support    <nessuna>            <nessuna>            (nessuna descrizione disponibile)
un  spotify-client-qt               <nessuna>            <nessuna>            (nessuna descrizione disponibile)

 

 

mazerj
Newbie

I'm runing Mint LMDE 2 (betsy) and get the same error for:

  spotify-client 1:1.0.24.104.g92a2 amd64 Spotify streaming music client

but when I remove the package and manually install:

  spotify-client-0.9.17

It works without complaining about the missing library function. Looks like something broke or was dynamically linked against a missing library in the last release. Automatic update in the last couple days updated spotify w/o my really paying attention.

/jamie

 

 

durin
Roadie

The version 1:1.0.25.127.g58007b4c-22 in testing needs libssl1.0.0 to run but at least Debian stretch/sid has replaced it with libssl1.0.2.

 

When does Spotify learn to add all the required packeges to the deb dependencies? (spotify: error while loading shared libraries: libgcrypt.so.11)

azakrezisrac
Regular

OS: Ubuntu 14.04, 64 bit, Unity
Account: Free
Version: 1.0.24.104.g92a22684

Description: since last update the Global menu does not work with Spotify. tray icon also missing.

Reproduction: just run the application.

Dreadlord
Community Legend

Hey @azakrezisrac,

 

These are known issues.

I hope they are going to get fixed really soon. Until then there is not much we can do about it 🙂

If this solved your issue - Mark it as a solution!
Twitter | Website |
What's a Spotify Rock Star, and how do I become one?



azakrezisrac
Regular

oh okay. i just did not found any reports.

Drarrell
Casual Listener

I tested the 1.0.25.127-2, and I still can't move the playlists in the left plannel. Someone else at the same issue?

wplagges
Casual Listener

Hi all,

 

I have Spotify Free version 1.0.24.104.g92a22684 installed on Ubuntu 14.04.4.

It worked fine until a few weeks ago, then it started to crash right after turning it on.

This is the dump I get when I run it from the command line:

 

[0320/184445:ERROR:browser_main_loop.cc(203)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[0320/184445:ERROR:main_delegate.cc(764)] Could not load cef_extensions.pak
21:44:46.155 5 [playlist_be_pl4_context.cpp:68 ] [spotify:user:wplagges:rootlist] Creating context
21:44:46.155 5 [playlist_be_pl4_context.cpp:68 ] [spotify:user:wplagges:publishedrootlist] Creating context
21:44:46.175 I [dns.cpp:62 ] resolved apresolve.spotify.com to 194.68.28.194
21:44:46.175 I [dns.cpp:62 ] resolved apresolve.spotify.com to 194.68.30.50
21:44:46.176 I [dns.cpp:62 ] resolved apresolve.spotify.com to 194.68.28.178
21:44:46.203 E [offline_key_store.cpp:85 ] Offline: failed to load key stores, error: sync_error_offline_key_store_file_not_found (7007), path: /home/wladimir/.cache/spotify/Users/wplagges-user/cached
21:44:46.219 D [gaia_manager.cpp:656 ] GAIA: TIMING(3571665) GaiaManager::start, _service_status=kServiceStatusStopped
21:44:46.219 D [gaia_manager.cpp:997 ] GAIA: TIMING(3571665) GaiaManager::sendSubscribe
21:44:46.220 D [gaia_manager.cpp:331 ] GAIA: GaiaManager::stateTransition, kServiceStatusStopped->kServiceStatusInSubscribeTx
21:44:46.233 5 [playlist_be_pl4.cpp:528 ] synchronizePlaylistContainer 'spotify:user:wplagges:publishedrootlist'
21:44:46.233 3 [playlist_be_pl4_context.cpp:303 ] [spotify:user:wplagges:publishedrootlist] Synchronization starting: GET (from revision 0,726f6f7400000000000000000000000000000000)
21:44:46.234 5 [playlist_be_pl4.cpp:528 ] synchronizePlaylistContainer 'spotify:user:wplagges:rootlist'
21:44:46.234 3 [playlist_be_pl4_context.cpp:303 ] [spotify:user:wplagges:rootlist] Synchronization starting: GET (from revision 0,726f6f7400000000000000000000000000000000)
21:44:46.234 I [offline_manager.cpp:2699 ] Storage has been cleaned
21:44:46.239 I [gaia_hermes_channel.cpp:116 ] GAIA: GaiaHermesChannel::send, failed query response_code=38
21:44:46.241 5 [playlist_be_pl4_context.cpp:194 ] [spotify:user:wplagges:publishedrootlist] 'GET' request complete
21:44:46.241 3 [playlist_be_pl4_context.cpp:487 ] [spotify:user:wplagges:publishedrootlist] synchronization error: non hermes error
21:44:46.241 3 [playlist_be_pl4_context.cpp:508 ] [spotify:user:wplagges:publishedrootlist] - transient error, retrying.
21:44:46.241 5 [playlist_be_pl4_context.cpp:194 ] [spotify:user:wplagges:rootlist] 'GET' request complete
21:44:46.241 3 [playlist_be_pl4_context.cpp:487 ] [spotify:user:wplagges:rootlist] synchronization error: non hermes error
21:44:46.241 3 [playlist_be_pl4_context.cpp:508 ] [spotify:user:wplagges:rootlist] - transient error, retrying.
21:44:46.525 I [ap_connection_impl.cpp:497 ] Connecting to AP sjc1-accesspoint-a18.ap.spotify.com:4070
21:44:46.550 I [dns.cpp:62 ] resolved sjc1-accesspoint-a18.ap.spotify.com to 194.68.28.130

Illegal instruction

 

 

Thanks,

Wladimir

 

 

Dreadlord
Community Legend

Hey @wplagges,


Can you try 1.0.25 and see if the issue persists?

You can get the .deb package from here.

If this solved your issue - Mark it as a solution!
Twitter | Website |
What's a Spotify Rock Star, and how do I become one?



Drarrell
Casual Listener

.The client continue to crash when using the search in playlist with the 1.0.25

[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
spotify: xcb_io.c :274 : poll_for_event: l'assertion « !xcb_xlib_threads_sequence_lost » a échoué.
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
/usr/bin/spotify : ligne 2 : 7603 Abandon (core dumped)LD_PRELOAD=libcurl.so.3 /usr/share/spotify/spotify "$@"

 

wplagges
Casual Listener
Hi Dreadlord,

Thanks for your answer. I just tryied installing version 1.0.25 but
unfortunatelly the issue persists.
This is the output I get in the command line:


[0324/201701:ERROR:browser_main_loop.cc(203)] Running without the SUID
sandbox! See
https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for
more information on developing with the sandbox on.
[0324/201701:ERROR:main_delegate.cc(764)] Could not load cef_extensions.pak
23:17:03.307 5 [playlist_be_pl4_context.cpp:70 ]
[spotify:user:wplagges:rootlist] Creating context
23:17:03.307 5 [playlist_be_pl4_context.cpp:70 ]
[spotify:user:wplagges:publishedrootlist] Creating context
23:17:03.397 I [dns.cpp:62 ] resolved
apresolve.spotify.com to 194.68.30.50
23:17:03.397 I [dns.cpp:62 ] resolved
apresolve.spotify.com to 194.68.29.53
23:17:03.397 I [dns.cpp:62 ] resolved
apresolve.spotify.com to 194.68.30.83
23:17:03.510 E [offline_key_store.cpp:85 ] Offline: failed to load
key stores, error: sync_error_offline_key_store_file_not_found (7007),
path: /home/wladimir/.cache/spotify/Users/wplagges-user/cached
23:17:03.533 D [gaia_manager.cpp:682 ] GAIA: TIMING(1163453)
GaiaManager::start, _service_status=kServiceStatusStopped
23:17:03.533 D [gaia_manager.cpp:1038 ] GAIA: TIMING(1163453)
GaiaManager::sendSubscribe
23:17:03.533 D [gaia_manager.cpp:344 ] GAIA:
GaiaManager::stateTransition,
kServiceStatusStopped->kServiceStatusInSubscribeTx
23:17:03.567 5 [playlist_be_pl4.cpp:542 ]
synchronizePlaylistContainer 'spotify:user:wplagges:publishedrootlist'
23:17:03.567 3 [playlist_be_pl4_context.cpp:305 ]
[spotify:user:wplagges:publishedrootlist] Synchronization starting: GET
(from revision 0,726f6f7400000000000000000000000000000000)
23:17:03.567 5 [playlist_be_pl4.cpp:542 ]
synchronizePlaylistContainer 'spotify:user:wplagges:rootlist'
23:17:03.568 3 [playlist_be_pl4_context.cpp:305 ]
[spotify:user:wplagges:rootlist] Synchronization starting: GET (from
revision 0,726f6f7400000000000000000000000000000000)
23:17:03.573 I [gaia_hermes_channel.cpp:116 ] GAIA:
GaiaHermesChannel::send, failed query response_code=38
23:17:03.574 5 [playlist_be_pl4_context.cpp:196 ]
[spotify:user:wplagges:publishedrootlist] 'GET' request complete
23:17:03.574 3 [playlist_be_pl4_context.cpp:489 ]
[spotify:user:wplagges:publishedrootlist] synchronization error: non
hermes error
23:17:03.575 3 [playlist_be_pl4_context.cpp:510 ]
[spotify:user:wplagges:publishedrootlist] - transient error, retrying.
23:17:03.575 5 [playlist_be_pl4_context.cpp:196 ]
[spotify:user:wplagges:rootlist] 'GET' request complete
23:17:03.575 3 [playlist_be_pl4_context.cpp:489 ]
[spotify:user:wplagges:rootlist] synchronization error: non hermes error
23:17:03.575 3 [playlist_be_pl4_context.cpp:510 ]
[spotify:user:wplagges:rootlist] - transient error, retrying.
23:17:03.746 I [ap_connection_impl.cpp:489 ] Connecting to AP
sjc1-accesspoint-a83.ap.spotify.com:4070
23:17:03.765 I [dns.cpp:62 ] resolved
sjc1-accesspoint-a83.ap.spotify.com to 194.68.29.84
23:17:03.932 I [ap_connection_impl.cpp:139 ] Connected to AP:
194.68.29.84:4070


Is there any other information that might be useful for debugging?

Thanks,
Wladimir


SUGGESTED POSTS