BaReinhard / Super-Simple-Raspberry-Pi-Audio-Receiver-Install

Super Easy installation to make your Raspberry Pi an Audio Receiver
GNU Affero General Public License v3.0
489 stars 88 forks source link

etc default kodi is missing? #119

Open abuonline opened 6 years ago

abuonline commented 6 years ago

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

BaReinhard commented 6 years ago

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.

araufdogan commented 6 years ago

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

incognitojam commented 6 years ago

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
gterras commented 6 years ago

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 !!

jaoroca commented 6 years ago

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!

BaReinhard commented 6 years ago

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