Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Container doesn't work #1

Open
hrsteffen opened this issue Jan 4, 2023 · 8 comments
Open

Docker Container doesn't work #1

hrsteffen opened this issue Jan 4, 2023 · 8 comments

Comments

@hrsteffen
Copy link

Hi,

first, thanks for sharing your project.
I tried ro install it for getting some information of my nbw pheonix pellet burner.
After starting the docker container i recieve the following log:
standard_init_linux.go:219: exec user process caused: exec format error

My docker compose looks like this

version: '3.0'
services:
    nbe:
        container_name: nbe
        image: nulldevil/nbe:aarch64
        hostname: nbe
        restart: unless-stopped
        environment:
           NBE_SERIAL: "xxx"
           NBE_IP: "192.168.0.xxx"
           NBE_PORT: "8483"
           NBE_PASS: "xxx"
           MQTT_IP: "192.168.0xxx"
           MQTT_PORT: "1883"
           MQTT_USER: "user"
           MQTT_PASS: "password"
           MQTT_CLIENT_NAME: "pellet-burner"
           REFRESH_RATE: 10
           DEBUG: 1
           HA_PREFIX: "homeassistant"

TRUE for debug didn't work, so i replaced it with 1.

Any ideas what causes the problem?

br from germany,

Steffen

@e1z0
Copy link
Owner

e1z0 commented Jan 4, 2023

Hi, the default architecture for docker container was ARM x64, now i've switched it to Intel x86_64 and committed changes, the new image is already built and pushed with support for x86_64 also. Update your downloaded repository with git pull command and make up should work just fine!

@hrsteffen
Copy link
Author

Hi,

thank you for the quick response. Unfortunately it still doesn't work with the same error. I'm runnning docker on a raspi 4. Mosquitto and HA are running on the same pi.

br

@e1z0
Copy link
Owner

e1z0 commented Jan 4, 2023

Well, the images are built only for x86_64 and aarch64 architectures. For ARM x64 you should run make up_aarch64. ARM 32bit is currently is not supported. But you can build images by yourself. There are the commands for this task:

docker build -t nbe:arm32 -f docker/Dockerfile --no-cache=true .
COMPOSE_PROJECT_NAME=nbe COMPOSE_IGNORE_ORPHANS=True docker-compose -f docker-compose.yml up -d

Make sure you replaced nulldevil/nbe:latest with nbe:arm32 in docker-compose.yml before running it.

@elvis7
Copy link

elvis7 commented Oct 30, 2023

Does this still work? I get error "Unable to query nbe for this time..."
Also checked the port and noticed that it's closed.

@e1z0
Copy link
Owner

e1z0 commented Oct 31, 2023

Hi, make sure you have compatible NBE model.

@elvis7
Copy link

elvis7 commented Oct 31, 2023 via email

@elvis7
Copy link

elvis7 commented Nov 1, 2023

My BS+ says, controller version 16.0000.319
Maybe they closed or changed the port on the new controler version?

@MadsALarsen
Copy link

For me i had to put (debug: "true" ) then it worked for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants