Four months back, I was able to push files for a Raspi video server out to the device from the dos prompts. I was just completing the “Balena Push” from dos, and it was working.
It’s fighting me now. I don’t know what I’m doing wrong.
The snag I ran into, was during the weekend. I think, possibly, I did a screen capture of that, that day. I have to get set up to figure those details out. That may take a day, or a few days. I’ll try to re-set up the cam provisioning as soon as possible.Things are busy.
In attempting Balena Push, I set the debug to 1 (as per instructions). This is the error data I got:
Missing applicationOrDevice
Error: Missing applicationOrDevice
at C:\Program Files\balena-cli\client\node_modules\capitano\build\signature.js:150:29
at C:\Program Files\balena-cli\client\node_modules\capitano\node_modules\async\lib\async.js:181:20
at Immediate.iterate (C:\Program Files\balena-cli\client\node_modules\capitano\node_modules\async\lib\async.js:262:13)
at runCallback (timers.js:810:20)
at tryOnImmediate (timers.js:768:5)
at processImmediate [as _immediateCallback] (timers.js:745:5)
From previous event:
at runCommand (C:\Program Files\balena-cli\client\build\app-capitano.js:181:14)
at Object.exports.run (C:\Program Files\balena-cli\client\build\app-capitano.js:193:39)
at routeCliFramework (C:\Program Files\balena-cli\client\build\preparser.js:39:79)
at
at process._tickCallback (internal/process/next_tick.js:189:7)
at Function.Module.runMain (module.js:696:11)
at startup (bootstrap_node.js:204:16)
at bootstrap_node.js:625:3
Hi, it would help us out a lot if you could also paste the command you are trying to run here. From the error message it sounds like you’re missing the application name of device uuid from the command
One can install the balena-cam files into the dos directories. The base names of directories is something like “balena-cam-master”. Potentially, the name of the file that will be included in the balena push command is in that “balena-cam-master” structure somewhere, but I don’t know which one it is, and it might have a file type (like .yml, or whatever) associated with it, but I don’t know which file (or type) it is. Is there a specific file name to be included with the balena push command?
It was difficult to remember what the “application” was (it’s been a few months). Finally, it dawned on me where to look for the application name, and it fully worked. The upload went off without a hitch. I still have to try the web link, but everything seems to work. Thanks for the help. I’ll check back should there be more questions. Thanks.
There is an “error readout” in my most previous email. Does anyone see what’s wrong with that attempted push / provisioning? It’s not operating correctly. ??
Hi Brian, it seems like there might be an issue in the balenaCam repository, did you make any changes to that project or are you just pushing the master branch of that project? Also can detail what configuration variables you have set on your device?
There were three gpu_mem variables set up early on prior to provisioning the device (I could paste them here in detail if needed – when I’m at my laptop). These variables (and values) were set up in the tutorial available on YouTube.
It seems like the other question wanted to find out where (what portion) of the dos-sub-tree I performed the balena push from. The balena-cam portion of the dos “tree” having something of it’s own “trunk” so to speak, is where I “balena pushed” from. Do I need to be farther out on the “branches” of the “balena-cam-master” portion of this overall tree? I hope I’m making sense.
Hello Wayne,
I can’t really make sense of your last message.
Please explain what you mean by “dos tree” or “farther out on the branches”.
You should have a folder where you have your application code, named “balena-cam-master” most probably according to your messages.
You need to be in that directory. From there type balena push <name of your application>.
There were issues recently with some python scripts, or a python version, which was creating problems in trying to provision the Balena Video System to a Raspberry Pi. Does anyone know if there’s been a fix for that? I don’t need the video to work, positively right away, but perhaps there’s been some progress?