DewGew/Domoticz-Google-Assistant

exec /usr/local/bin/python3: exec format error

MikeZMssl opened this issue · 2 comments

Describe the bug:
I am trying to use your tool, but cannot seems to get the container running
I have a raspberry PI 4B running on ubuntu, and am trying to start the container using docker-compase.yml

However, the container seems not to be created
Would prefer to use the docker-compose.yml and not the git-clone option ?

docker ps : Restarting (1) 7 seconds ago
docker logs DZGA :
exec /usr/local/bin/python3: exec format error
exec /usr/local/bin/python3: exec format error
exec /usr/local/bin/python3: exec format error
exec /usr/local/bin/python3: exec format error
exec /usr/local/bin/python3: exec format error
exec /usr/local/bin/python3: exec format error
exec /usr/local/bin/python3: exec format error
exec /usr/local/bin/python3: exec format error
exec /usr/local/bin/python3: exec format error
exec /usr/local/bin/python3: exec format error
exec /usr/local/bin/python3: exec format error
exec /usr/local/bin/python3: exec format error
exec /usr/local/bin/python3: exec format error
exec /usr/local/bin/python3: exec format error
exec /usr/local/bin/python3: exec format error
exec /usr/local/bin/python3: exec format error
exec /usr/local/bin/python3: exec format error
exec /usr/local/bin/python3: exec format error
exec /usr/local/bin/python3: exec format error
exec /usr/local/bin/python3: exec format error
exec /usr/local/bin/python3: exec format error
exec /usr/local/bin/python3: exec format error
exec /usr/local/bin/python3: exec format error
exec /usr/local/bin/python3: exec format error

My configutation (have tried 2 different approaches) (the version and service part are included in top of file ; the yml file is used to create multuple containers) :

dz-googleassistant:
image: dewgew/domoticz-google-assistant
container_name: DZGA
environment:
- PUID=1000
- PGID=1000
- TZ=${TZ}
ports:
- 3030:3030
volumes:
- ./Domoticz-Google-Assistant/config:/config
restart: unless-stopped

dz-googleassistant:
image: dewgew/domoticz-google-assistant
container_name: DZGA
environment:
- PUID=1000
- PGID=1000
ports:
- 3030:3030
volumes:
- ./Domoticz-Google-Assistant/config:/config
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
restart: unless-stopped

Expected behavior:
A running container

Logs:
exec /usr/local/bin/python3: exec format error

Paste the dzga logs here.
not running

**Desktop (please complete the following information):**
 - Domoticz version <2023 2 build 19efd039c>
 - Dzga version <image dewgez/domoticz-google-assistant>
 - Python Version <within container ; not starting >

**Smartphone (please complete the following information):**
 - Device: <!-- e.g. iPhone6 -->

**Additional context, screenshot:**  
<!-- Add any other context or screenshot about the problem here. -->
DewGew commented

try:

cd /home/${USER}
git clone https://github.com/DewGew/Domoticz-Google-Assistant -b master --single-branch
docker-compose -f /home/${USER}/Domoticz-Google-Assistant/docker-compose.yaml up -d

or:

docker pull dewgew/domoticz-google-assistant

or:

docker pull ghcr.io/dewgew/domoticz-google-assistant:latest

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days