← Back
Tech Hut April 4, 2025 16m

FIXING my Proxmox Server - Plex and Docker (Servarr) Migration

Read full transcript 13 segments
  1. So, this video is for those of you So, this video is for those of you specifically who followed part one and specifically who followed part one and specifically who followed part one and part two of my kind of Proxmach server part two of my kind of Proxmach server part two of my kind of Proxmach server build walkthrough series. If you build walkthrough series. If you build walkthrough series. If you followed those videos and your setup's followed those videos and your setup's followed those videos and your setup's working perfectly for you, great. You working perfectly for you, great. You working perfectly for you, great. You probably don't need to do anything. But probably don't need to do anything. But probably don't need to do anything. But there have been some users that raised there have been some users that raised there have been some users that raised questions on if how I did it was the questions on if how I did it was the questions on if how I did it was the right way. And since recording that, right way. And since recording that, right way. And since recording that, I've actually shifted things around a I've actually shifted things around a I've actually shifted things around a little bit. So, what I'm going to do in little bit. So, what I'm going to do in little bit. So, what I'm going to do in this video is show you what I did and this video is show you what I did and this video is show you what I did and how to do it. Some of the things that how to do it. Some of the things that how to do it. Some of the things that people have questioned is the kind of people have questioned is the kind of people have questioned is the kind of bind mounting the vault storage pools to bind mounting the vault storage pools to bind mounting the vault storage pools to other LXC containers. Since then, I've other LXC containers. Since then, I've other LXC containers. Since then, I've squished everything down into one single squished everything down into one single squished everything down into one single container. For example, if we go over container. For example, if we go over container. For example, if we go over over here and I nano into one of the over here and I nano into one of the over here and I nano into one of the configurations, you could see I have configurations, you could see I have configurations, you could see I have mounted in mount point.1 and mount.0 mounted in mount point.1 and mount.0 mounted in mount point.1 and mount.0 uh these little sub volumes from a uh these little sub volumes from a uh these little sub volumes from a separate container vault right here. separate container vault right here. separate container vault right here. Vault is kind of the manager for all of Vault is kind of the manager for all of Vault is kind of the manager for all of the storage that I'm using for the the storage that I'm using for the the storage that I'm using for the servar and Plex instance. And the only servar and Plex instance. And the only servar and Plex instance. And the only issue that I've personally ran into was issue that I've personally ran into was issue that I've personally ran into was the having Plex separated as a the having Plex separated as a the having Plex separated as a privileged container trying to use the privileged container trying to use the privileged container trying to use the uh DVR recording features on to the uh DVR recording features on to the uh DVR recording features on to the vault data storage was giving me vault data storage was giving me vault data storage was giving me permissions issues. But doing what I do permissions issues. But doing what I do permissions issues. But doing what I do in this video has mitigated those in this video has mitigated those in this video has mitigated those problems. So if you run into issues problems. So if you run into issues problems. So if you run into issues having it all separated out like this, having it all separated out like this, having it all separated out like this, it's just a matter of installing Plex it's just a matter of installing Plex it's just a matter of installing Plex and Docker onto this vault container.

  2. and Docker onto this vault container. and Docker onto this vault container. So, in this video, I'm going to kind of So, in this video, I'm going to kind of So, in this video, I'm going to kind of show you the process for that. I'm going show you the process for that. I'm going show you the process for that. I'm going to show you how to uh back up Plex and to show you how to uh back up Plex and to show you how to uh back up Plex and move the uh configuration files and move the uh configuration files and move the uh configuration files and everything over uh how to install Docker everything over uh how to install Docker everything over uh how to install Docker on it. But first, we're going to go over on it. But first, we're going to go over on it. But first, we're going to go over some of the prerequisites and some of some of the prerequisites and some of some of the prerequisites and some of the things that we did to these other the things that we did to these other the things that we did to these other containers to make it work properly cuz containers to make it work properly cuz containers to make it work properly cuz this one's unprivileged. It is sometimes this one's unprivileged. It is sometimes this one's unprivileged. It is sometimes a little more difficult to get hardware a little more difficult to get hardware a little more difficult to get hardware transcoding working, but it's generally transcoding working, but it's generally transcoding working, but it's generally a pretty easy process. And the other a pretty easy process. And the other a pretty easy process. And the other thing we'll need to do is enable the thing we'll need to do is enable the thing we'll need to do is enable the tunnel. So, then we could use our VPN on tunnel. So, then we could use our VPN on tunnel. So, then we could use our VPN on the initial vault container. So, first the initial vault container. So, first the initial vault container. So, first thing we're going to do is go over to my thing we're going to do is go over to my thing we're going to do is go over to my actual Proxmox instance right here. And actual Proxmox instance right here. And actual Proxmox instance right here. And I am just going to show you the I am just going to show you the I am just going to show you the configuration that I have here for configuration that I have here for configuration that I have here for Serbar, which seems to be working Serbar, which seems to be working Serbar, which seems to be working perfectly. So, I'm going to CD into the perfectly. So, I'm going to CD into the perfectly. So, I'm going to CD into the directory for those configurations. And directory for those configurations. And directory for those configurations. And then I'm going to nano into it. So, we then I'm going to nano into it. So, we then I'm going to nano into it. So, we have this right here. And what we're have this right here. And what we're have this right here. And what we're going to want to grab first is these going to want to grab first is these going to want to grab first is these right here. This Lexe devices allow and right here. This Lexe devices allow and right here. This Lexe devices allow and the devet. This is what is going to make the devet. This is what is going to make the devet. This is what is going to make it so we can use the VPN. So, I'm going it so we can use the VPN. So, I'm going it so we can use the VPN. So, I'm going to copy that over and all this will be to copy that over and all this will be to copy that over and all this will be available in the description. So, you're available in the description. So, you're available in the description. So, you're going to want to go into the shell and going to want to go into the shell and going to want to go into the shell and then nano into the uh configuration for then nano into the uh configuration for then nano into the uh configuration for the vault container or the container the vault container or the container the vault container or the container that you're going to want your whole that you're going to want your whole that you're going to want your whole media server stack installed on. And media server stack installed on. And media server stack installed on. And then I am just going to drop this. Boop.

  3. then I am just going to drop this. Boop. then I am just going to drop this. Boop. Just like that. Right in there. Save Just like that. Right in there. Save Just like that. Right in there. Save that out. And now it will have access to that out. And now it will have access to that out. And now it will have access to that tunnel device. Additionally, for that tunnel device. Additionally, for that tunnel device. Additionally, for Plex, we're going to want this dev zero Plex, we're going to want this dev zero Plex, we're going to want this dev zero dev 1. You can see I'm giving access to dev 1. You can see I'm giving access to dev 1. You can see I'm giving access to card zero. Depending on your system, it card zero. Depending on your system, it card zero. Depending on your system, it might be card one, it might be uh might be card one, it might be uh might be card one, it might be uh something else, but I'm just going to something else, but I'm just going to something else, but I'm just going to copy this real quick. And then I'm also copy this real quick. And then I'm also copy this real quick. And then I'm also going to drop this into our going to drop this into our going to drop this into our configuration here, allowing us for that configuration here, allowing us for that configuration here, allowing us for that Intel hardware transcoding. So, real Intel hardware transcoding. So, real Intel hardware transcoding. So, real quick, I'm going to save that out. So, quick, I'm going to save that out. So, quick, I'm going to save that out. So, now we should have access to the VPN as now we should have access to the VPN as now we should have access to the VPN as well as Intel. And if you're not sure on well as Intel. And if you're not sure on well as Intel. And if you're not sure on the specific card number, if we uh were the specific card number, if we uh were the specific card number, if we uh were still in our shell for our main Proxmox still in our shell for our main Proxmox still in our shell for our main Proxmox instance. So if I back out of here and instance. So if I back out of here and instance. So if I back out of here and go to ls which is to list all the things go to ls which is to list all the things go to ls which is to list all the things in the directory dev diri i dr i sorry in the directory dev diri i dr i sorry in the directory dev diri i dr i sorry you can see it is going to be card zero you can see it is going to be card zero you can see it is going to be card zero in the renderer d128. So if I go over in the renderer d128. So if I go over in the renderer d128. So if I go over here and go under resources we're going here and go under resources we're going here and go under resources we're going to see that added right there. I'm just to see that added right there. I'm just to see that added right there. I'm just going to reboot this. So, let's go to going to reboot this. So, let's go to going to reboot this. So, let's go to shutdown, reboot, and then go into the shutdown, reboot, and then go into the shutdown, reboot, and then go into the actual console for our vault to see and actual console for our vault to see and actual console for our vault to see and make sure that we can see these cards make sure that we can see these cards make sure that we can see these cards here. So, I'm going to just log in as here. So, I'm going to just log in as here. So, I'm going to just log in as root real quick. And now, if I ls to dev root real quick. And now, if I ls to dev root real quick. And now, if I ls to dev and dr, we will see card zero and and dr, we will see card zero and and dr, we will see card zero and renderer. So, now we know we have that renderer. So, now we know we have that renderer. So, now we know we have that Intel uh quicks sync access right here.

  4. Intel uh quicks sync access right here. Intel uh quicks sync access right here. Additionally, we can check to see if Additionally, we can check to see if Additionally, we can check to see if this uh unprivileged Lexe can see our uh this uh unprivileged Lexe can see our uh this uh unprivileged Lexe can see our uh tunnel. So we can do the same thing uh tunnel. So we can do the same thing uh tunnel. So we can do the same thing uh lsde dev and it's under net and we can lsde dev and it's under net and we can lsde dev and it's under net and we can see ton there. If I add a ton, we have see ton there. If I add a ton, we have see ton there. If I add a ton, we have access to the device. So now when we set access to the device. So now when we set access to the device. So now when we set up our VPN, whether that be gluten or up our VPN, whether that be gluten or up our VPN, whether that be gluten or whatever VPN tool you prefer to use. Now whatever VPN tool you prefer to use. Now whatever VPN tool you prefer to use. Now since these data structures are the since these data structures are the since these data structures are the same, you shouldn't really need to do same, you shouldn't really need to do same, you shouldn't really need to do too much work on your actual stack. You too much work on your actual stack. You too much work on your actual stack. You should just be able to run your Docker should just be able to run your Docker should just be able to run your Docker stack directly on Vault just as you do stack directly on Vault just as you do stack directly on Vault just as you do with Servar. So if I cd into root, you with Servar. So if I cd into root, you with Servar. So if I cd into root, you can see we have the docker and data can see we have the docker and data can see we have the docker and data folders there. And under servar, if we folders there. And under servar, if we folders there. And under servar, if we do the exact same thing, cd into root, do the exact same thing, cd into root, do the exact same thing, cd into root, you'll also see data docker. So all of you'll also see data docker. So all of you'll also see data docker. So all of our stuff is set up perfectly. So first our stuff is set up perfectly. So first our stuff is set up perfectly. So first thing to move this docker stack over. I thing to move this docker stack over. I thing to move this docker stack over. I believe we originally set this up on believe we originally set this up on believe we originally set this up on portainer. So we're going to go over to portainer. So we're going to go over to portainer. So we're going to go over to that instance. So there it is. If I live that instance. So there it is. If I live that instance. So there it is. If I live connect to it, you can see I have all my connect to it, you can see I have all my connect to it, you can see I have all my containers here up and running. And a containers here up and running. And a containers here up and running. And a beautiful thing is we did not actually beautiful thing is we did not actually beautiful thing is we did not actually create any uh volumes. So we have create any uh volumes. So we have create any uh volumes. So we have everything or all our data and everything or all our data and everything or all our data and configurations bind mounted. So again configurations bind mounted. So again configurations bind mounted. So again migrating and moving this is really migrating and moving this is really migrating and moving this is really easy. Going to go over here to stacks go easy. Going to go over here to stacks go easy. Going to go over here to stacks go to our r stack and then we are simply to our r stack and then we are simply to our r stack and then we are simply going to stop all of these containers going to stop all of these containers going to stop all of these containers from running. So let's stop everything.

  5. from running. So let's stop everything. from running. So let's stop everything. So now that everything is stopped all we So now that everything is stopped all we So now that everything is stopped all we need to do is move over our stack to the need to do is move over our stack to the need to do is move over our stack to the original uh vault lexe that manages all original uh vault lexe that manages all original uh vault lexe that manages all of our storage. So, if we are in stacks of our storage. So, if we are in stacks of our storage. So, if we are in stacks here, I go over to editor. I'm not going here, I go over to editor. I'm not going here, I go over to editor. I'm not going to scroll down too much because I have to scroll down too much because I have to scroll down too much because I have all my keys and passwords and whatnot. all my keys and passwords and whatnot. all my keys and passwords and whatnot. But I will note and I have to give a big But I will note and I have to give a big But I will note and I have to give a big shout out to you guys who are on the shout out to you guys who are on the shout out to you guys who are on the GitHub submit issues, give suggestions GitHub submit issues, give suggestions GitHub submit issues, give suggestions to make this better. One of you guys to make this better. One of you guys to make this better. One of you guys really appreciate it suggested that I really appreciate it suggested that I really appreciate it suggested that I set up a servar network with the subnet set up a servar network with the subnet set up a servar network with the subnet right here. So then when we're linking right here. So then when we're linking right here. So then when we're linking all of our R containers, we will have all of our R containers, we will have all of our R containers, we will have set IP addresses for everything. So if I set IP addresses for everything. So if I set IP addresses for everything. So if I scroll down here to like sonar for scroll down here to like sonar for scroll down here to like sonar for example, everything's set up the same example, everything's set up the same example, everything's set up the same except for now we have network servar except for now we have network servar except for now we have network servar and the IP address we give it the one and the IP address we give it the one and the IP address we give it the one ending in three. So it will always be ending in three. So it will always be ending in three. So it will always be that even after like an update or the that even after like an update or the that even after like an update or the services restart. It doesn't services restart. It doesn't services restart. It doesn't automatically change those kind of automatically change those kind of automatically change those kind of Docker internal IP addresses at all. Docker internal IP addresses at all. Docker internal IP addresses at all. Makes it really handy. So real quick Makes it really handy. So real quick Makes it really handy. So real quick going back over here I'm going to go to going back over here I'm going to go to going back over here I'm going to go to our vault instance under console and our vault instance under console and our vault instance under console and we're just going to install Docker real we're just going to install Docker real we're just going to install Docker real quick. To do this I'm going to switch quick. To do this I'm going to switch quick. To do this I'm going to switch over to my user. There we go. And using over to my user. There we go. And using over to my user. There we go. And using the guide from our site, I'm just going the guide from our site, I'm just going the guide from our site, I'm just going to quickly grab some of these commands.

  6. to quickly grab some of these commands. to quickly grab some of these commands. So, we're going to grab the really quick So, we're going to grab the really quick So, we're going to grab the really quick Docker install script and drop her on in Docker install script and drop her on in Docker install script and drop her on in there. Oh, probably go to my home there. Oh, probably go to my home there. Oh, probably go to my home directory here. And then grab that. And directory here. And then grab that. And directory here. And then grab that. And then we are just going to simply run the then we are just going to simply run the then we are just going to simply run the script. And there we go. Docker's script. And there we go. Docker's script. And there we go. Docker's installed. So now what I'm going to do installed. So now what I'm going to do installed. So now what I'm going to do real quick is set up my user to manage real quick is set up my user to manage real quick is set up my user to manage Docker as nonroot. This is a thing I Docker as nonroot. This is a thing I Docker as nonroot. This is a thing I recommend. If you install it with the recommend. If you install it with the recommend. If you install it with the script, it automatically adds the Docker script, it automatically adds the Docker script, it automatically adds the Docker group. So we just need to drop in this group. So we just need to drop in this group. So we just need to drop in this command right here which will add me to command right here which will add me to command right here which will add me to that and then this command which will that and then this command which will that and then this command which will kind of update those groups. So now I kind of update those groups. So now I kind of update those groups. So now I can manage docker without needing to use can manage docker without needing to use can manage docker without needing to use pseudo. Now at this point if you want to pseudo. Now at this point if you want to pseudo. Now at this point if you want to you can reinstaller and set it up again you can reinstaller and set it up again you can reinstaller and set it up again that way. I'm kind of in the process of that way. I'm kind of in the process of that way. I'm kind of in the process of just using compose files and not messing just using compose files and not messing just using compose files and not messing with at all. I as I learn how to use with at all. I as I learn how to use with at all. I as I learn how to use docker properly and all the different docker properly and all the different docker properly and all the different commands and everything I find it less commands and everything I find it less commands and everything I find it less and less necessary to use it that way. and less necessary to use it that way. and less necessary to use it that way. So what I do now personally and again do So what I do now personally and again do So what I do now personally and again do this however you want. I cd into the this however you want. I cd into the this however you want. I cd into the docker directory. And I just reset this docker directory. And I just reset this docker directory. And I just reset this up. So let's make sure I have access up. So let's make sure I have access up. So let's make sure I have access which I do. Beautiful. Right in here which I do. Beautiful. Right in here which I do. Beautiful. Right in here within this directory I'm going to carry within this directory I'm going to carry within this directory I'm going to carry a a a nanompose.yamel file and then just copy nanompose.yamel file and then just copy nanompose.yamel file and then just copy my stack just as is. So I could copy it my stack just as is. So I could copy it my stack just as is. So I could copy it and then paste it right into this. So and then paste it right into this. So and then paste it right into this. So there we go. Everything's good. All the there we go. Everything's good. All the there we go. Everything's good. All the configurations are the same. If I really configurations are the same. If I really configurations are the same. If I really wanted to, which I'm not going to do, I wanted to, which I'm not going to do, I wanted to, which I'm not going to do, I could go through and like remove this could go through and like remove this could go through and like remove this and add a dot since it's within the same and add a dot since it's within the same and add a dot since it's within the same directory, but just keep everything directory, but just keep everything directory, but just keep everything perfect. I'm going to leave it as is.

  7. perfect. I'm going to leave it as is. perfect. I'm going to leave it as is. And again, all these now have their own And again, all these now have their own And again, all these now have their own kind of static local IP addresses here. kind of static local IP addresses here. kind of static local IP addresses here. So, control O output that X. There we So, control O output that X. There we So, control O output that X. There we go. And now I should just be able to run go. And now I should just be able to run go. And now I should just be able to run a docker compose up. And I'm just going a docker compose up. And I'm just going a docker compose up. And I'm just going to leave up just to kind of watch it do to leave up just to kind of watch it do to leave up just to kind of watch it do everything to make sure there's no major everything to make sure there's no major everything to make sure there's no major errors or anything like that as it errors or anything like that as it errors or anything like that as it starts up all these containers. So we'll starts up all these containers. So we'll starts up all these containers. So we'll give it a minute to pull them all real give it a minute to pull them all real give it a minute to pull them all real quick. So there we go. Everything's quick. So there we go. Everything's quick. So there we go. Everything's starting up and I'm not seeing any starting up and I'm not seeing any starting up and I'm not seeing any problems. So I'm going to go C to stop problems. So I'm going to go C to stop problems. So I'm going to go C to stop everything and then just another uh everything and then just another uh everything and then just another uh docker compose up-d. So everything will docker compose up-d. So everything will docker compose up-d. So everything will be running in the background. And now be running in the background. And now be running in the background. And now it's at this point that you can go to it's at this point that you can go to it's at this point that you can go to your applications. uh since we added your applications. uh since we added your applications. uh since we added those IP addresses and all that, you may those IP addresses and all that, you may those IP addresses and all that, you may need to go through and kind of relink uh need to go through and kind of relink uh need to go through and kind of relink uh sonar, radar, prowler, all those things sonar, radar, prowler, all those things sonar, radar, prowler, all those things together again. But since all the together again. But since all the together again. But since all the configurations and everything are saved configurations and everything are saved configurations and everything are saved in a bind mount, uh you should be good in a bind mount, uh you should be good in a bind mount, uh you should be good to go. And you noticed I didn't delete to go. And you noticed I didn't delete to go. And you noticed I didn't delete this yet, just in case if there's any this yet, just in case if there's any this yet, just in case if there's any issues, I want to be able to fall back issues, I want to be able to fall back issues, I want to be able to fall back onto my kind of original setup here. So, onto my kind of original setup here. So, onto my kind of original setup here. So, I'm not going to delete it yet, but I am I'm not going to delete it yet, but I am I'm not going to delete it yet, but I am going to shut this down because I going to shut this down because I going to shut this down because I technically am not going to need to use technically am not going to need to use technically am not going to need to use it anymore, but I will keep it present it anymore, but I will keep it present it anymore, but I will keep it present there as a backup just in case. So, there as a backup just in case. So, there as a backup just in case. So, there we go. Now, we get to fight with there we go. Now, we get to fight with there we go. Now, we get to fight with Plex. And I haven't set this up, so I'm Plex. And I haven't set this up, so I'm Plex. And I haven't set this up, so I'm going to pause the video real quick and going to pause the video real quick and going to pause the video real quick and actually do it so I have a good example actually do it so I have a good example actually do it so I have a good example to show you. All right, so there we go.

  8. to show you. All right, so there we go. to show you. All right, so there we go. I quickly set up that actual Plex I quickly set up that actual Plex I quickly set up that actual Plex instance. So, now you can see I have one instance. So, now you can see I have one instance. So, now you can see I have one movie. Just downloaded a quick free movie. Just downloaded a quick free movie. Just downloaded a quick free copyright free movie from here. So, what copyright free movie from here. So, what copyright free movie from here. So, what I'm going to do is move the Plex I'm going to do is move the Plex I'm going to do is move the Plex configuration to the new instance. But configuration to the new instance. But configuration to the new instance. But first, to do that, we actually need to first, to do that, we actually need to first, to do that, we actually need to install Plex. So, if I go back over install Plex. So, if I go back over install Plex. So, if I go back over here, and we want to install Plex on the here, and we want to install Plex on the here, and we want to install Plex on the initial vault container that again initial vault container that again initial vault container that again manages all the storage. So, over here manages all the storage. So, over here manages all the storage. So, over here under Plex downloads, we are going to go under Plex downloads, we are going to go under Plex downloads, we are going to go to Plex media server, and we're going to to Plex media server, and we're going to to Plex media server, and we're going to select the Linux version. Choose our select the Linux version. Choose our select the Linux version. Choose our distribution, which is going to be distribution, which is going to be distribution, which is going to be Ubuntu 64-bit. Obviously, choose the one Ubuntu 64-bit. Obviously, choose the one Ubuntu 64-bit. Obviously, choose the one for your machine. And actually, let's for your machine. And actually, let's for your machine. And actually, let's cancel that. Right click on this and hit cancel that. Right click on this and hit cancel that. Right click on this and hit copy link. Go in here. We're going to copy link. Go in here. We're going to copy link. Go in here. We're going to wget and then drop it on in to download wget and then drop it on in to download wget and then drop it on in to download the file. And now over here to install the file. And now over here to install the file. And now over here to install it, we're going to use a dpkg command. it, we're going to use a dpkg command. it, we're going to use a dpkg command. So we're going to just grab that, drop So we're going to just grab that, drop So we're going to just grab that, drop it on in, and point that to the Plex it on in, and point that to the Plex it on in, and point that to the Plex file that we just downloaded. And you file that we just downloaded. And you file that we just downloaded. And you can see there we got zero warnings. I'm can see there we got zero warnings. I'm can see there we got zero warnings. I'm going to run a uh pseudoapp update. And going to run a uh pseudoapp update. And going to run a uh pseudoapp update. And real quick, just for funsies, let's make real quick, just for funsies, let's make real quick, just for funsies, let's make it so we can update it through the it so we can update it through the it so we can update it through the actual apt command. So, if we go over actual apt command. So, if we go over actual apt command. So, if we go over here to enable repository updating, uh, here to enable repository updating, uh, here to enable repository updating, uh, we're going to want to edit this file we're going to want to edit this file we're going to want to edit this file here. So, give that a copy. Pseudo nano.

  9. here. So, give that a copy. Pseudo nano. here. So, give that a copy. Pseudo nano. Drop that in. And then right here, we're Drop that in. And then right here, we're Drop that in. And then right here, we're just going to uncomment this line. So, just going to uncomment this line. So, just going to uncomment this line. So, now if I output that and run an apt now if I output that and run an apt now if I output that and run an apt update again, we can see that it's update again, we can see that it's update again, we can see that it's getting from download plex. So, now it getting from download plex. So, now it getting from download plex. So, now it should update that way for us. And I should update that way for us. And I should update that way for us. And I might as well upgrade this while I'm at might as well upgrade this while I'm at might as well upgrade this while I'm at it. Boop. There we go. And now here we it. Boop. There we go. And now here we it. Boop. There we go. And now here we have move install to another system. It have move install to another system. It have move install to another system. It goes over how to do all of that. There goes over how to do all of that. There goes over how to do all of that. There are a couple things you're going to want are a couple things you're going to want are a couple things you're going to want to do in Plex first, such as emptying to do in Plex first, such as emptying to do in Plex first, such as emptying the trash after or automatically. We're the trash after or automatically. We're the trash after or automatically. We're going to want to disable that. So, if we going to want to disable that. So, if we going to want to disable that. So, if we go over to our settings and do it under go over to our settings and do it under go over to our settings and do it under this Plex server, and I believe it would this Plex server, and I believe it would this Plex server, and I believe it would be under library. And there it is. So, be under library. And there it is. So, be under library. And there it is. So, disable this option here. Scroll all the disable this option here. Scroll all the disable this option here. Scroll all the way down. Save those changes. And now way down. Save those changes. And now way down. Save those changes. And now what I'm going to do is go over to our what I'm going to do is go over to our what I'm going to do is go over to our initial Plex instance in the separate initial Plex instance in the separate initial Plex instance in the separate container and we're going to stop it. container and we're going to stop it. container and we're going to stop it. Systemct ctl stop plex media Systemct ctl stop plex media Systemct ctl stop plex media server.service. There we go. It is now server.service. There we go. It is now server.service. There we go. It is now stopped. And we can confirm that by stopped. And we can confirm that by stopped. And we can confirm that by refreshing this. There we go. Plex is refreshing this. There we go. Plex is refreshing this. There we go. Plex is offline. So if we scroll down, we'll be offline. So if we scroll down, we'll be offline. So if we scroll down, we'll be able to kind of see where those files able to kind of see where those files able to kind of see where those files are. And then we want this right here, are. And then we want this right here, are. And then we want this right here, this related page. Where are my Plex this related page. Where are my Plex this related page. Where are my Plex media files stored? And under Linux, media files stored? And under Linux, media files stored? And under Linux, they should be under var lib plex media they should be under var lib plex media they should be under var lib plex media server. So if I go over here and we're server. So if I go over here and we're server. So if I go over here and we're going to check to see if that's where going to check to see if that's where going to check to see if that's where they are. So var lib plex media server they are. So var lib plex media server they are. So var lib plex media server ls. We have a library file there or ls. We have a library file there or ls. We have a library file there or library folder. So now we're going to go library folder. So now we're going to go library folder. So now we're going to go over here to vault where we're

  10. over here to vault where we're over here to vault where we're installing our new Plex instance. And we installing our new Plex instance. And we installing our new Plex instance. And we also want to stop it here. So pseudo also want to stop it here. So pseudo also want to stop it here. So pseudo systemctl stop plex media systemctl stop plex media systemctl stop plex media server.serviceservice. And there we go. server.serviceservice. And there we go. server.serviceservice. And there we go. With the service stopped here on the new With the service stopped here on the new With the service stopped here on the new installation, we can cd over to installation, we can cd over to installation, we can cd over to var lib and the plex media server. And var lib and the plex media server. And var lib and the plex media server. And we have that library folder there. Now we have that library folder there. Now we have that library folder there. Now what I'm going to do, this is the new what I'm going to do, this is the new what I'm going to do, this is the new installation. I haven't done anything to installation. I haven't done anything to installation. I haven't done anything to it. So I can just do a remove rf and it. So I can just do a remove rf and it. So I can just do a remove rf and then the library folder. Pseudo remove then the library folder. Pseudo remove then the library folder. Pseudo remove the library folder. There we go. There's the library folder. There we go. There's the library folder. There we go. There's nothing in there now. So, we're going to nothing in there now. So, we're going to nothing in there now. So, we're going to want to move that library folder from want to move that library folder from want to move that library folder from one LXC to the other. There's a number one LXC to the other. There's a number one LXC to the other. There's a number of ways to go about this, but I found it of ways to go about this, but I found it of ways to go about this, but I found it the easiest to just kind of mount the the easiest to just kind of mount the the easiest to just kind of mount the root file system of this into our vault. root file system of this into our vault. root file system of this into our vault. So, for that, we're going to go over to So, for that, we're going to go over to So, for that, we're going to go over to our Proxmog shell PVE here. And then we our Proxmog shell PVE here. And then we our Proxmog shell PVE here. And then we are going to nano into our Plex are going to nano into our Plex are going to nano into our Plex container and get the actual root file container and get the actual root file container and get the actual root file system. So you can see it right here.

  11. system. So you can see it right here. system. So you can see it right here. I'm just going to grab this, copy it, I'm just going to grab this, copy it, I'm just going to grab this, copy it, and then I'm going to mount it to our and then I'm going to mount it to our and then I'm going to mount it to our new vault as just a temporary directory. new vault as just a temporary directory. new vault as just a temporary directory. So if I go and edit the 100 So if I go and edit the 100 So if I go and edit the 100 configuration, I can create a new configuration, I can create a new configuration, I can create a new temporary mount point, mount point two temporary mount point, mount point two temporary mount point, mount point two or two, the location of the original or two, the location of the original or two, the location of the original root file system. And I'm going to set root file system. And I'm going to set root file system. And I'm going to set the mount point as just temp. And then the mount point as just temp. And then the mount point as just temp. And then set the mount point. So I'm going to go set the mount point. So I'm going to go set the mount point. So I'm going to go over here, kind of have it formatted over here, kind of have it formatted over here, kind of have it formatted properly. Mount point equals I'm just properly. Mount point equals I'm just properly. Mount point equals I'm just going to do it as temp. Just like that. going to do it as temp. Just like that. going to do it as temp. Just like that. So if I output this, save it out. Close So if I output this, save it out. Close So if I output this, save it out. Close out. And now I'm going to restart this. out. And now I'm going to restart this. out. And now I'm going to restart this. But before I do, I am going to I'm going But before I do, I am going to I'm going But before I do, I am going to I'm going to disable this so it doesn't restart to disable this so it doesn't restart to disable this so it doesn't restart when we uh reboot the system. And I when we uh reboot the system. And I when we uh reboot the system. And I think it's just disabled. Right. There think it's just disabled. Right. There think it's just disabled. Right. There we go. So now if we reboot pseudo reboot we go. So now if we reboot pseudo reboot we go. So now if we reboot pseudo reboot there you go it's rebooted relog in now there you go it's rebooted relog in now there you go it's rebooted relog in now let's first make sure that's ls it is let's first make sure that's ls it is let's first make sure that's ls it is there I'm going to switch users to there I'm going to switch users to there I'm going to switch users to Brandon make sure that plex is in fact Brandon make sure that plex is in fact Brandon make sure that plex is in fact not running which we can see there it is not running which we can see there it is not running which we can see there it is inactive so now to copy the files I'm inactive so now to copy the files I'm inactive so now to copy the files I'm going to travel to the directory that I going to travel to the directory that I going to travel to the directory that I want them to be so that's going to be want them to be so that's going to be want them to be so that's going to be under var lib flex media server we can under var lib flex media server we can under var lib flex media server we can see there's still nothing in there so see there's still nothing in there so see there's still nothing in there so we're just going to do a simple we we're just going to do a simple we we're just going to do a simple we should probably arsync because that is a should probably arsync because that is a should probably arsync because that is a lot of files. So lot of files. So lot of files. So pseudo this rsync oh this rsync command pseudo this rsync oh this rsync command pseudo this rsync oh this rsync command here and we're going to want to grab here and we're going to want to grab here and we're going to want to grab this from the temp var lib flex media

  12. this from the temp var lib flex media this from the temp var lib flex media server and we're going to want to grab server and we're going to want to grab server and we're going to want to grab that library directory and we're just that library directory and we're just that library directory and we're just going to want to drop it in our current going to want to drop it in our current going to want to drop it in our current directory also as library. So I think I directory also as library. So I think I directory also as library. So I think I got the formatting correct. If I don't got the formatting correct. If I don't got the formatting correct. If I don't we'll fix it. So I'm just going to hit we'll fix it. So I'm just going to hit we'll fix it. So I'm just going to hit enter and then there it goes. It's going enter and then there it goes. It's going enter and then there it goes. It's going to start moving over everything. Since to start moving over everything. Since to start moving over everything. Since it was a new install, it wasn't a lot. it was a new install, it wasn't a lot. it was a new install, it wasn't a lot. So, cross my fingers. There we go. So, cross my fingers. There we go. So, cross my fingers. There we go. There's our library. Now, we need to There's our library. Now, we need to There's our library. Now, we need to change the permissions. So, if I do lsl, change the permissions. So, if I do lsl, change the permissions. So, if I do lsl, I'm going to want to give this to plex I'm going to want to give this to plex I'm going to want to give this to plex and plex. So, if I drop in a pseudo ch r and plex. So, if I drop in a pseudo ch r and plex. So, if I drop in a pseudo ch r plex plex plex plex, and I point this to library, hit plex, and I point this to library, hit plex, and I point this to library, hit enter. If I lsl, you can see it is now enter. If I lsl, you can see it is now enter. If I lsl, you can see it is now plex plex. So in theory, we can now shut plex plex. So in theory, we can now shut plex plex. So in theory, we can now shut down this old instance of Plex. Yes. And down this old instance of Plex. Yes. And down this old instance of Plex. Yes. And if I go over here and then launch Plex. if I go over here and then launch Plex. if I go over here and then launch Plex. So we need to enable it. Systemct ctl So we need to enable it. Systemct ctl So we need to enable it. Systemct ctl enable Plex media server service and enable Plex media server service and enable Plex media server service and then start it up. There we go. And now then start it up. There we go. And now then start it up. There we go. And now when I navigate to the IP address of when I navigate to the IP address of when I navigate to the IP address of this server with the Plex port, it this server with the Plex port, it this server with the Plex port, it should all already be good to go. setup should all already be good to go. setup should all already be good to go. setup and everything. So, if I copy this 2 4 and everything. So, if I copy this 2 4 and everything. So, if I copy this 2 4 0. There we go. We have Plex. And this 0. There we go. We have Plex. And this 0. There we go. We have Plex. And this is my main server. But if I go over here is my main server. But if I go over here is my main server. But if I go over here to this one. There we go. So, we've to this one. There we go. So, we've to this one. There we go. So, we've successfully migrated Plex over from the successfully migrated Plex over from the successfully migrated Plex over from the dedicated C to the main one that houses

  13. dedicated C to the main one that houses dedicated C to the main one that houses all of our data, Docker containers, all of our data, Docker containers, all of our data, Docker containers, everything. So, we squished all of those everything. So, we squished all of those everything. So, we squished all of those three containers into one. Actually, three containers into one. Actually, three containers into one. Actually, before goodbyes, let's make sure our before goodbyes, let's make sure our before goodbyes, let's make sure our hardware transcoding is working. So, hardware transcoding is working. So, hardware transcoding is working. So, let's try to convert this down. Oh, let's try to convert this down. Oh, let's try to convert this down. Oh, good. It's hardware transcoding. All good. It's hardware transcoding. All good. It's hardware transcoding. All right. Bye.

Summary

This video addresses user questions regarding the Proxmox server build, specifically the management of storage pools and the Plex DVR feature. It explains a revised approach where Plex and Docker are consolidated into a single "vault" container to resolve permission issues encountered with separate privileged containers. The practical takeaway is a guide to backing up Plex, installing Docker, and consolidating your setup for smoother operation.

View original episode ↗