21 questions
0
votes
0
answers
38
views
What could cause tsc to output to a different directory on different platforms?
WebThings Gateway is an open source IoT application with the following tsconfig.json:
{
"compilerOptions": {
"target": "es2018",
"module": "...
0
votes
0
answers
66
views
Firefox remote debugger does not connect over balena tunnel
When trying to Remote Debug Firefox over Balena tunnel, it seems like the tunnel does not receive any connections.
Note: We've implemented VNC already and this will connect over the tunnel.
We are ...
0
votes
0
answers
35
views
Balena Cloud API - Is there an OpenAPI description available?
When using Balena Cloud API, how can one know what resources or API endpoints are available? I would need a typed HTTP client for accessing Balena Cloud API, but I am unable to find any API ...
0
votes
0
answers
153
views
How to get GPIO in /sys/class in Docker image?
I am using Windows Docker Desktop where I used VSCode to created DocekrFile as a trial which uses the following code:
FROM balenalib/beaglebone-black-debian:buster
CMD ["/bin/bash"]
...
3
votes
1
answer
15k
views
ERROR: Could not build wheels for netifaces, which is required to install pyproject.toml-based projects
I am trying to deploy some code onto a remote Raspberry Pi CM4 hub running BalenaOS. However, my build has been failing while trying to install the netifaces library. The error message is as follows:
...
0
votes
1
answer
467
views
dd is writing my image wrong resulting in kernel panic
I'm using dd to flash my buildroot image to an eMMC of my SBC. eMMC is connected as mass storage. The image is created with genimage and have some 'holes' in it.
genimage.cfg
image sdcard.img {
...
0
votes
1
answer
56
views
Balena API device registration returns "API key must be used for registering"
When attempting to register a new device via the /device/register endpoint the error message "API key must be used for registering" is returned.
0
votes
0
answers
36
views
Curl container command into c#
I'm trying to pass the following restart command that will run in a container, into a C# command, but I'm not sure how to do it, help please:
curl --header "Content-Type:application/json" &...
0
votes
0
answers
720
views
Grpc server and client work locally but not on different containers python - StatusCode.UNAVAILABLE
I have a client grpc and a server grpc that when I run them with python on my laptop, work and comminute, however whenever I upload the code into balena (linux cloud), I get an error:
verStatus failed:...
1
vote
3
answers
231
views
Balena-Enginer (docker) error while copying file to container
I have created a balena-engine container.
ID of the container is fa2c14de228d.
When I am copying a file, say some text file from host to a container with id fa2c14de228d,
I am having the following ...
0
votes
1
answer
464
views
BalenaOS use Raspberry Pi Compute Module 4 IO board's Real-Time Clock inside container
I'm trying to use the CM4 IO board's Real-Time Clock (RTC) to persist datetime changes from within a docker container, so whenever the device reboots, it remembers the newly set datetime. (By default ...
0
votes
0
answers
64
views
Is HTTPS secure if I always send the same message?
I set up a Raspberry Pi to communicate with balena.io. In the Balena dashboard, I activated the public URL for my device. The Raspberry Pi is running nodejs and listens on port 80 for a post request. ...
1
vote
1
answer
447
views
Python ctypes can not locat existing lib in Docker on Balena
I am trying to bind a compiled C-library to my python code with ctypes. I have compiled my library and it works well on my desktop.
However, when I try to run the same code on the Balena platform in a ...
1
vote
1
answer
274
views
Issues with installing librealsense with Balena. Unable to locate file after make install?
I've been trying to setup librealsense on my Raspberry Pi4 using Balena. My docker file looks like:
FROM balenalib/raspberrypi3-ubuntu:xenial-build
RUN sudo apt-get update && sudo apt-get ...
0
votes
1
answer
290
views
Building with balena-cli (balena build) on travis-ci
I’ve been trying to setup a CI environment on travis for my balena builds. I’ve managed to install balena-cli in travis’ environment, but cannot seem to build with a qemu environment. I’m getting this ...
1
vote
0
answers
365
views
Populating and versioning docker named volume, used as persistent storage with balena.io
I have a collection of binary files, which need to be shared by 2 services specified in docker-compose. I need the data to persist on the host OS, but I also need to update it once in a while with new ...
1
vote
1
answer
259
views
How can I know which Debian libraries Electron needs to run?
What I'm doing
I'm building an Electron-based kiosk app using Balena to run on a Raspberry Pi 4. Balena requires a Dockerfile to build the container that will run my app. In that Dockerfile, I must ...
0
votes
1
answer
682
views
How to install tensorflow or tensorflow-lite on raspberry Pi4?
I have a raspberry Pi4 containning ubuntu 18.04. My ubuntu has been installed from a dockerfile and push thanks to balena OS in my raspberry.
Then I tried to install tensorflow for openvino project on ...
3
votes
2
answers
30k
views
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-xtrlkujj/pyaudio/
I am trying to balena push a Dockerfile. After several adjustments of my code, it still comes with error and unable to be pushed. My code is shown:
FROM balenalib/fincm3-debian-python:latest
# RUN ...
-1
votes
3
answers
6k
views
Run install python packages on Dockerfile
I'm new to Docker and currently trying to create a Dockerfile with installing the python packages and its libraries as shown here:
FROM balenalib/fincm3-debian-python:latest
# RUN install_packages ...
0
votes
1
answer
1k
views
How do I create VMware or VirtualBox virtual machine from Balena app image?
Given a Balena app that can be downloaded as an image and flashed to a device using a USB stick, how can it be used to create a virtual machine? The idea is that it could be distributed to others as ...