jscoys 143 Posted December 30, 2019 Share Posted December 30, 2019 Hello guys, I just posted a tutorial on Youtube where I explain all commands and steps to install your Emby Server and run it in a docker container. To do so, I explain how to install Docker and Docker-Compose. Then I show how to write a yaml descriptor file to setup your Emby container and then, I give different commands to see logs, run and automatically pull the last version of Emby container image, so you're always up-to-date! Let me know in comments if you have any questions or suggestions! Here we go: https://youtu.be/RthGsZVPdOU 1 Link to comment Share on other sites More sharing options...
Luke 37057 Posted December 30, 2019 Share Posted December 30, 2019 Hi, that's great, thanks for doing this ! 1 Link to comment Share on other sites More sharing options...
jscoys 143 Posted December 30, 2019 Author Share Posted December 30, 2019 Hi, that's great, thanks for doing this ! My pleasure! Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
SMLMATS 0 Posted April 1, 2020 Share Posted April 1, 2020 @@jscoys Found it on youtube it's good you added it here. Great tutorial Link to comment Share on other sites More sharing options...
jscoys 143 Posted April 4, 2020 Author Share Posted April 4, 2020 Thx I did my best ;-) Saw you have an other question about scalability with iscsi disks, I think @@pir8radio will be the best to answer it, considering he's using the same king of hardware. Link to comment Share on other sites More sharing options...
Home2008 20 Posted February 27, 2022 Share Posted February 27, 2022 Hi, I am currently trying to install Emby in Docker on OMV 5. Unfortunately, my interface looks quite different from the one in the video. Can someone show me how to install Emby in Docker on OMV 5? Unfortunately, my English is not very good and I don't understand some things. Link to comment Share on other sites More sharing options...
Luke 37057 Posted March 1, 2022 Share Posted March 1, 2022 @Home2008 how far have you gotten? Link to comment Share on other sites More sharing options...
Home2008 20 Posted March 1, 2022 Share Posted March 1, 2022 I gave it up. I'm staying with Windows It's all too much effort for me to change it over. Link to comment Share on other sites More sharing options...
TimOlaf 3 Posted February 20 Share Posted February 20 On 12/29/2019 at 10:01 PM, jscoys said: I just posted a tutorial on Youtube where I explain all commands and steps to install your Emby Server and run it in a docker container. Here we go: https://youtu.be/RthGsZVPdOU Hi All, The above video is gone from YouTube. Does anyone know if there is a new link to this video? Or if there is a new version? Or perhaps a different set of similar instructions for someone just getting started with Docker (but who has been using Emby on Windows for many, many years)? Thanks, Tim Link to comment Share on other sites More sharing options...
Luke 37057 Posted February 20 Share Posted February 20 1 hour ago, TimOlaf said: Hi All, The above video is gone from YouTube. Does anyone know if there is a new link to this video? Or if there is a new version? Or perhaps a different set of similar instructions for someone just getting started with Docker (but who has been using Emby on Windows for many, many years)? Thanks, Tim Hi there, have you taken a look at our Docker setup guide? https://emby.media/docker-server.html Link to comment Share on other sites More sharing options...
TimOlaf 3 Posted February 20 Share Posted February 20 29 minutes ago, Luke said: Hi there, have you taken a look at our Docker setup guide? https://emby.media/docker-server.html Hey thanks a lot, Luke, that's probably exactly where I need to start. I really appreciate it! Link to comment Share on other sites More sharing options...
Luke 37057 Posted February 20 Share Posted February 20 Let us know how you get on. Thanks. Link to comment Share on other sites More sharing options...
TimOlaf 3 Posted February 20 Share Posted February 20 13 minutes ago, Luke said: Let us know how you get on. Thanks. I was able to get Emby up and running following those instructions. I modified the docker-compose.yml file the best I could, but I don't really understand all the lines. I don't believe my "volumes" section is correct. However, Emby itself seems to be running fine, and I'm able to open the web-page and navigate just like I used to in MS Windows. My current issue is getting a Library correctly set up. I"m able to add a new (music) Library -- the path is accepted by Emby setup, and the Library is created, but it has zero contents. It's the exact same folder I used for Emby Server in Windows. Maybe it's my "path" syntax, although I'm copying the path directly from the file explorer, and Emby is accepting it. I also chose "Other or Unstructured" for Music Folder Structure, just to be safe. Re-scanning media files yields nothing. Note that, I'm really happy just to have gotten Emby Server up and running, and again, everything on my server web page looks and acts like I'm used to on Windows. Just missing contents from newly added Library. I'm sure it has to do with my lack of understanding of Linux filesystem and path syntax, etc. Possibly something wrong in my docker-compose.yml as well. BTW, I'm using MX Linux. Thanks. 1 Link to comment Share on other sites More sharing options...
TimOlaf 3 Posted February 20 Share Posted February 20 16 hours ago, TimOlaf said: My current issue is getting a Library correctly set up. I"m able to add a new (music) Library -- the path is accepted by Emby setup, and the Library is created, but it has zero contents. It's the exact same folder I used for Emby Server in Windows. Maybe it's my "path" syntax, although I'm copying the path directly from the file explorer, and Emby is accepting it. I also chose "Other or Unstructured" for Music Folder Structure, just to be safe. Re-scanning media files yields nothing. Reading elsewhere, I believe the problem might be related to the server not having permission to read those folders. The folders are on an external drive that is currently mounted in MX Linux. I'm not sure how to ensure these permissions, but I'm learning as I go. Thanks. Link to comment Share on other sites More sharing options...
Luke 37057 Posted February 21 Share Posted February 21 23 hours ago, TimOlaf said: Reading elsewhere, I believe the problem might be related to the server not having permission to read those folders. The folders are on an external drive that is currently mounted in MX Linux. I'm not sure how to ensure these permissions, but I'm learning as I go. Thanks. Let us know if you find anything. Thanks. Link to comment Share on other sites More sharing options...
TimOlaf 3 Posted February 23 Share Posted February 23 Ok, made progress and have a working Emby server that I can access from other devices within my home, just like I was doing on Windows! I skipped the docker-compose.yml file, and just used a single (long) command line, modified from the embyserver setup instructions you referenced earlier, found here: https://hub.docker.com/r/emby/embyserver. Those instructions are useful, although not detailed enough for me, thus still required a lot of trial and error to get the settings right. Permissions was certainly an issue, but a lot of reading and trial and error, and I got them working as well. I'll probably go through it again from scratch on a clean system, because with all the trial and error, in the end I don't always know exactly what fixed certain problems, and what adjustments might have been superfluous. (I know just enough to be dangerous I guess, LOL.) I'm still a little confused on which "user" is being used for Emby in my Linux system. I don't mean the Emby user within the Emby environment, but I mean the user/owner in Linux that has permission to access the files on my mounted drive. There seems to be a Linux owner named "Emby Server (emby)" that I don't remember creating on my system. Was that user created during the software installation? My media folders are now owned by "Emby Server (emby)". It that how it should be? I don't really have a handle on what's going on. Having my external NTFS drive auto-mount with the correct settings will be the next task for me to defeat. Thanks. Link to comment Share on other sites More sharing options...
Luke 37057 Posted March 15 Share Posted March 15 @TimOlafdid you figure this out? Link to comment Share on other sites More sharing options...
TimOlaf 3 Posted March 16 Share Posted March 16 10 hours ago, Luke said: @TimOlafdid you figure this out? @LukeThanks for checking, for the most part, yes. Everything is working well. I don't understand every aspect of the settings, but it's more of a Linux learning curve issue, than it is Emby. I"ve learned how to permanently auto-mount an external drive with the permissions working. So, all is good for now, no specific questions. Thx. 1 Link to comment Share on other sites More sharing options...
Luke 37057 Posted March 21 Share Posted March 21 @TimOlafwhat was the solution? Link to comment Share on other sites More sharing options...
TimOlaf 3 Posted March 21 Share Posted March 21 (edited) 3 hours ago, Luke said: @TimOlafwhat was the solution? Howdy, at this point I'm unsure exactly what I'm answering, because I slowly solved various issues over time and there wasn't a single issue and a single solution. The last issues I solved were determining that "Emby server" is now a Linux username, and that user owns my media folder used by Emby. I assume this Linux username was created when installing the "embyserver" Docker container. I was able to edit my fstab file in order to automount the external hard drive by adding: //10.10.10.145/Collection /home/<username>/Collection cifs credentials=/home/<username>/.smbcredentials,iocharset=utf8 0 0 The external drive is always connected to this Linux system, and the system always has the same local IP. Also, I was able to run the Emby server as a Docker container using the command line: docker run -d --name embyserver --volume /opt/emby/config:/config --volume /media/<username>/Collection:/media/<username>/Collection --net=host --device /dev/dri:/dev/dri --publish 8096:8096 --publish 8920:8920 --env UID=999 --env GID=995 --env GIDLIST=1000 --restart on-failure emby/embyserver:latest ...where the UID and GID are for the Linux username: embyserver. If I reboot the system, it seems all I need to do is restart the Emby server by typing on the command line (this could probably be automated, I'm sure): docker start embyserver Edited March 21 by TimOlaf 1 Link to comment Share on other sites More sharing options...
Luke 37057 Posted March 25 Share Posted March 25 On 3/21/2024 at 6:22 PM, TimOlaf said: Howdy, at this point I'm unsure exactly what I'm answering, because I slowly solved various issues over time and there wasn't a single issue and a single solution. The last issues I solved were determining that "Emby server" is now a Linux username, and that user owns my media folder used by Emby. I assume this Linux username was created when installing the "embyserver" Docker container. I was able to edit my fstab file in order to automount the external hard drive by adding: //10.10.10.145/Collection /home/<username>/Collection cifs credentials=/home/<username>/.smbcredentials,iocharset=utf8 0 0 The external drive is always connected to this Linux system, and the system always has the same local IP. Also, I was able to run the Emby server as a Docker container using the command line: docker run -d --name embyserver --volume /opt/emby/config:/config --volume /media/<username>/Collection:/media/<username>/Collection --net=host --device /dev/dri:/dev/dri --publish 8096:8096 --publish 8920:8920 --env UID=999 --env GID=995 --env GIDLIST=1000 --restart on-failure emby/embyserver:latest ...where the UID and GID are for the Linux username: embyserver. If I reboot the system, it seems all I need to do is restart the Emby server by typing on the command line (this could probably be automated, I'm sure): docker start embyserver Thanks for following up ! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now