3cky / mbusd

Open-source Modbus TCP to Modbus RTU (RS-232/485) gateway.
BSD 3-Clause "New" or "Revised" License
565 stars 216 forks source link

usr/bin/mbusd: line 1: syntax error: unexpected "(" when running docker #105

Open rjulius23 opened 5 months ago

rjulius23 commented 5 months ago

Hi,

I am running the docker container with the following config:

    mbusd:
      init: true
      image: 3cky/mbusd:latest
      container_name: mbusd
      volumes:
        - ./mbusd.conf:/etc/mbusd.conf
      restart: always
      privileged: true
#      # To expose devices such as Z-wave receiver.. etc
      devices:
        - /dev/ttyUSB0:/dev/ttyUSB0
      ports:
        - "8091:502"
      restart: always
      labels:
        - "com.yabune.home.component=core"

It gives the following error:

mbusd is up-to-date Attaching to mbusd mbusd | /usr/bin/mbusd: line 1: syntax error: unexpected "("

Any ideas ?

It is running on a Raspberry 4 with SSD