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 241 forks source link

Getting # Fatal error in , line 0 FailureMessage Object: 0x7ed8c4fc when trying to upgrade to latest version #445

Closed gagy2 closed 2 years ago

gagy2 commented 2 years ago

Current Situation

Hi, I've been running Homebridge via the oznu/[docker-homebridge] (Awesome by the way, excellent work). since it's early days On a Raspberry Pi 3. Just upgraded to the latest version this morning: docker-compose pull homebridge docker-compose up -d

And Homebridge did not come back up. I noticed in the logs the following:

I tried rebooting and updating again but keeps going in the same error loop. Any idea what could of caused that. usually upgrading this way works like a charm. Thanks in advance

Docker Config

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

Logs

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
homebridge_1  | [s6-init] ensuring user provided files have correct perms...exited 0.
homebridge_1  | [fix-attrs.d] applying ownership & permissions fixes...
homebridge_1  | [fix-attrs.d] done.
homebridge_1  | [cont-init.d] executing container initialization scripts...
homebridge_1  | [cont-init.d] 10-adduser: executing... 
homebridge_1  | 
homebridge_1  | -------------------------------------
homebridge_1  | GID/UID
homebridge_1  | -------------------------------------
homebridge_1  | User uid:    1000
homebridge_1  | User gid:    1000
homebridge_1  | -------------------------------------
homebridge_1  | 
homebridge_1  | [cont-init.d] 10-adduser: exited 0.
homebridge_1  | [cont-init.d] 20-set-timezone: executing... 
homebridge_1  | [cont-init.d] 20-set-timezone: exited 0.
homebridge_1  | [cont-init.d] 30-packages: executing... 
homebridge_1  | [cont-init.d] 30-packages: exited 0.
homebridge_1  | [cont-init.d] 40-dbus-avahi: executing... 
homebridge_1  | [cont-init.d] 40-dbus-avahi: exited 0.
homebridge_1  | [cont-init.d] 45-user-data: executing... 
homebridge_1  | [cont-init.d] 45-user-data: exited 0.
homebridge_1  | [cont-init.d] 50-plugins: executing... 
homebridge_1  | 
homebridge_1  | 
homebridge_1  |     Thank you for using the oznu/homebridge docker image!
homebridge_1  | 
homebridge_1  |   If you find this project useful please STAR it on GitHub:
homebridge_1  | 
homebridge_1  |          https://github.com/oznu/docker-homebridge
homebridge_1  | 
homebridge_1  |                 Or donate to the project:
homebridge_1  | 
homebridge_1  |             https://github.com/sponsors/oznu
homebridge_1  |                   https://paypal.me/oznu
homebridge_1  | 
homebridge_1  | Homebridge: Installing plugins...
homebridge_1  | 
homebridge_1  | 
homebridge_1  | #
homebridge_1  | # Fatal error in , line 0
homebridge_1  | # unreachable code
homebridge_1  | #
homebridge_1  | #
homebridge_1  | #
homebridge_1  | #FailureMessage Object: 0x7ed8c4fc
homebridge_1  | Trace/breakpoint trap (core dumped)
homebridge_1  | 
homebridge_1  | 
homebridge_1  | #
homebridge_1  | # Fatal error in , line 0
homebridge_1  | # unreachable code
homebridge_1  | #
homebridge_1  | #
homebridge_1  | #
homebridge_1  | #FailureMessage Object: 0x7ed984dc
homebridge_1  | Trace/breakpoint trap (core dumped)
homebridge_1  | [cont-init.d] 50-plugins: exited 0.
homebridge_1  | [cont-init.d] 55-config-ui: executing... 
homebridge_1  | Enabling homebridge-config-ui-x...
homebridge_1  | [cont-init.d] 55-config-ui: exited 0.
homebridge_1  | [cont-init.d] done.
homebridge_1  | [services.d] starting services
homebridge_1  | Starting cron
homebridge_1  | [services.d] done.
homebridge_1  | 
homebridge_1  |   If you find this project useful please STAR it on GitHub:
homebridge_1  | 
homebridge_1  |          https://github.com/oznu/docker-homebridge
homebridge_1  | 
homebridge_1  |                 Or donate to the project:
homebridge_1  | 
homebridge_1  |             https://github.com/sponsors/oznu
homebridge_1  |                   https://paypal.me/oznu
homebridge_1  |

Host Operating System

Raspberry Pi OS / Raspbian

Host Architecture

armv7l

oznu commented 2 years ago

See https://github.com/oznu/docker-homebridge#2-container-will-not-start-on-older-versions-of-raspbian

What version of Raspbian are you running?

gagy2 commented 2 years ago

Thanks, I'll look into the link provided. I have version:

PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=raspbian ID_LIKE=debian

I think I just found the issue by trying to rollback... disk is full ;( This would explain why I'm seeing weird errors.

Filesystem Size Used Avail Use% Mounted on /dev/root 15G 15G 0 100% /

Will replace and start back fresh Sorry for that.

oznu commented 2 years ago

This may clean up old images and free some disk space:

docker system prune -f
gagy2 commented 2 years ago

Total reclaimed space: 4.643GB thanks for this.

Still getting the same error after rebooting and trying to get latest image. Wll do more testing tomorrow. But the space was probably the cause of all this.

Thanks again!

theg1nger commented 2 years ago

Just pulled the latest docker image today. Seeing this same error. Raspi3 running Debian 10 Buster. Docker version 20.10.13, build a224086 docker-compose version 1.29.2, build unknown

homebridge    | Homebridge: Installing plugins...
homebridge    |
homebridge    |
homebridge    | #
homebridge    | # Fatal error in , line 0
homebridge    | # unreachable code
homebridge    | #
homebridge    | #
homebridge    | #
homebridge    | #FailureMessage Object: 0x7e8cb4fc
homebridge    | Trace/breakpoint trap (core dumped)
homebridge    |
homebridge    |
homebridge    | #
homebridge    | # Fatal error in , line 0
homebridge    | # unreachable code
homebridge    | #
homebridge    | #
homebridge    | #
homebridge    | #FailureMessage Object: 0x7eef44dc
homebridge    | Trace/breakpoint trap (core dumped)
homebridge    | [cont-init.d] 50-plugins: exited 0.
homebridge    | [cont-init.d] 55-config-ui: executing...
homebridge    | Enabling homebridge-config-ui-x...
homebridge    | [cont-init.d] 55-config-ui: exited 0.
homebridge    | [cont-init.d] done.
homebridge    | [services.d] starting services
homebridge    | Starting cron
homebridge    |
homebridge    |   If you find this project useful please STAR it on GitHub:
homebridge    |
homebridge    |          https://github.com/oznu/docker-homebridge
homebridge    |
homebridge    |                 Or donate to the project:
homebridge    |
homebridge    |             https://github.com/sponsors/oznu
homebridge    |                   https://paypal.me/oznu

docker system prune -f but had plenty of space already:

Filesystem      Size  Used Avail Use% Mounted on
/dev/root        29G  2.6G   26G  10% /
oznu commented 2 years ago

See https://github.com/oznu/docker-homebridge#2-container-will-not-start-on-older-versions-of-raspbian

theg1nger commented 2 years ago

See https://github.com/oznu/docker-homebridge#2-container-will-not-start-on-older-versions-of-raspbian

I should have read your comment above mentioning the same exact thing. Upgraded to Bullseye from Buster and things are up and running again. Thanks!