I have used Balena CLI before to compile new versions of Screenly OSE but it is no longer working.
The build log can be found attached. Am I doing something wrong?
Thanks in advance for your support.
[Info] Building on arm06
[Info] Pulling previous images for caching purposes…
[Success] Successfully pulled cache images
[Info] Starting to build redis
[Info] Starting to build srly-ose-server
[Info] Starting to build srly-ose-viewer
[Info] Starting to build srly-ose-websocket
[Info] Starting to build srly-ose-celery
[Info] Starting to build srly-ose-nginx
[Success] Successfully built service redis
[Success] Successfully built service srly-ose-nginx
[Success] Successfully built service srly-ose-viewer
[Info] Uploading images
[Success] Successfully uploaded images
[Error] Some services failed to build:
[Error] Service: srly-ose-server
[Error] Error: The command ‘/bin/sh -c pip install --no-cache-dir -r /tmp/requirements.txt’ returned a non-zero code: 1
[Error] Service: srly-ose-websocket
[Error] Error: The command ‘/bin/sh -c pip install --no-cache-dir -r /tmp/requirements.txt’ returned a non-zero code: 1
[Error] Service: srly-ose-celery
[Error] Error: The command ‘/bin/sh -c pip install --no-cache-dir -r /tmp/requirements.txt’ returned a non-zero code: 1
[Info] Built on arm06
[Error] Not deploying release.
Hey there, thanks for the fast reply. I had seen this issue, but it didn’t seem entirely the same as I have 3 failing services (server, websocket and celery) and the article mentions two (server and celery). I have however tried the suggested fix but it didn’t do any good for me.
Im using the most recent balena OS 64bit (balena-cloud-Cantina-raspberrypi4-64-2.101.7+rev2-v14.0.13.img) on raspberry pi 4B - 4GB.
I am however seeing this issue when trying to compile Screenly OSE through Balena CLI on my Windows laptop. Not sure if the Balena OS version has a role in this but if I need to change or try something else, I’m open for suggestions
Hey all, have you perhaps had the chance to look into this? I would love to get it up and running by the end of the week. If not I will have to look for an alternative to Screenly OSE and that would mean extra work for switching the devices already up and running to that new solution as well.
Hi Luc,
I was reading though your last messages and some questions came to mind:
Did you update your balena-cli to the latest version? It is always a good practice,
You mention you are running on a Windows laptop, did your previous successful bulids also come from a windows machine? Case sensitivity is not supported by Windows filesystem and can trip you in multiple ways.
You can also check your Dockerfiles and see if the base images you are using are not outdated OS versions (I got this happening this morning here where the base image was an outdated Debian Stretch).