balena-io-experimental / balena-sound

Build a single or multi-room streamer for an existing audio device using a Raspberry Pi! Supports Bluetooth, Airplay and Spotify Connect
https://balena.io/blog/turn-your-old-speakers-or-hi-fi-into-bluetooth-receivers-using-only-a-raspberry-pi/
MIT License
2.43k stars 430 forks source link

Remote build failed during CLI deploy #462

Closed eiddor closed 3 years ago

eiddor commented 3 years ago

Describe the problem

While deploying balenaSound with a CLI deploy, I get a "Remote build failed" message at the end.

To Reproduce Steps to reproduce the behavior:

Deploy fresh copy of the repo with balena push <username>/<appname>

Expected behavior

A successful deployment.

Screenshots

Output from command:

[Info]              Generating image deltas from release 09a0b6d0128bb157e9d764acbd56a107 (id: 1821106)
[Warning]           Failed to generate deltas due to an internal error; will be generated on-demand
[Info]              Uploading images
[Success]           Successfully uploaded images
[Error]             Error:: It is necessary that each release that has a release version1 and has a status that is equal to "success" and is not invalidated, belongs to an application that owns exactly one release that has a release version2 that is equal to the release version1 and has a status that is equal to "success" and is not invalidated.
[Info]              Built on arm05
[Success]           Release successfully created!
[Info]              Release: 662319d94469fb43fddd795ae7bea246 (id: 1821312)
[Info]              ┌──────────────────┬────────────┬────────────┐
[Info]              │ Service          │ Image Size │ Build Time │
[Info]              ├──────────────────┼────────────┼────────────┤
[Info]              │ audio            │ 86.59 MB   │ 6 seconds  │
[Info]              ├──────────────────┼────────────┼────────────┤
[Info]              │ sound-supervisor │ 210.81 MB  │ 6 seconds  │
[Info]              ├──────────────────┼────────────┼────────────┤
[Info]              │ multiroom-server │ 300.92 MB  │ 6 seconds  │
[Info]              ├──────────────────┼────────────┼────────────┤
[Info]              │ multiroom-client │ 297.45 MB  │ 4 seconds  │
[Info]              ├──────────────────┼────────────┼────────────┤
[Info]              │ logging          │ 80.79 MB   │ 9 seconds  │
[Info]              ├──────────────────┼────────────┼────────────┤
[Info]              │ bluetooth        │ 238.77 MB  │ 4 seconds  │
[Info]              ├──────────────────┼────────────┼────────────┤
[Info]              │ airplay          │ 206.87 MB  │ 5 seconds  │
[Info]              ├──────────────────┼────────────┼────────────┤
[Info]              │ spotify          │ 308.96 MB  │ 3 seconds  │
[Info]              └──────────────────┴────────────┴────────────┘
[Info]              Build finished in 3 minutes, 50 seconds

Remote build failed

Device information

Additional context Add any other context about the problem here.

eiddor commented 3 years ago

Probably related to this: https://forums.balena.io/t/strange-error-when-doing-push/266395

Testing now.

eiddor commented 3 years ago

Fixed by bumping version in balena.yml