Jump to content

Recommended Posts

Posted (edited)

Btw and Fyi.

 

With the new OMV v5 the plugins going to start to migrate to docker and many going to not be supported anymore. So if you are using the plugins is better that you migrate to Docker. 

Edited by HRSCR
  • 4 weeks later...
Andythediver
Posted

Hi - having enjoyed emby on my laptop, and finally getting round to creating a NAS - running xpenology 6.1,

i cannot for the life of me get Emby to work.

If i just install it from the repository, it continuously jumps between asking be to run - then install it.

Much reading later, i discover its something to do with the way xpenology hides its hardware from synology??

More reading and ive finally created a running emby from within a docker.

but after hours and hours of searching forums and trying different mount point paths, i cannot get emby to find any multimedia.

ive followed the link to docker instructions [from installation instructions here] - to be hit with :- 

 

The container can be run using the following command:

docker run -d \
--volume /path/to/programdata:/config \ # This is mandatory
--volume /path/to/share1:/mnt/share1 \ # To mount a first share
--volume /path/to/share2:/mnt/share2 \ # To mount a second share
--device /dev/dri:/dev/dri \ # To mount all render nodes for VAAPI/NVDEC/NVENC
--runtime=nvidia \ # To expose your NVIDIA GPU
--publish 8096:8096 \ # To expose the HTTP port
--publish 8920:8920 \ # To expose the HTTPS port
--env UID=1000 \ # The UID to run emby as (default: 2)
--env GID=100 \ # The GID to run emby as (default 2)
--env GIDLIST=100 \ # A comma-separated list of additional GIDs to run emby as (default: 2)
emby/embyserver:latest

Please adapt the UID, GID and GIDLIST values to match the owner of your media files. GIDLIST is also needed to grant access to VAAPI/NVDEC/NVENC render nodes.

 

 

now as I'm an avid film watcher, not a rocket scientist, can someone translate the above into layman's english - or alternatively post explicite instructions - in terms of 1 syllable at a time, for me to follow. Thanks in advance 

Andy

 

this is my last hope as Plex works straight out of the box - its just that ive tried both in windows and find emby far superior. If i cant sort this this weekend - im afraid its back to plex  and i will be gutted 

 

Posted

Hi - having enjoyed emby on my laptop, and finally getting round to creating a NAS - running xpenology 6.1,

i cannot for the life of me get Emby to work.

If i just install it from the repository, it continuously jumps between asking be to run - then install it.

Much reading later, i discover its something to do with the way xpenology hides its hardware from synology??

More reading and ive finally created a running emby from within a docker.

but after hours and hours of searching forums and trying different mount point paths, i cannot get emby to find any multimedia.

ive followed the link to docker instructions [from installation instructions here] - to be hit with :- 

 

The container can be run using the following command:

docker run -d \

--volume /path/to/programdata:/config \ # This is mandatory

--volume /path/to/share1:/mnt/share1 \ # To mount a first share

--volume /path/to/share2:/mnt/share2 \ # To mount a second share

--device /dev/dri:/dev/dri \ # To mount all render nodes for VAAPI/NVDEC/NVENC

--runtime=nvidia \ # To expose your NVIDIA GPU

--publish 8096:8096 \ # To expose the HTTP port

--publish 8920:8920 \ # To expose the HTTPS port

--env UID=1000 \ # The UID to run emby as (default: 2)

--env GID=100 \ # The GID to run emby as (default 2)

--env GIDLIST=100 \ # A comma-separated list of additional GIDs to run emby as (default: 2)

emby/embyserver:latest

Please adapt the UID, GID and GIDLIST values to match the owner of your media files. GIDLIST is also needed to grant access to VAAPI/NVDEC/NVENC render nodes.

 

 

now as I'm an avid film watcher, not a rocket scientist, can someone translate the above into layman's english - or alternatively post explicite instructions - in terms of 1 syllable at a time, for me to follow. Thanks in advance 

Andy

 

this is my last hope as Plex works straight out of the box - its just that ive tried both in windows and find emby far superior. If i cant sort this this weekend - im afraid its back to plex  and i will be gutted 

 

@@Andythediver, what exactly are you having trouble with? What can we help clarify? Thanks !

Andythediver
Posted (edited)

Everything i find onine in terms of help with docker all consist of typed commands [similar to dos prompts] 

however in exppenology/docker - i have no idea how or where to find this prompt.

my main issue is pointing emby inside docker to media folders outside of docker as - while i can get emby to run, there is no content.

im using the gui that synology/docker launches - and the window that im sure is causing the issue is the volumes setting tab 

add file/folders - im pointing at the folder that contains my media eg storage pool:-      volume1/movies but the second part - mount path - when ive guessed what to put in there is either incorrect syntax - or , after hours of trying and guesswork from text scripts  ive added usr/share/ movies-mb  this at least goes in.

 

when i then run emby  from a web interface, i point the library folder at the movies-mb folder - which it accepts, then when i run emby and browse the library - nothing there!!

I'm honestly pulling my hair out! 

 

