Unable to push Screenly via CLI - file size is greater than possible Buffer: 0x7fffffff bytes

Hi all,

I’m brand new to Balena so trying to have a play with the services and came across the below blog which sounded like it could fulfill a project need quite nicely - https://www.balena.io/blog/deploy-free-digital-signage-software-screenly-ose/

However when trying to push the Screenly ISO obtained from Github (https://github.com/Screenly/screenly-ose/releases) I get the following error message:

File size is greater than possible Buffer: 0x7fffffff bytes

Additional information may be available by setting a DEBUG=1 environment
variable: “set DEBUG=1” on a Windows command prompt, or “export DEBUG=1”
on Linux or macOS.

If you need help, don’t hesitate in contacting our support forums at

For CLI bug reports or feature requests, have a look at the GitHub issues or
create a new one at: https://github.com/balena-io/balena-cli/issues/

The ISO file size is - 2.17GB, so is that past the size limit allowed for uploads or am I doing something completely wrong? As mentioned I’m pretty fresh with this stuff so when it says setting a DEBUG=1 environment, I’m not exactly sure how to do that, so if someone could point me in the direction of how to do that as well that would be great.

I am going to try and git push the file locally tonight if i get chance and see if my fortune improves but I figured it would be good to find out why this isn’t working as it makes no reference of it being an issue in the blog.


I was using the Balena CLI in Powershell on a Windows10 machine with a Rasp Pi 3B+ device.

To add on to this, trying to use balena push in local mode produces the same error:

Hi there, welcome to balena!

Everyone has to start somewhere, so no worries about being “fresh” :). The reason that is failing is due to what you are trying to push to balena. Normally, you push your source code and either a Dockerfile or a docker-compose together with it, but it sounds like you are trying to push a build of Screenly.

I would suggest following this blog post: https://www.balena.io/blog/deploy-free-digital-signage-software-screenly-ose/ as it does exactly what you are trying to achieve. Let us know if you get stuck somewhere, and we can help you out.

Have a nice day!

Hey, yeah you’re right i was being obtuse. Managed to wake myself up and am currently pushing the correct code files instead - Here’s hoping it’s a smooth install.

Thanks for the reply, appreciate it.


No worries :wink: