Closed ekobres closed 1 year ago
Doing the same with 1.60 now - I was assuming the container version just hasn't updated to 1.5.1 or 1.6.0 yet as there's nothing in the release logs to say it has.
I have started the container with a clean data directory that gets mapped to /homebridge. After this, it run with version 1.6.0:
[1/22/2023, 7:20:13 PM] [HB Supervisor] Homebridge Config Path: /var/lib/homebridge/config.json
[1/22/2023, 7:20:13 PM] [HB Supervisor] Logging to /var/lib/homebridge/homebridge.log
[1/22/2023, 7:20:13 PM] [HB Supervisor] OS: Linux 5.15.32-v7+ arm
[1/22/2023, 7:20:13 PM] [HB Supervisor] Node.js v18.13.0 /opt/homebridge/bin/node
[1/22/2023, 7:20:13 PM] [HB Supervisor] Homebridge Path: /var/lib/homebridge/node_modules/homebridge/bin/homebridge
[1/22/2023, 7:20:13 PM] [HB Supervisor] UI Path: /opt/homebridge/lib/node_modules/homebridge-config-ui-x/dist/bin/standalone.js
[1/22/2023, 7:20:30 PM] [Homebridge UI] Homebridge Config UI X v4.50.2 is listening on :: port 8180
[1/22/2023, 7:20:31 PM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution
[1/22/2023, 7:20:31 PM] [HB Supervisor] Started Homebridge v1.6.0 with PID: 159
So, something had to be wrong with the data outside the container. I have found the file package.json with the content:
{
"private": true,
"description": "This file keeps track of which plugins should be installed.",
"dependencies": {
"homebridge": "^1.5.0",
"homebridge-dummy": "^0.4.0",
"homebridge-hue": "^0.13.51",
"homebridge-knx": "^0.3.27",
"homebridge-mqttthing": "^1.1.43"
}
}
Seems like this prevented my node packages from being updated. After deleting this file, the container startup took about 9 minutes. Probably because a lot of stuff has been updated.
@oznu Thank you mate for your awesome work on this project! I am using it for years.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe The Bug
Latest docker image (1.0.32) still claims to be version 1.5.0 Portainer shows ENV:
Docker Config
Logs
Host Operating System
Other (specify in description)
Host Architecture
x86_64 / amd64