-
Notifications
You must be signed in to change notification settings - Fork 406
Description
Describe The Bug
when updating the UI on the local website there is a large output in the terminal only to Fail on a permission issue.
Can there be a check in the beginning to ensure the update is possible.
The roll-back to NPM update is a good alternative.
Logs
More output ..............
..............;
./lib/node_modules/homebridge-config-ui-x/scripts/
./lib/node_modules/homebridge-config-ui-x/scripts/extract-plugin-alias.js
./lib/node_modules/homebridge-config-ui-x/scripts/upgrade-install.sh
./lib/node_modules/homebridge-config-ui-x/scripts/upgrade-install-plugin.sh
./bin/
tar: ./lib/node_modules/homebridge-config-ui-x/scripts: Cannot change mode to rwxr-xr-x: Operation not permitted
./bin/homebridge-config-ui-x
./bin/hb-service
tar: ./lib/node_modules/homebridge-config-ui-x/node_modules/.bin/mkdirp: Cannot change mode to rwxrwxrwx: Operation not permitted
tar: ./lib/node_modules/homebridge-config-ui-x/node_modules/.bin/glob: Cannot change mode to rwxrwxrwx: Operation not permitted
tar: ./lib/node_modules/homebridge-config-ui-x/node_modules/.bin/pino: Cannot change mode to rwxrwxrwx: Operation not permitted
tar: ./lib/node_modules/homebridge-config-ui-x/node_modules/.bin/multicast-dns: Cannot change mode to rwxrwxrwx: Operation not permitted
tar: ./lib/node_modules/homebridge-config-ui-x/node_modules/.bin/node-which: Cannot change mode to rwxrwxrwx: Operation not permitted
tar: ./lib/node_modules/homebridge-config-ui-x/node_modules/.bin/mime: Cannot change mode to rwxrwxrwx: Operation not permitted
tar: ./lib/node_modules/homebridge-config-ui-x/node_modules/.bin/semver: Cannot change mode to rwxrwxrwx: Operation not permitted
tar: ./lib/node_modules/homebridge-config-ui-x/node_modules/.bin/opencollective: Cannot change mode to rwxrwxrwx: Operation not permitted
tar: ./lib/node_modules/homebridge-config-ui-x/node_modules/.bin/rc: Cannot change mode to rwxrwxrwx: Operation not permitted
tar: ./lib/node_modules/homebridge-config-ui-x/node_modules/.bin/js-yaml: Cannot change mode to rwxrwxrwx: Operation not permitted
tar: ./lib/node_modules/homebridge-config-ui-x/node_modules/.bin/prebuild-install: Cannot change mode to rwxrwxrwx: Operation not permitted
tar: ./lib/node_modules/homebridge-config-ui-x/node_modules/.bin/systeminformation: Cannot change mode to rwxrwxrwx: Operation not permitted
tar: ./bin/homebridge-config-ui-x: Cannot change mode to rwxrwxrwx: Operation not permitted
tar: ./bin/hb-service: Cannot change mode to rwxrwxrwx: Operation not permitted
tar: ./lib/node_modules/homebridge-config-ui-x/node_modules/.bin: Cannot change mode to rwxr-xr-x: Operation not permitted
tar: ./lib/node_modules/homebridge-config-ui-x/node_modules: Cannot change mode to rwxr-xr-x: Operation not permitted
tar: ./lib/node_modules/homebridge-config-ui-x: Cannot change mode to rwxr-xr-x: Operation not permitted
tar: Exiting with failure status due to previous errors
Failed to extract.
Bundled update failed. Trying regular update using npm.
USER: root
DIR: /opt/homebridge
CMD: npm install -g --omit=dev homebridge-config-ui-x@4.80.0
Config
homebridge:
container_name: HomeBridge_2.0
image: homebridge/homebridge:latest
restart: always
network_mode: host
volumes:
- ./volumes/homebridge:/homebridge
devices:
- "/dev/ttyAMA0:/dev/ttyACM0"
- "/dev/serial/by-id/usb-RFXCOM_RFXtrx433XL_DO2W1II7-if00-port0:/dev/tty_RFXcom_433"
#- "/dev/serial/by-id/pci-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_d4cb19edb3baed11b134ad8238a92db5-if00-port0:/dev/t>
#- "/dev/serial/by-id/
logging:
driver: json-file
options:
max-size: "10mb"
max-file: "1"
Homebridge UI Version
4.80.0
Homebridge Version
v2.0.0-beta.29
Node.js Version
v22.17.0
Operating System
Raspberry Pi OS / Raspbian
Environment Info
Using Docker
Raspberry Pi Model
Raspberry Pi 4 B