Emby server Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
neno20st
Posts: 11
Joined: Sun Jan 27, 2019 3:23 pm

Emby server

Post by neno20st »

Hi. I try to install Emby server from dietpi-software but i got error. What can i do?
Attachments
Untitled-1.png
User avatar
MichaIng
Site Admin
Posts: 2295
Joined: Sat Nov 18, 2017 6:21 pm

Re: Emby server

Post by MichaIng »

Hi and thanks for your report.

Yeah indeed this happens since the latest Emby release is only available for Windows. We reworked the installer to use a last known fallback URL if the latest release does not contain one for Debian: https://github.com/MichaIng/DietPi/comm ... 84a718aedd

Please do the following:

Code: Select all

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
canabino
Posts: 21
Joined: Tue Apr 02, 2019 3:53 am

Re: Emby server

Post by canabino »

I had the same issue and tried your fix.
It started installing but failed at dpkg

[ SUB1 ] DietPi-Software > Installing Emby Server: web interface media streaming server
[ OK ] DietPi-Software | Connection test: https://api.github.com/repos/MediaBrows ... ses/latest
[ OK ] DietPi-Software | wget https://github.com/MediaBrowser/Emby.Re ... _arm64.deb -O 41.deb
[FAILED] DietPi-Software | dpkg -i 41.deb
[ INFO ] DietPi-Software | Trying automated APT fix
[ INFO ] DietPi-Software | APT fix, please wait...
[ OK ] DietPi-Software | G_AGF
[ OK ] DietPi-Software | Cleaning download directory
User avatar
MichaIng
Site Admin
Posts: 2295
Joined: Sat Nov 18, 2017 6:21 pm

Re: Emby server

Post by MichaIng »

But the APT fix afterwards succeeded. In some cases we choose this way if we install software with many/changing package dependencies:
- Run DPKG install
- Run into error because of missing dependencies
- Run apt-get -f install to let APT automatically install missing dependencies.

Perhaps we should add some info that an error here is expected.

Or does your Emby finally not work?
canabino
Posts: 21
Joined: Tue Apr 02, 2019 3:53 am

Re: Emby server

Post by canabino »

I tried the following.
MichaIng wrote: Mon Apr 01, 2019 8:51 pm Hi and thanks for your report.

Yeah indeed this happens since the latest Emby release is only available for Windows. We reworked the installer to use a last known fallback URL if the latest release does not contain one for Debian: https://github.com/MichaIng/DietPi/comm ... 84a718aedd

Please do the following:

Code: Select all

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
But still get dpkg error. In dietpi-software it shows that Emby is installed but I checked with htop, it is not running.
DPkg1 Error.PNG
canabino
Posts: 21
Joined: Tue Apr 02, 2019 3:53 am

Re: Emby server

Post by canabino »

My bad. Sorry it did install correctly.
I was trying to access it from http://app.emby.media/#!/home.html not from the IP http://192.168.**.***:8096

After I set it up, it started the services.

Thanks for your help MichaIng
bmozdemir
Posts: 5
Joined: Wed Apr 10, 2019 11:27 pm

Re: Emby server

Post by bmozdemir »

hi
how to try this code

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.Re ... _$arch.deb"#' /DietPi/dietpi/dietpi-software
/DietPi/dietpi/software install 41 # to rerun the Emby install
bmozdemir
Posts: 5
Joined: Wed Apr 10, 2019 11:27 pm

Re: Emby server

Post by bmozdemir »

Thank you for your interest. solved with manual installation.
Post Reply