dtcooper / raspotify

A Spotify Connect client that mostly Just Works™

Home Page:https://dtcooper.github.io/raspotify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Raspotify service exits with code 127

NolanGarrett opened this issue · comments

Compatible OS

  • I'm running Raspotify on a compatible OS

Latest Version

  • I'm running the latest version of Raspotify

Due Diligence

  • I have done my due diligence

What happened?

After a conversion to the latest install package, I can not start raspotify as a service. As a binary, it appears to work fine.

I followed the instructions here: https://github.com/dtcooper/raspotify/wiki/Migration-from-older-versions-to-0.31.4-and-beyond

I have also attempted a manual apt purge raspotify and reinstall using the shell script, without luck. I continue to get a 127 exit code, but cannot identify where the issue lies.

Relevant log output

Dec 27 18:17:46 raspotify systemd[1]: Started Raspotify (Spotify Connect Client).
Dec 27 18:17:46 raspotify systemd[1]: raspotify.service: Main process exited, code=exited, status=127/n/a
Dec 27 18:17:46 raspotify systemd[1]: raspotify.service: Unit entered failed state.
Dec 27 18:17:46 raspotify systemd[1]: raspotify.service: Failed with result 'exit-code'.
Dec 27 18:17:56 raspotify systemd[1]: raspotify.service: Service hold-off time over, scheduling restart.
Dec 27 18:17:56 raspotify systemd[1]: Stopped Raspotify (Spotify Connect Client).
Dec 27 18:17:56 raspotify systemd[1]: Started Raspotify (Spotify Connect Client).
Dec 27 18:17:56 raspotify systemd[1]: raspotify.service: Main process exited, code=exited, status=127/n/a
Dec 27 18:17:56 raspotify systemd[1]: raspotify.service: Unit entered failed state.
Dec 27 18:17:56 raspotify systemd[1]: raspotify.service: Failed with result 'exit-code'.
Dec 27 18:18:06 raspotify systemd[1]: raspotify.service: Service hold-off time over, scheduling restart.
Dec 27 18:18:06 raspotify systemd[1]: Stopped Raspotify (Spotify Connect Client).
Dec 27 18:18:06 raspotify systemd[1]: Started Raspotify (Spotify Connect Client).
Dec 27 18:18:06 raspotify systemd[1]: raspotify.service: Main process exited, code=exited, status=127/n/a
Dec 27 18:18:06 raspotify systemd[1]: raspotify.service: Unit entered failed state.
Dec 27 18:18:06 raspotify systemd[1]: raspotify.service: Failed with result 'exit-code'.
Dec 27 18:18:16 raspotify systemd[1]: raspotify.service: Service hold-off time over, scheduling restart.
Dec 27 18:18:16 raspotify systemd[1]: Stopped Raspotify (Spotify Connect Client).
Dec 27 18:18:16 raspotify systemd[1]: Started Raspotify (Spotify Connect Client).
Dec 27 18:18:16 raspotify systemd[1]: raspotify.service: Main process exited, code=exited, status=127/n/a
Dec 27 18:18:17 raspotify systemd[1]: raspotify.service: Unit entered failed state.
Dec 27 18:18:17 raspotify systemd[1]: raspotify.service: Failed with result 'exit-code'.

My guess would be that you are not in fact running a compatible OS.

If you search "status=127" (Due Diligence) in the issues of this repo you will find that status=127 is the exit code that you would get if you're running on a system with an older incompatible systemd version.

Duplicate of #456, #467 and #481.

The OS referenced is unsupported.