homebridge / docker-homebridge

Homebridge Docker. HomeKit support for the impatient using Docker on x86_64, Raspberry Pi (armhf) and ARM64. Includes ffmpeg + libfdk-aac.
https://hub.docker.com/r/homebridge/homebridge/
GNU General Public License v3.0
2.57k stars 240 forks source link

Portainer on Raspberrypi pulling ancient HB version #496

Closed DerekSeaman closed 1 year ago

DerekSeaman commented 1 year ago

Current Situation

I'm using Portainer on a RPi 4, and it's pulling an ancient version of HB. Specifically, HB 1.4.1 and Node.js v16.15.

Docker Config

version: '2'
services:
  homebridge:
    image: oznu/homebridge:raspberry-pi
    container_name: homebridge
    restart: always
    network_mode: host
    environment:
      - TZ=America/Los_Angeles
      - PGID=1000
      - PUID=1000
      - HOMEBRIDGE_CONFIG_UI=1
      - HOMEBRIDGE_CONFIG_UI_PORT=8581
    volumes:
      - ./homebridge:/homebridge

Logs

No response

Host Operating System

Raspberry Pi OS - Latest

Host Architecture

aarch64 / arm64

owenselles commented 1 year ago

Try this: `version: '3' services: homebridge: image: oznu/homebridge:ubuntu container_name: homebridge restart: always network_mode: host environment:

DerekSeaman commented 1 year ago

@owenselles Thanks....I finally got a (partial) HB instance up with modern versions. However, I'm seeing this in the logs and HB itself isn't installing:

I'm trying to get HB running in Portainer on my RPI4 and in the logs I see this:

npm ERR! code EHOSTUNREACH npm ERR! syscall connect npm ERR! errno EHOSTUNREACH npm ERR! request to https://registry.npmjs.org/homebridge failed, reason: connect EHOSTUNREACH 2606:4700::6810:1a23:443

The HB interface eventually comes up, but HB is not installed.

DerekSeaman commented 1 year ago

solved.