Jump to content

Docker


Luke

Recommended Posts

asmithau

Hi All,

 

I'm playing around with OMV and I'm having all sorts of issues getting Emby to see the files within shares. I'm not a great Linux guy, so wondering if anyone can point me in the direction of a setup guide of some description?

 

In relation to the shares I can see them in OMV, but not the files.

 

Merry Christmas

Link to comment
Share on other sites

Handl3vogn

Hello,


I am running emby server docker on unraid. 


Can I upgrade to netcore by changing Repository: from "emby/embyserver" to "emby/embyserver_netcore" ?


 


Can I keep my existing userdata folder and just upgrade this way? or will the docker I have installed upgrade by itself when its ready?


Link to comment
Share on other sites

 

Hello,

I am running emby server docker on unraid. 

Can I upgrade to netcore by changing Repository: from "emby/embyserver" to "emby/embyserver_netcore" ?

 

Can I keep my existing userdata folder and just upgrade this way? or will the docker I have installed upgrade by itself when its ready?

 

 

You should probably do a backup/restore instead of continuing to use the pre-existing config directory.

 

This has some more information about backup/restore procedures, https://github.com/MediaBrowser/Wiki/wiki/Backup.

Edited by xyz
Link to comment
Share on other sites

mgworek

I had no issues just changing the Repository. Loving the new version. My dockers backup once a week so I wasn't worried if something went wrong.

Edited by mgworek
Link to comment
Share on other sites

Handl3vogn

Changed from mono to netcore version by just changeing the Repository and everything seems to be working fine.

 

Does anyone knows when the netcore versjon will be available in the CA apps tab for unraid?

Edited by Handl3vogn
Link to comment
Share on other sites

alucryd

Since we're getting good feedback I think it's ready to hit the shelves. From the next stable release and onwards the regular repository will contain the netcore version.

Link to comment
Share on other sites

himisk71

I have a problem with creating tvshow.nfo.

since a few versions ( its now on 3.2.60.8) there will series recognized and for each episode will get a episode-thumb.jpg and a episode.nfo but no tvshow.nfo

and so in emby you have an empty entry under season..

 

Emby is in a unraid docker

2018-01-05 17:02:46.610 Info HttpClient: HttpClientManager GET: https://www.thetvdb.com/banners/episodes/255326/5290529.jpg
2018-01-05 17:02:46.694 Info ProviderManager: Saving image to /mnt/user/Sehen/Serien/Defiance/Defiance - S03E10 - Wenn die Dämmerung den Himmel verdunkelt-thumb.jpg
2018-01-05 17:02:46.713 Error App: Error in ffprobe
	*** Error Report ***
	Version: 3.2.60.8
	Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /config -restartpath /usr/lib/emby-server/restart.sh
	Operating system: Unix 4.14.11.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: False
	Mono: 4.8.1 (Stable 4.8.1.0/22a39d7 Sun Oct  1 17:55:43 UTC 2017)
	Processor count: 8
	Program data path: /config
	Application directory: /usr/lib/emby-server/bin
	System.ComponentModel.Win32Exception (0x80004005): ApplicationName='/config/ffmpeg/20170308/ffprobe', CommandLine='-i file:"/mnt/user/Sehen/Serien/Defiance/Defiance - S03E11 - Ein Dämon vor meinen Augen.mkv" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format', CurrentDirectory='', Native error= Access denied
	  at System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) [0x001ee] in <5641e4edad4f4464ba58c620a7b8ea48>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo+<ProbeVideo>d__15`1[T].MoveNext () [0x00173] in <84ff51f549554c1eade299f5d5d8cba7>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at MediaBrowser.Providers.Manager.MetadataService`2+<RunCustomProvider>d__41[TItemType,TIdType].MoveNext () [0x000d7] in <84ff51f549554c1eade299f5d5d8cba7>:0 
	System.ComponentModel.Win32Exception
	  at System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) [0x001ee] in <5641e4edad4f4464ba58c620a7b8ea48>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo+<ProbeVideo>d__15`1[T].MoveNext () [0x00173] in <84ff51f549554c1eade299f5d5d8cba7>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at MediaBrowser.Providers.Manager.MetadataService`2+<RunCustomProvider>d__41[TItemType,TIdType].MoveNext () [0x000d7] in <84ff51f549554c1eade299f5d5d8cba7>:0 
	
