Emby will not install.

Hello,

Fresh install of DietPi on Raspberry PI B, trying to install Emby using optimised software menu and getting this error below.

[FAILED] DietPi-Software | wget -O 41.

\



\

Details:

  • Date | Tue 2 Apr 12:06:57 BST 2019
  • Bug report | N/A
  • DietPi version | v6.22.3 (MichaIng/master)
  • Img creator | DietPi Core Team
  • Pre-image | Raspbian Lite
  • SBC device | RPi 3 Model B (armv7l) (index=3)
  • Kernel version | #1200 SMP Tue Feb 12 20:27:48 GMT 2019
  • Distro | stretch (index=4)
  • Command | wget -O 41.
  • Exit code | 1
  • Software title | DietPi-Software

Steps to reproduce:

Expected behaviour:

Actual behaviour:

Extra details:

Additional logs:

Log file contents:
wget: missing URL
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.


\

[FAILED] DietPi-Software | Unable to continue, DietPi-Software will now terminate.

Never mind found solution in this thread here: https://dietpi.com/forum/t/emby-server/3083/1

Modified the following file at line 5224:

sudo nano /DietPi/dietpi/dietpi-software

Added the line:

local fallback_url=“https://github.com/MediaBrowser/Emby.Releases/releases/download/4.0.2.0/emby-server-deb_4.0.2.0_$arch.deb

Seems to install now.

Only adding the fallback line should not work. With the fix for v6.23 I added the fallback feature since this can generally happen for other Github releases as well. To fix on v6.22 the following should work:

sed -i 's#"$(curl -s "$INSTALL_URL_ADDRESS" | grep -m1 "browser_download_url.*emby-server-deb_.*_$arch\\.deb" | cut -d \\" -f 4)"#"https://github.com/MediaBrowser/Emby.Releases/releases/download/4.0.2.0/emby-server-deb_4.0.2.0_$arch.deb"#' /DietPi/dietpi/dietpi-software
/DietPi/dietpi/software install 41 # to rerun the Emby install

Sorry, yes it was your fix posted in the other thread that acutally fixed this, I had done both but when trying again just by adding the line it did not work.

Thank you for posting the fix. :slight_smile: