From d26c50edc4751338fe058b568e5811c67c3d41c8 Mon Sep 17 00:00:00 2001 From: daboxx <58334606+daboxx@users.noreply.github.com> Date: Wed, 29 Apr 2020 12:14:00 +0200 Subject: [PATCH] missing --unsafe-perm for ffmpeg 797.866179] cloud-init[1517]: Failed to download ffmpeg binary. [ 797.869448] cloud-init[1517]: If you are installing this plugin as a global module (-g) make sure you add the --unsafe-perm flag to the install command. [ 797.878919] cloud-init[1517]: The homebridge plugin has been installed, however you may need to install ffmpeg separately. --- homebridge-install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homebridge-install b/homebridge-install index eec383e..3cac9ef 100755 --- a/homebridge-install +++ b/homebridge-install @@ -16,5 +16,5 @@ fi if [ ! -d /usr/local/lib/node_modules/homebridge-camera-ffmpeg ]; then sudo curl -Lf# https://github.com/homebridge/ffmpeg-for-homebridge/releases/latest/download/ffmpeg-debian-$(uname -m).tar.gz | sudo tar xzf - -C / --no-same-owner - sudo npm install -g homebridge-camera-ffmpeg@0.1.17 -fi \ No newline at end of file + sudo npm install -g --unsafe-perm homebridge-camera-ffmpeg@0.1.17 +fi