2018-01-05 17:02:46.714 Info HttpClient: HttpClientManager GET: https://www.thetvdb.com/banners/episodes/255326/5301970.jpg
2018-01-05 17:02:47.064 Info ProviderManager: Saving image to /mnt/user/Sehen/Serien/Defiance/Defiance - S03E11 - Ein Dämon vor meinen Augen-thumb.jpg
2018-01-05 17:02:47.081 Error App: Error in ffprobe
	*** Error Report ***
	Version: 3.2.60.8
	Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /config -restartpath /usr/lib/emby-server/restart.sh
	Operating system: Unix 4.14.11.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: False
	Mono: 4.8.1 (Stable 4.8.1.0/22a39d7 Sun Oct  1 17:55:43 UTC 2017)
	Processor count: 8
	Program data path: /config
	Application directory: /usr/lib/emby-server/bin
	System.ComponentModel.Win32Exception (0x80004005): ApplicationName='/config/ffmpeg/20170308/ffprobe', CommandLine='-i file:"/mnt/user/Sehen/Serien/Defiance/Defiance - S03E12 - Das Erwachen.mkv" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format', CurrentDirectory='', Native error= Access denied
	  at System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) [0x001ee] in <5641e4edad4f4464ba58c620a7b8ea48>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo+<ProbeVideo>d__15`1[T].MoveNext () [0x00173] in <84ff51f549554c1eade299f5d5d8cba7>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at MediaBrowser.Providers.Manager.MetadataService`2+<RunCustomProvider>d__41[TItemType,TIdType].MoveNext () [0x000d7] in <84ff51f549554c1eade299f5d5d8cba7>:0 
	System.ComponentModel.Win32Exception
	  at System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) [0x001ee] in <5641e4edad4f4464ba58c620a7b8ea48>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo+<ProbeVideo>d__15`1[T].MoveNext () [0x00173] in <84ff51f549554c1eade299f5d5d8cba7>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at MediaBrowser.Providers.Manager.MetadataService`2+<RunCustomProvider>d__41[TItemType,TIdType].MoveNext () [0x000d7] in <84ff51f549554c1eade299f5d5d8cba7>:0 
Link to comment
Share on other sites

Handl3vogn

Found a problem with the netcore docker. When logging in from outside my network my web browser did not get my let's encrypt cert and reported the site as unsecure. Changed repository back to the mono version and ssl cert works like it should.

 

Edit

Or it seems like my web browser got the cert but did not accept it when using netcore version.

Edited by Handl3vogn
Link to comment
Share on other sites

Found a problem with the netcore docker. When logging in from outside my network my web browser did not get my let's encrypt cert and reported the site as unsecure. Changed repository back to the mono version and ssl cert works like it should.

 

Edit

Or it seems like my web browser got the cert but did not accept it when using netcore version.

I can't replicate this on my own setup. Using latest stable netcore docker on Unraid

Link to comment
Share on other sites

Found a problem with the netcore docker. When logging in from outside my network my web browser did not get my let's encrypt cert and reported the site as unsecure. Changed repository back to the mono version and ssl cert works like it should.

 

Edit

Or it seems like my web browser got the cert but did not accept it when using netcore version.

 

hi @@Handl3vogn, can you please attach the information requested in how to report a problem? thanks !

Link to comment
Share on other sites

Handl3vogn

Here is logs. Mono log for working version and netcore for not working. Away from home so typing on my phone. When running netcore I even got a prompt to accept cert on emby mobile app. And I could see in the info that it was from let's encrypt but it did not seem to trust it.

monoLog.txt

netcoreLog.txt

Edited by Handl3vogn
Link to comment
Share on other sites

Here is logs. Mono log for working version and netcore for not working. Away from home so typing on my phone. When running netcore I even got a prompt to accept cert on emby mobile app. And I could see in the info that it was from let's encrypt but it did not seem to trust it.

 

Have you double checked that it's not expired?

Link to comment
Share on other sites

Handl3vogn

Yes made a brand new one just to test. And it seems to accept it if the browser had seen the cert before. Like if I visited my lets encrypt web server first on port 443 and then went to 8920 I got the green lock. But if I cleaned all userdata from browser and went right to 8920 I get cert error.

I will try some more tomorrow. Like a new clean netcore install and see if that fixes it.
Maybe this is a problem from updating my docker to netcore with the same userdata folder that used to run mono.

But it seems like there is something from the cert that is altered or blocked before it gets to the web browser. After changing back to mono version I get the secure lock every time.

Update
Tried with a fresh version of netcore docker and same problem. To get cert error I have to uninstall and install browser on my phone (Using Firefox on Android for testing). Did not work to just delete userdata in browser.

it only happening if the browser newer been on my domain before.

 

Update2:

Made a windows10 vm running emby server and set it up using the same cert and on windows it works without problems.

So this must be a docker or linux problem. (mono docker is fine)

 

Update3:

Installed emby on a ubuntu vm and got the site not secure error.

 

Hope someone can test this on a embyserver running netcore on linux. And its important to use a device or browser that has not seen your cert before or it just accepts it. Did first notice this when my cert was up for renewal. and later when I was away from home and tried to connect from the hotel tv. Easy way to get consistent test is to download a browser on your phone and delete all appdata for that browser between each test.

Edited by Handl3vogn
Link to comment
Share on other sites

Handl3vogn

Have you double checked that it's not expired?

Yes. it expires 06. apr 2018

 

