"Not Deploying Release"

Hi Everyone!
New here. Really like the platform, however getting a little lost on this one:

[Info] Starting build for Multi-Room, user gh_smegoff
[Info] Dashboard link: balena dashboard
[Info] Building on x64_01
[Info] Pulling previous images for caching purposes…
[Success] Successfully pulled cache images
[Info] Starting to build multiroom-client
[Info] Starting to build bluetooth
[Info] Starting to build upnp
[Info] Starting to build audio
[Info] Starting to build airplay
[Info] Starting to build spotify
[Info] Starting to build multiroom-server
[Info] Starting to build sound-supervisor
[Success] Successfully built service upnp
[Success] Successfully built service multiroom-client
[Success] Successfully built service audio
[Success] Successfully built service bluetooth
[Success] Successfully built service airplay
[Success] Successfully built service multiroom-server
[Success] Successfully built service sound-supervisor
[Info] Uploading images
[Success] Successfully uploaded images
[Error] Some services failed to build:
[Error] Service: spotify
[Error] Error: The command ‘/bin/sh -c curl -sSL https://dtcooper.github.io/raspotify/key.asc | apt-key add -v - 2> /dev/null && echo ‘deb https://dtcooper.github.io/raspotify jessie main’ | tee /etc/apt/sources.list.d/raspotify.list && install_packages raspotify’ returned a non-zero code: 100
[Info] Built on x64_01
[Error] Not deploying release.

It doesnt seem to be a network issue getting to to the raspotify repo, as I can browse it fine.

I suspect it could be that I am attempting to run this up on a NUC. I have tried both the NUC specific build and the generic X86_64 OS builds.

Any pointers?

Welcome to the forums,

Could you give us more context about what are you trying to do and what errors do you see?
Also, it will be a good idea if you grant us support access to take a closer look art your device.

Hi There,

I am attemping to push the Balena-Sound release to my device.

I have tried via the One Click Deploy and the Balena CLI method, which I have used to do Pi-Hole on a rPi recently.

I have granted support access to the device. What further information do you need to get access?

Many thanks!

Sean

Also, the only errors are the end of the output I pasted above, and the failure notification seen in the console.

I removed the Application and device and did it from scratch.
Manually created an application called Music and pushed out the Hello World example OK via Balena CLI. Tried again with the Balena Sound project, and it fails.

Always at the spotify service.

Step 1/6 : FROM balenalib/intel-nuc-debian:buster
—> 928a9b4aaffe
Step 2/6 : RUN curl -sSL https://dtcooper.github.io/raspotify/key.asc | apt-key add -v - 2> /dev/null && echo ‘deb https://dtcooper.github.io/raspotify jessie main’ | tee /etc/apt/sources.list.d/raspotify.list && install_packages raspotify
—> Running in 38a528d43016
Here are a few details about this Docker image (For more information please visit Balena base images - Balena Documentation):
Architecture: Intel 64-bit (x86-64)
OS: Debian Buster
Variant: run variant
Default variable(s): UDEV=off
Extra features:

  • Easy way to install packages with install_packages <package-name> command
  • Run anywhere with cross-build feature (for ARM only)
  • Keep the container idling with balena-idle command
  • Show base image details with balena-info command
    OK
    deb https://dtcooper.github.io/raspotify jessie main
    Reading package lists…
    Building dependency tree…
    Reading state information…
    E: Unable to locate package raspotify

apt failed, retrying
Reading package lists…
Building dependency tree…
Reading state information…
E: Unable to locate package raspotify

apt failed, retrying
Reading package lists…
Building dependency tree…
Reading state information…
E: Unable to locate package raspotify

Removing intermediate container 38a528d43016
The command ‘/bin/sh -c curl -sSL https://dtcooper.github.io/raspotify/key.asc | apt-key add -v - 2> /dev/null && echo ‘deb https://dtcooper.github.io/raspotify jessie main’ | tee /etc/apt/sources.list.d/raspotify.list && install_packages raspotify’ returned a non-zero code: 100

Safe to assume this is the issue?

root@localhost:~# curl -sL https://dtcooper.github.io/raspotify/install.sh | sh
Raspotify installer only runs on a Raspberry Pi

Hey there, the raspotify package is only available for RPIs, here’s the same issue: Doesn't compile for x86 · Issue #325 · balenalabs/balena-sound · GitHub. I think you can just comment it out and see if it builds successfully

Hi and thank for the reply.

I am using the Intel NUC image on an Intel NUC. (BOXNUC7i7BNH), which is in the supported list, and also said to be supported in the GitHub issue you referred to.

Could you point me to the file I need to edit to comment out the raspotify line?

So close… :slight_smile:

found it. I commented out all the Spotify lines in the docker-compose.yml file.

OK - it compiles and runs without the spotify service. Shame, as thats 50% of the reason for using it.

Hopefully it can be sorted soon :slight_smile:

Seems LibreSpot is the logical choice.
Now to get it running in this environment!

@smegoff glad to hear at least that the rest of the build is functional… please update this thread if you’re able to get LibreSpot working as it sounds like others would benefit from it as well. :+1: