Jump to content

Recommended Posts

Posted

Try pulling the latest.

 

?!

 

That tag will be a forever tag for beta, or is just temporal issue?

Posted

Hi, hoping I can get a little help with moving my system from running emby-server from installing the .deb packages to running dockerised.

 

I'm premium, so I have a backup I can restore from; just need to get my configs right so the Docker container will have the right permissions and access to all my stuff.

 

I use docker a bit at work, so I have a little familiarity with the system

 

First a couple of general questions:

  • How robust is it against power loss or me forgetting to shut it down before a reboot?
  • Can I set something up so that it would properly stop the container automatically before a system shutdown?
  • Does it or can it be set to automatically start up on system boot?
  • When I first stop the existing service and start the docker one, pointing at the same config dir, will it make any changes? i.e. will I be able to bring up the old service again if I need to?

Other than that, I think it's just the run command bits I'd like a hand with:

  • I'm assuming I need to add every folder path which my existing setup uses into the command as volumes? Presumably if all of my folders are under /mnt/... then I can just mount system /mnt/ to container /mnt/ as a volume and the rest of the paths will be seen?
  • How do I know what, if anything, I need for VAAPI/NVDEC/NVENC?
  • Assume I can drop the line for the NVIDIA GPU as I'm only running a Matrox G200
  • How can I check what UID/GID my existing install runs under? If I just installed the .deb package will it be using my user's credentials? Is there anything to be said for having a separate user for it, just making sure it has all the requisite permissions?

Thanks for any help.

Posted (edited)
  • How robust is it against power loss or me forgetting to shut it down before a reboot?  -      Excellent
  • Can I set something up so that it would properly stop the container automatically before a system shutdown? -Yes
  • Does it or can it be set to automatically start up on system boot? -Yes
  • When I first stop the existing service and start the docker one, pointing at the same config dir, will it make any changes? i.e. will I be able to bring up the old service again if I need to? --Docker is a container that means that All Emby files are INSIDE the container. You need to setup the container with the proper permissions to all  shares (included the back-up directory)
  • I'm assuming I need to add every folder path which my existing setup uses into the command as volumes? Presumably if all of my folders are under /mnt/... then I can just mount system /mnt/ to container /mnt/ as a volume and the rest of the paths will be seen? ---- YOU CAN USE /nmt but it depends of the environment you may need to share the folders and then can use the SMB    on /sharefolders

 

  • How do I know what, if anything, I need for VAAPI/NVDEC/NVENC? -- They are already in the Emby docker, everything depends of your system. Docker works without mess your OS.

 

  • Assume I can drop the line for the NVIDIA GPU as I'm only running a Matrox G200 -- Not sure what you are talking about

 

  • How can I check what UID/GID my existing install runs under?  --- command line: $  id user     where "user"  is the user you are looking for
  •  
  • If I just installed the .deb package will it be using my user's credentials? Is there anything to be said for having a separate user for it, just making sure it has all the requisite permissions?  ---At the time to make the Emby docker you have to assign the user you want

 

 

 

All questions that you point works in the same way on docker

 

 

 

https://docs.docker.com/install/

 

Please READ THE MANUAL

 

https://hub.docker.com/r/emby/embyserver

Edited by HRSCR
Posted

 

 

Yes, I have these questions because I have read the manual, not because I am ignorant of it. The run command which I am asking about literally comes from the manual:

 

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

 

So I'm afraid there's still a lot I haven't understood.

  • The Emby files may be inside the container, but that command mounts the external "config" directory as a volume in the container. That suggests to me that the new install will use this location just the same as the old one did? So I'm wondering if a clean install (such as what will be inside the container before I restore from backup) will make changes to those files. I'd like to be able to test bringing up the container without potentially affecting my existing install initially.
  • Surely I wouldn't have to use SMB internally on a linux system? I was only suggesting mounting /mnt into the container because I figured it would be simpler. If it would cause a problem, then I can mount the subdirectories of my system's /mnt folder instead.
  • So the VAAPI/NVDEC/NVENC is what? It exposes devices (presumably GPU?) for the render nodes; but the computer running this install has no discrete graphics card.
  • As the previous point; the computer has no discrete GPU, so there isn't a Nvidia GPU to expose.
  • I know how to check my user's UID/GID; but I don't know if those would be the credentials used by the existing emby install. How can I tell? Do installed applications run under the credentials of the user who installed them?
Posted (edited)

Emby files can be inside the container, but that command mounts the external "config" directory as a volume in the container. Does that suggest that the new facility will use this location the same as the previous one? - Yes, as long as you use the same path for the Emby docker.
So, I wonder if a clean installation (like what will be inside the container before restoring from the backup) will make changes to those files. - Only if you change the paths. In any case, the back-up directory is not important, what matters is that the paths you had in the old installation are the same as the ones you will define in the docker

I wish I could test the opening of the container without potentially affecting my existing installation initially. - You can do it, just specify other ports than the Emby defaults.

Surely you would not have to use SMB internally on a Linux system? --- You can do it without Samba, however, Samba will help you with other tasks and may be useful for other devices or programs (for example, install Kodi next to Emby using the same paths in your directories.
  
I only suggested mounting / mnt in the container because I thought it would be simpler. If it caused a problem, then I can mount the subdirectories of the / mnt folder of my system.
- You do not give many details of whether what you use is a NAS with a RAID or if you simply use shared disks. In any case, if nothing is going to change there, you should not worry about anything, because the shares you now have can be assigned in the docker

/ share1
/ share2
etc

 

Example:  

movies  you can assign   /share1

 

IF you have more movies directories you can use movies2   /share2

 
It doesn't matter how many you do, but they must be shared on your server.
Remember that the instance of the SMB is not the same as the shared resources.

So what is VAAPI / NVDEC / NVENC? Expose devices (presumably GPU?) For rendering nodes; But the computer running this installation does not have a discrete graphics card. --- DO NOT worry about that, my server does not have a GPU, it is headless.

As the previous point; The computer does not have a discrete GPU, so there is no Nvidia GPU to expose. ----

I know how to verify the UID / GID of my user; But I don't know if those would be the credentials used by the existing emby installation. -- You can use the credentials of the user that you use when youcreate you firt Emby installation.... I mean, IF in the current installation you use "user1" take the ID of the "user1"

Emby will always create its own user --- emby--, with docker it will also, and if it already exists, it won't be a problem.
 
How can I say? Are installed applications running under the credentials of the user who installed them? - As long as you indicate it in the docker, and if you do not indicate it, the same will happen as when you installed the .deb Emby created it by itself.

DO NOT forget to reconfigure / check the path of your back-up in the admin panel. Also make sure you can access the shared directories from the Emby web platform.

If an error is found, it would be normally bad permissions.

Cheers

 

 

PS. Do not worry, Docker is just a container, the configuration at the end of the day is the same as you did with the .deb. It's just taking care of the details of paths and other details :)

Edited by HRSCR
Posted

@@Luke

 

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

Can you trigger the build?

Done.

  • Like 1
Posted

I seem to be stuck on 4.3.0.24 running emby/embyserver:beta

 

Just trying to troubleshoot if I have an unRAID issue or if the builds are just behind. Whats the latest beta build out on the official docker repository? 

Posted

I seem to be stuck on 4.3.0.24 running emby/embyserver:beta

 

Just trying to troubleshoot if I have an unRAID issue or if the builds are just behind. Whats the latest beta build out on the official docker repository? 

 

Betas should resume in the next couple days. Thanks.

  • Like 1
Posted

I installed an emby docker on an unraid server, I need to update it. The message on the server management window is:

"Version 3.5.3.0

A new version of Emby Server is available!

Version 4.3.0.30 is now available for download.

Please shutdown Emby Server and install the latest version."

How do I install the latest version?

And how do I backup the current installation so I can restore it if anything goes wrong?

I posted the question on the unraid docker forum page but I am getting no response.

 

 

Sent from my SM-A520F using Tapatalk

Posted

I installed an emby docker on an unraid server, I need to update it. The message on the server management window is:

"Version 3.5.3.0

A new version of Emby Server is available!

Version 4.3.0.30 is now available for download.

Please shutdown Emby Server and install the latest version."

How do I install the latest version?

And how do I backup the current installation so I can restore it if anything goes wrong?

I posted the question on the unraid docker forum page but I am getting no response.

 

 

Sent from my SM-A520F using Tapatalk

 

Coming all the way from 3.5 you may not have a perfect  upgrade. You'll likely need to run a full scan afterwards to restore library content.

 

The top of the server log file displays the program data path. I would suggest taking a full backup of that.

Posted

Beta build are up again, thanks!

Posted (edited)

Coming all the way from 3.5 you may not have a perfect upgrade. You'll likely need to run a full scan afterwards to restore library content.

 

The top of the server log file displays the program data path. I would suggest taking a full backup of that.

Full backup = copy of the whole directory?

 

Sent from my SM-A520F using Tapatalk

Edited by gnollo
Posted

I installed an emby docker on an unraid server, I need to update it. The message on the server management window is:

"Version 3.5.3.0

A new version of Emby Server is available!

Version 4.3.0.30 is now available for download.

Please shutdown Emby Server and install the latest version."

How do I install the latest version?

And how do I backup the current installation so I can restore it if anything goes wrong?

I posted the question on the unraid docker forum page but I am getting no response.

 

 

Sent from my SM-A520F using Tapatalk

 

If it hasn't already been answered then, to update emby in unraid, goto the docker tab in unraid, click on emby and a menu will appear. Click on stop to stop the emby docker, and to the right of the emby icon is a bit of text that says apply update. Click this button and emby will be updated to the latest version. After the update has completed, click on done in the box that is shown, then click on the emby icon again, and restart emby. It may take a little longer to start than you are used to as it will upgrade several important parts, but after a while you should be able to gain access to emby's backend and frontend.

 

Of course, as other have mentioned, its worth doing the backup first and as Luke has pointed out, make sure you do a full scan after the upgrade.

Posted

If it hasn't already been answered then, to update emby in unraid, goto the docker tab in unraid, click on emby and a menu will appear. Click on stop to stop the emby docker, and to the right of the emby icon is a bit of text that says apply update. Click this button and emby will be updated to the latest version. After the update has completed, click on done in the box that is shown, then click on the emby icon again, and restart emby. It may take a little longer to start than you are used to as it will upgrade several important parts, but after a while you should be able to gain access to emby's backend and frontend.

 

Of course, as other have mentioned, its worth doing the backup first and as Luke has pointed out, make sure you do a full scan after the upgrade.

 

Thank you, that is what I did last time I upgraded and it messed up the system, the emby server would not start. That's why I want to make sure that if the upgrade does not work I can just copy the folder that I backed up over the upgraded install and get back my setup.

Last time I had to delete the folder, install from scratch, then backup users and history. I had to recreate the settings as when I backed up the settings using the backup plugin, the server would not start again.

 

Does it make any difference that I am have installed it via the apps repository on unraid?

Posted (edited)

Did you install the official emby Docker or the binhex/linuxserver verions???

 

The one I use, and have never had a problem with upgrades is the official version from the apps repository. I have been running emby for over 2 years, but the difference it seems is that I upgrade as a new version comes out, whereas you are a couple behind with the upgrades.

 

I honestly don't know the answer to backing up and restoring as I have never had to revert to this, although I do an automatic backup through the emby server configuration backup of the last 5 days plus I also backup the whole emby server folder once a week.

Edited by apefray
Posted

Did you install the official emby Docker or the binhex/linuxserver verions???

 

The one I use, and have never had a problem with upgrades is the official version from the apps repository. I have been running emby for over 2 years, but the difference it seems is that I upgrade as a new version comes out, whereas you are a couple behind with the upgrades.

 

I honestly don't know the answer to backing up and restoring as I have never had to revert to this, although I do an automatic backup through the emby server configuration backup of the last 5 days plus I also backup the whole emby server folder once a week.

It's not the binex one

 

Sent from my SM-A520F using Tapatalk

Posted

Did you install the official emby Docker or the binhex/linuxserver verions???

 

The one I use, and have never had a problem with upgrades is the official version from the apps repository. I have been running emby for over 2 years, but the difference it seems is that I upgrade as a new version comes out, whereas you are a couple behind with the upgrades.

 

I honestly don't know the answer to backing up and restoring as I have never had to revert to this, although I do an automatic backup through the emby server configuration backup of the last 5 days plus I also backup the whole emby server folder once a week.

 

Found some instruction here on how to back up manually as well 

https://github.com/MediaBrowser/Wiki/wiki/Backup

Posted

I'm using LibreELEC 9.2 and Emby Server through Docker.  Does the Emby (LinuxServer,io) addon limited to 2 mounts only (Map /data/tv shows and Map /data/movies)?  I right now have it configured where my music, movies, and tv shows are redirected to the Map /data/tvshows mount.  What I wanted to do originally was set Map /data/movies for just movies, Map /data/tvshows for just TV shows, and create a 3rd mount called Map/data/music for just music, however, I could not find a way to create a Map /data/music for just music.

Posted

Where did you see that it's limited to two mounts?

Posted (edited)

I went to Addons > Installed Addons > Services > Emby (LinuxServer.io) > Configure.  It shows Map /config and the 2 redirected mount points that are Map /data/tvshows and Map /data/movies.  It also shows Additional docker parameters (optional), but I'm not sure what syntax to enter there.  Can I add a Map /data/music symbolic link mapped to my music folder on my hard drive?

Edited by Dave3000
Posted

Maybe their gui only supports two but I would think you could add more by manually editing the run command.

Posted (edited)

If it hasn't already been answered then, to update emby in unraid, goto the docker tab in unraid, click on emby and a menu will appear. Click on stop to stop the emby docker, and to the right of the emby icon is a bit of text that says apply update. Click this button and emby will be updated to the latest version. After the update has completed, click on done in the box that is shown, then click on the emby icon again, and restart emby. It may take a little longer to start than you are used to as it will upgrade several important parts, but after a while you should be able to gain access to emby's backend and frontend.

 

Of course, as other have mentioned, its worth doing the backup first and as Luke has pointed out, make sure you do a full scan after the upgrade.

It only shows 3.5.3.0. I force update, it does not go above that. How do I trigger a full install of the latest version?

When I click on it it shows the following repository: emby/embyserver:3.5.3.0

post-461-0-24034300-1576894163_thumb.jpg

Edited by gnollo

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