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

Install fails on encrypted drive #452

Closed mav808 closed 2 years ago

mav808 commented 2 years ago

Describe The Bug

Installation on my Synology fails when dpkg tries to install homebridge_1.0.24.deb with this error...

unable to clean up mess surrounding './var/lib/homebridge/node_modules/.pnpm-store/v3/files/00/aa5a6251e7f2de1255b3870b2f9be7e28a82f478bebb03f2f6efadb890269b3b7ca0d3923903af2ea38b4ad42630b49336cd78f2f0cf1abc8b2a68e35a9e58-index.json' before installing another version: File name too long

My Docker folder is on an encrypted share, which causes filenames to be limited to 124 characters. The filename in the error is 127 characters long.

Docker Config

Default, because it's a fresh install.

Logs

2022-06-17T10:33:40.646569028Z,stdout, /homebridge_1.0.24.deb

2022-06-17T10:33:40.646229971Z,stdout,Errors were encountered while processing:

2022-06-17T10:33:39.970653324Z,stdout,dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)

2022-06-17T10:33:37.199518184Z,stdout, unable to clean up mess surrounding './var/lib/homebridge/node_modules/.pnpm-store/v3/files/00/aa5a6251e7f2de1255b3870b2f9be7e28a82f478bebb03f2f6efadb890269b3b7ca0d3923903af2ea38b4ad42630b49336cd78f2f0cf1abc8b2a68e35a9e58-index.json' before installing another version: File name too long

2022-06-17T10:33:37.198950976Z,stdout,dpkg: error processing archive /homebridge_1.0.24.deb (--install):

Host Operating System

Synology DSM

Host Architecture

x86_64 / amd64

asymetricbalance commented 2 years ago

Encountered the same issue yesterday in a Docker install after container update. FS is encrypted as well. Installed via terminal: "docker run --net=host --name=homebridge -v $(pwd)/homebridge:/homebridge oznu/homebridge:latest" on clean ubuntu server - no issues.

oznu commented 2 years ago

Please try latest / 2022-06-24- this release fixes a number of issues including reverting back to npm - so path name length should not be an issue.