Super-Simple-Raspberry-Pi-Audio-Receiver-Install icon indicating copy to clipboard operation
Super-Simple-Raspberry-Pi-Audio-Receiver-Install copied to clipboard

etc default kodi is missing?

Open abuonline opened this issue 7 years ago • 6 comments

Fatal error encountered: 'sed -i s/ENABLED=0/ENABLED=1/ /etc/default/kodi' failed Fatal error encountered: ./kodi_config.sh failed

abuonline avatar Mar 01 '18 16:03 abuonline

Which branch was this? Kodi has been deprecated as apart of this project since a recent breaking change and I haven't had the time to update the code base.

BaReinhard avatar Mar 03 '18 22:03 BaReinhard

I am getting this error too. Master branch, could you please fix? @BaReinhard

SSRPARI [Sun 4 Mar 16:11:17 UTC 2018] Running ./kodi_install.sh... SSRPARI [Sun 4 Mar 16:11:17 UTC 2018] Checking kodi... SSRPARI [Sun 4 Mar 16:11:17 UTC 2018] Dependency kodi already met... SSRPARI [Sun 4 Mar 16:11:17 UTC 2018] Running ./kodi_config.sh... SSRPARI [Sun 4 Mar 16:11:17 UTC 2018] /etc/default/kodi does not exist SSRPARI [Sun 4 Mar 16:11:17 UTC 2018] Executing sed -i s/ENABLED=0/ENABLED=1/ /etc/default/kodi Fatal error encountered: 'sed -i s/ENABLED=0/ENABLED=1/ /etc/default/kodi' failed Fatal error encountered: ./kodi_config.sh failed

araufdogan avatar Mar 04 '18 16:03 araufdogan

This is still an issue. Following the installation instructions in the README on the master branch it attempts to install kodi.

pi@raspberrypi:~/ $ sudo apt-get update
pi@raspberrypi:~/ $ sudo apt-get install git
pi@raspberrypi:~/ $ git clone https://github.com/BaReinhard/Super-Simple-Raspberry-Pi-Audio-Receiver-Install.git
pi@raspberrypi:~/ $ cd Super-Simple-Raspberry-Pi-Audio-Receiver-Install
pi@raspberrypi:~/Super-Simple-Raspberry-Pi-Audio-Receiver-Install $ sudo ./install.sh

incognitojam avatar Mar 29 '18 14:03 incognitojam

I would suggest using Github releases for external projects such as Kodi or Shairport (ex https://github.com/xbmc/xbmc/releases/tag/17.6-Krypton). This way SSRPIARI won't break randomly if master are modified. By the way your project is awesome !!

gterras avatar Apr 17 '18 13:04 gterras

Did anyone find a workaround for this? sudo ./kodi_config.sh SSRPARI [Sat 16 Jun 15:25:30 UTC 2018] /etc/default/kodi does not exist SSRPARI [Sat 16 Jun 15:25:30 UTC 2018] Executing sed -i s/ENABLED=0/ENABLED=1/ /etc/default/kodi Fatal error encountered: 'sed -i s/ENABLED=0/ENABLED=1/ /etc/default/kodi' failed

Thanks!

jaoroca avatar Jun 16 '18 15:06 jaoroca

Hey Guys, thanks for the interest in the project. Unfortunately, due to time constraints I am unable to address current issues and debugging, maintenance on the shell scripts are hard and inefficient. As such I will be porting over these scripts to ansible playbooks. This will allow for easier choosing of what you want installed, less brittle code base, and better maintenance so that less people experience the errors.

Once I have feature parity I will be addressing documentation on installing with ansible. The goal here is to allow people to setup multiple devices at once by only issuing one command, additionally to allow multiple OS support with less debugging and maintenance, as well as allowing other developers more easily add functionality to this repo with simple yaml files as opposed to obfuscated shell scripts.

bitmoji

BaReinhard avatar Jun 30 '18 17:06 BaReinhard