during my research, i keep seeing references to the config folder too - do i need to set one of those up in the volumes tab too?

 

hence my original question - is there a step by step guide - in picture form - NO DOS PROMPTS!!!! - just literally step by step with examples to get emby running - inside docker on an xpenology built synology dsm?

 

Ive tried running the installer direct to dsm but it runs then stops then asks for installation again. 

 

sorry its long - but so is this steep learning curve lol.

 

Annoyingly, plex worked straight out of the box - i just prefer the way emby handles metadata etc

Edited by Andythediver
Posted

Everything i find onine in terms of help with docker all consist of typed commands [similar to dos prompts] 

however in exppenology/docker - i have no idea how or where to find this prompt.

my main issue is pointing emby inside docker to media folders outside of docker as - while i can get emby to run, there is no content.

im using the gui that synology/docker launches - and the window that im sure is causing the issue is the volumes setting tab 

add file/folders - im pointing at the folder that contains my media eg storage pool:-      volume1/movies but the second part - mount path - when ive guessed what to put in there is either incorrect syntax - or , after hours of trying and guesswork from text scripts  ive added usr/share/ movies-mb  this at least goes in.

 

when i then run emby  from a web interface, i point the library folder at the movies-mb folder - which it accepts, then when i run emby and browse the library - nothing there!!

I'm honestly pulling my hair out! 

 

during my research, i keep seeing references to the config folder too - do i need to set one of those up in the volumes tab too?

 

hence my original question - is there a step by step guide - in picture form - NO DOS PROMPTS!!!! - just literally step by step with examples to get emby running - inside docker on an xpenology built synology dsm?

 

Ive tried running the installer direct to dsm but it runs then stops then asks for installation again. 

 

sorry its long - but so is this steep learning curve lol.

 

Annoyingly, plex worked straight out of the box - i just prefer the way emby handles metadata etc

 

Have you checked out our Docker setup guide?

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

 

Please note, we are not testing this on Synology, so for best results I would use our native Synology package. 

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

 

Why not do that?

Andythediver
Posted

Have you checked out our Docker setup guide?

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

 

Please note, we are not testing this on Synology, so for best results I would use our native Synology package. 

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

 

Why not do that?

1. yes i have - thats whee all the script mumbo jumbo came from - no graphical explanations at all

 

2. yes - i tried this first - it point blank doesnt work! will not load - at least the docker method runs and i can access it remotely - albeit without any media.

Posted

1. yes i have - thats whee all the script mumbo jumbo came from - no graphical explanations at all

 

2. yes - i tried this first - it point blank doesnt work! will not load - at least the docker method runs and i can access it remotely - albeit without any media.

 

Please report your issue in the Synology section and we''ll be happy to help. Thanks.

Posted

Hello,

here is the video that helped me to install emby on docker.

Even if this is an install in OpenMediaVault, I think that it will help you.

Give it a try and tell us if it helped.

Posted

@@badous, that's fantastic, thank you ! did you make that video?

Posted

@@badous, that's fantastic, thank you ! did you make that video?

You are welcome.

No I am not TechnoDadLife. He knows way more things than I do.

I like his videos, he explains everything step by step.

And thanks to him I was able to install several things on Docker.

 

I hope it help others as it helped me.

Posted

Thanks for the info.

BAlGaInTl
Posted

I used a lot of his videos when I was using OMV.

Posted (edited)

I know this is a silly question but i wanted to make sure i am doing this right

 

 --env GIDLIST=100 \ # A comma-separated list of additional GIDs to run emby as (default: 2)

 

The following command gives me a value of "44"

 

getent group video | cut -d: -f3

 

so the correct command should be

 

 --env GIDLIST=100,44

 

Is this correct?

 

How do i confirm this is working as it should be on my intel system

 

CPU > Intel® Core i3-2105 CPU @ 3.10GHz

https://ark.intel.com/content/www/us/en/ark/products/55448/intel-core-i3-2105-processor-3m-cache-3-10-ghz.html

 

 

Motherboard > ASROCK Z68 Extreme3 Gen3

https://www.asrock.com/mb/Intel/Z68%20Extreme3%20Gen3/index.asp

 

Thanks in Advance

Edited by Eddie
Posted (edited)

@@badous, that's fantastic, thank you ! did you make that video?

 

I published that video some topics ago :P

Edited by HRSCR
Posted

I know this is a silly question but i wanted to make sure i am doing this right

 

 --env GIDLIST=100 \ # A comma-separated list of additional GIDs to run emby as (default: 2)

 

The following command gives me a value of "44"

 

getent group video | cut -d: -f3

 

so the correct command should be

 

 --env GIDLIST=100,44

 

Is this correct?

 

How do i confirm this is working as it should be on my intel system

 

CPU > Intel® Core i3-2105 CPU @ 3.10GHz

https://ark.intel.com/content/www/us/en/ark/products/55448/intel-core-i3-2105-processor-3m-cache-3-10-ghz.html

 

 

Motherboard > ASROCK Z68 Extreme3 Gen3