And I have tried multiple Browsers, firefox and chrome on linux, android, windows. (deleted userdata folder between each test)

All give me cert error when my server is on linux netcore version. 

Mono linux and windows netcore gives me green lock (trust cert)

 

I create the cert using linuxserver's lets encrypt docker and convert it for emby by using this command:

cd /mnt/user/appdata/letsencrypt/keys/letsencrypt/ && openssl pkcs12 -inkey privkey.pem -in fullchain.pem -export -out emby.pfx -passout pass:
mv /mnt/user/appdata/letsencrypt/keys/letsencrypt/emby.pfx /mnt/user/appdata/EmbyServer/ssl/emby.pfx
Edited by Handl3vogn
Link to comment
Share on other sites

rockhead006

Can someone help me get Emby-Server installed on a Raspberry Pi 2.

 

I've tried to install via non-docker method, as it's a big mess of installing tonnes of things via apt-get and eventually the system breaking (mainly from mono).

So I tried the docker install method and didn't do much better.

 

It's a brand new image of raspbian (stretch lite 2017-11-29).

 

So I try to run the following commands, as recommended:

 

sudo curl -sSL https://get.docker.com/ | sh
sudo docker run -it --rm --volume /usr/local/bin:/target emby/embyserver:armv7 instl service
 
But after it completes all the downloads for Emby and extracts them, it just exits.
There are no containers created when I try to list them.
I try running the 2nd command again, and it just exits again.
 
I have no idea how to proceed. I thought this would be a simple process, especially from a blanked system.
 
I'd appreciate some help please. Or if someone has a pre-built emby-server/raspbian .img I can just install onto the SD card (8GB).
Link to comment
Share on other sites

 

Can someone help me get Emby-Server installed on a Raspberry Pi 2.

 

I've tried to install via non-docker method, as it's a big mess of installing tonnes of things via apt-get and eventually the system breaking (mainly from mono).

So I tried the docker install method and didn't do much better.

 

It's a brand new image of raspbian (stretch lite 2017-11-29).

 

So I try to run the following commands, as recommended:

 

sudo curl -sSL https://get.docker.com/ | sh
sudo docker run -it --rm --volume /usr/local/bin:/target emby/embyserver:armv7 instl service
 
But after it completes all the downloads for Emby and extracts them, it just exits.
There are no containers created when I try to list them.
I try running the 2nd command again, and it just exits again.
 
I have no idea how to proceed. I thought this would be a simple process, especially from a blanked system.
 
I'd appreciate some help please. Or if someone has a pre-built emby-server/raspbian .img I can just install onto the SD card (8GB).

 

 

Hi, why not try our new non-docker install that we're currently testing:

 

https://github.com/MediaBrowser/Emby/releases/download/3.2.60.9/emby-server-deb_3.2.60.9_armhf.deb

 

You can follow the instructions from the website:

https://emby.media/linux-server.html

 

Except use the .deb I'm linking to here.

 

Thanks.

Link to comment
Share on other sites

rockhead006

Hi, why not try our new non-docker install that we're currently testing:

 

https://github.com/MediaBrowser/Emby/releases/download/3.2.60.9/emby-server-deb_3.2.60.9_armhf.deb

 

You can follow the instructions from the website:

https://emby.media/linux-server.html

 

Except use the .deb I'm linking to here.

 

Thanks.

 

Ok, I've removed docker and installed from the .deb file you linked. And rebooted.

I was expecting emby-server to start on boot, but it didn't.

I did a search for emby-server and found it in /opt, so tried to start /opt/emby-server/bin/emby-server

and it returned with: Illegal instruction

 

Any ideas? Where are the log files for this?

Link to comment
Share on other sites

alucryd

@@rockhead006 That's usually because the binaries have been built with some instructions your CPU does not support. The buildflags have been changed recently to use the armv7-a instruction set, which should in theory be low enough to accomodate every armv7 cpu out there (at least that's what debian says and does). However all components haven't been rebuilt with these flags yet, I'm in the process of doing so.

Link to comment
Share on other sites

rockhead006

Ok, I've removed docker and installed from the .deb file you linked. And rebooted.

I was expecting emby-server to start on boot, but it didn't.

I did a search for emby-server and found it in /opt, so tried to start /opt/emby-server/bin/emby-server

and it returned with: Illegal instruction

 

Any ideas? Where are the log files for this?

 

I've just done a search, and it sounds like Illegal Instruction comes up with a ARMv7 image is installed onto a ARMv6 system. Raspberry Pi 2 is ARMv6. I assume your .deb is ARMv7. :-(

Link to comment
Share on other sites

rockhead006

Not according to this.

 

Yes, you are right. Sorry. It looks like I have a RPI 1 Model B, not a 2. Not sure why I thought I had a 2.

Is there any version of emby-server that will run on a RPI1 Model B that you know of? ARMv6.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...