https://www.asrock.com/mb/Intel/Z68%20Extreme3%20Gen3/index.asp

 

Thanks in Advance

how root type: id user  

 

where "user" is the user you want to know the ID

 

why you want to add a secondary user id? is not needed

 

emby can run in your default use id

 

example with defaults ID's:

 

UID 1000

GID 100

GIDLIST 100

 

 

Hope helps

Posted

Ok I did as if I was installing emby in docker.

If you follow this you should have it running I hope.

5dc2ffbc06939_1_LI.jpg

 

For the second picture, I chose to limit the use of my processor and ram use because it is a weak server, but you can chose not to tick it if your server is powerful enough.

I have 8go of ram and I set it at 6go limit. But as I said change depending your server.

Then press advanced parameters.

5dc3016b06535_2_LI.jpg

 

On the first tab, tick the first box

5dc30232128a3_3_LI.jpg

 

On volume tab, you need to add the folders on the left

For the share forlder, use your media folder and on the access you have to type /mnt/share1.

And for the config folder, create an emby folder under the docker folder and use this one to be mounted.

You can choose to grant read only access to your media folder if you want. Like that you won't have a problem with your medias being modified by emby.

In this pic I chose to let Emby have write rights, by not ticking the box on the right.

5dc3027338c7a_4.jpg

 

Tick the little box in the network tab.

5dc304739285f_6_LI.jpg

 

Don't change the two next tabs.

 

Now on the last tab put your UID, GID and GIDLIST and hit apply.

5dc3052f1e8a8_9_LI.jpg

 

 

Same this here, tick the box and apply.

5dc3058f02548_10.jpg

 

Now your Emby should be running, to access it write your server ip address in your browser with :8096 as port and you should be able to enjoy emby.

 

Hope this will help you.

Andythediver
Posted

thank you so - much - this is exactly the kind if thing i was looking for.

just a couple more questions please......1. the folder for the /config mountpoint - in your example was docker/emby - i have nothing inside the docker folder - so chose docker - is this ok or have i missed something?

 

and the big one - where do i find my UID, GID and GIDLIST ?

 

im sure this has brought me far closer than any other help  and look forward with great grattude for your reply - thank you in advance

Posted (edited)

thank you so - much - this is exactly the kind if thing i was looking for.

just a couple more questions please......1. the folder for the /config mountpoint - in your example was docker/emby - i have nothing inside the docker folder - so chose docker - is this ok or have i missed something?

 

and the big one - where do i find my UID, GID and GIDLIST ?

 

im sure this has brought me far closer than any other help  and look forward with great grattude for your reply - thank you in advance

You are welcome,

 

Here, follow this tutorial to access your xpenology with ssh,

 

 

and when you are in, type in

 

id user1

 

and then press enter.

it will give you the uid and gid. the gidlist you can put the same as gid.

 

In the example below, user1 is the name of my user, if yours is different type the name of your user. ex : id badous and then enter.

 

Yes, create a folder wherever you want for the config.

I created mine in the folder docker, to find it easily. but create a folder and name it as you like to be able to find it another time.

 

edit: sorry forgot to past the youtube link and wrote a bad command. Fixed now

Edited by badous
Andythediver
Posted

BADOUS - YOU ARE A LEGEND - IVE BEEN STRUGGLING WITH THIS FOR ALMOST THREE WEEKS - EVERY NIGHT.

JUST 1 DAY AFTER YOUR POST, AND ONLY A FEW MINUTES OF STUDY - IM UP AND RUNNING WITH MY LIBRARY POPULATING AS I'M TYPING!!!!!

 

Having now got a populating Movie library, do i need to add more volumes for tv shows and movies etc? and mount them as share2 share3 etc? [i'd normally just experiment but i dont want to damage what you have done for me thus far }

 

once again, thank you so much

Posted

You are welcome.

I am happy that it worked for you.

 

In my media folder I have created several folders such as movies, TV shows, music...

So I only needed to mount one folder, the media folder.

 

But yes, you could mount a share for each folder if you want.

 

Just stop your docker, save the settings in case something doesn't work as planned (so that you can always revert to something working), and make your changes.

  • 2 weeks later...
Posted

I am running emby docker on Unraid. When I came home it indicated there was a docker update, so I hit the update button. Afterwards it seemed to be consuming a lot of CPU, apparently it wiped my entire database...

Any idea what happened? any way to recover the database?

 

I have included the one that seems to be before the update (ending in 65), the one after the update (69), I did try to restart at one point since it seemed to be hung but the embyserver.txt is the very last version.

hardware_detection-63709872273.txt

embyserver-63709872265.txt

embyserver-63709872769.txt

embyserver.txt

Posted

@@Luke

 

Can’t find docker image on docker hub for the newest 4.3.0.30.

Can you trigger the build?

Posted

@@Luke

Can’t find docker image on docker hub for the newest 4.3.0.30.

Can you trigger the build?

Try pulling the latest.

Posted

Try pulling the latest.

I never use latest image version, this is not a good practise(more when googling: "docker why not to use latest images").

Please create a image with proper version tag as before.

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