<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	
	>
<channel>
	<title>
	Comments on: Plex containerized, with NFS mounts!	</title>
	<atom:link href="https://www.omgthecloud.com/plex-containerized-with-nfs-mounts/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.omgthecloud.com/plex-containerized-with-nfs-mounts/</link>
	<description>Video Tutorials for IT Professionals. Entertainment for the rest of us</description>
	<lastBuildDate>Tue, 07 Feb 2023 16:07:44 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.1</generator>
	<item>
		<title>
		By: Rob		</title>
		<link>https://www.omgthecloud.com/plex-containerized-with-nfs-mounts/#comment-196</link>

		<dc:creator><![CDATA[Rob]]></dc:creator>
		<pubDate>Tue, 07 Feb 2023 16:07:44 +0000</pubDate>
		<guid isPermaLink="false">https://www.omgthecloud.com/?p=76#comment-196</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.omgthecloud.com/plex-containerized-with-nfs-mounts/#comment-195&quot;&gt;OMG!&lt;/a&gt;.

I&#039;m actually using Portainer stacks to make things simpler.  Used docker-compose just to help debug previous error.  This is great stuff, thanks again, really appreciate your help.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.omgthecloud.com/plex-containerized-with-nfs-mounts/#comment-195">OMG!</a>.</p>
<p>I&#8217;m actually using Portainer stacks to make things simpler.  Used docker-compose just to help debug previous error.  This is great stuff, thanks again, really appreciate your help.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: OMG!		</title>
		<link>https://www.omgthecloud.com/plex-containerized-with-nfs-mounts/#comment-195</link>

		<dc:creator><![CDATA[OMG!]]></dc:creator>
		<pubDate>Tue, 07 Feb 2023 15:56:23 +0000</pubDate>
		<guid isPermaLink="false">https://www.omgthecloud.com/?p=76#comment-195</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.omgthecloud.com/plex-containerized-with-nfs-mounts/#comment-194&quot;&gt;Rob&lt;/a&gt;.

Good work! Wrangling NFS both from an access and GID/UID perspective can be challenging the first few times; glad you got it sorted out. BTW not sure if this was incomplete from your code snippet, but you want to use `docker-compose -d` (adding the `-d` to your cmd) to ensure it runs in &quot;disconnected&quot; aka daemonized mode. Cheers!
~OMG]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.omgthecloud.com/plex-containerized-with-nfs-mounts/#comment-194">Rob</a>.</p>
<p>Good work! Wrangling NFS both from an access and GID/UID perspective can be challenging the first few times; glad you got it sorted out. BTW not sure if this was incomplete from your code snippet, but you want to use `docker-compose -d` (adding the `-d` to your cmd) to ensure it runs in &#8220;disconnected&#8221; aka daemonized mode. Cheers!<br />
~OMG</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rob		</title>
		<link>https://www.omgthecloud.com/plex-containerized-with-nfs-mounts/#comment-194</link>

		<dc:creator><![CDATA[Rob]]></dc:creator>
		<pubDate>Tue, 07 Feb 2023 15:29:57 +0000</pubDate>
		<guid isPermaLink="false">https://www.omgthecloud.com/?p=76#comment-194</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.omgthecloud.com/plex-containerized-with-nfs-mounts/#comment-193&quot;&gt;Rob&lt;/a&gt;.

Got it!  Needed to add my PC to the list of allowed NFS permissions on the NAS.  Thanks...]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.omgthecloud.com/plex-containerized-with-nfs-mounts/#comment-193">Rob</a>.</p>
<p>Got it!  Needed to add my PC to the list of allowed NFS permissions on the NAS.  Thanks&#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rob		</title>
		<link>https://www.omgthecloud.com/plex-containerized-with-nfs-mounts/#comment-193</link>

		<dc:creator><![CDATA[Rob]]></dc:creator>
		<pubDate>Tue, 07 Feb 2023 13:13:33 +0000</pubDate>
		<guid isPermaLink="false">https://www.omgthecloud.com/?p=76#comment-193</guid>

					<description><![CDATA[Nothing&#039;s easy...

Was getting an error that port 5353 was in use so removed it after seeing that it&#039;s a legacy protocol I probably don&#039;t need.

Now I get this:
docker-compose up
Attaching to plex-plex-1
Error response from daemon: error while mounting volume &#039;/var/lib/docker/volumes/movies/_data&#039;: failed to mount local volume: mount :/volume1/data/movies:/var/lib/docker/volumes/movies/_data, data: addr=192.168.1.4,nolock,soft: permission denied

Here&#039;s the volume section of my docker-compose.yml:
volumes:
  plex_plex-data:

  tv:
    name: tv
    driver_opts:
      type: nfs
      o: addr=192.168.1.4,nolock,soft,rw
      device: :/volume1/data/tv
  movies:
    name: movies
    driver_opts:
      type: nfs
      o: addr=192.168.1.4,nolock,soft,rw
      device: :/volume1/data/movies

Tried changing PUID/PGID to the ones on my NAS but no difference.

Any idea?

Thanks again]]></description>
			<content:encoded><![CDATA[<p>Nothing&#8217;s easy&#8230;</p>
<p>Was getting an error that port 5353 was in use so removed it after seeing that it&#8217;s a legacy protocol I probably don&#8217;t need.</p>
<p>Now I get this:<br />
docker-compose up<br />
Attaching to plex-plex-1<br />
Error response from daemon: error while mounting volume &#8216;/var/lib/docker/volumes/movies/_data&#8217;: failed to mount local volume: mount :/volume1/data/movies:/var/lib/docker/volumes/movies/_data, data: addr=192.168.1.4,nolock,soft: permission denied</p>
<p>Here&#8217;s the volume section of my docker-compose.yml:<br />
volumes:<br />
  plex_plex-data:</p>
<p>  tv:<br />
    name: tv<br />
    driver_opts:<br />
      type: nfs<br />
      o: addr=192.168.1.4,nolock,soft,rw<br />
      device: :/volume1/data/tv<br />
  movies:<br />
    name: movies<br />
    driver_opts:<br />
      type: nfs<br />
      o: addr=192.168.1.4,nolock,soft,rw<br />
      device: :/volume1/data/movies</p>
<p>Tried changing PUID/PGID to the ones on my NAS but no difference.</p>
<p>Any idea?</p>
<p>Thanks again</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rob		</title>
		<link>https://www.omgthecloud.com/plex-containerized-with-nfs-mounts/#comment-192</link>

		<dc:creator><![CDATA[Rob]]></dc:creator>
		<pubDate>Tue, 07 Feb 2023 12:16:19 +0000</pubDate>
		<guid isPermaLink="false">https://www.omgthecloud.com/?p=76#comment-192</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.omgthecloud.com/plex-containerized-with-nfs-mounts/#comment-191&quot;&gt;OMG!&lt;/a&gt;.

Thanks for the quick response OMG!  Will give it a try...]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.omgthecloud.com/plex-containerized-with-nfs-mounts/#comment-191">OMG!</a>.</p>
<p>Thanks for the quick response OMG!  Will give it a try&#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: OMG!		</title>
		<link>https://www.omgthecloud.com/plex-containerized-with-nfs-mounts/#comment-191</link>

		<dc:creator><![CDATA[OMG!]]></dc:creator>
		<pubDate>Tue, 07 Feb 2023 01:22:12 +0000</pubDate>
		<guid isPermaLink="false">https://www.omgthecloud.com/?p=76#comment-191</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.omgthecloud.com/plex-containerized-with-nfs-mounts/#comment-190&quot;&gt;Rob&lt;/a&gt;.

Great question! You are correct, I did not clarify that bit: The part that’s missing is not the NFS mounts, but the “plex-data” where the persistent Plex application database and config is stored. In my example, I am referring to that volume as “external”.  Remove the line “external: true” from the plex-data” volume in the above example code, and you should be good.

Regarding authentication: This is a bit outside of the scope of this guide, as that varies too much per config, and NFS doesnt auth like SMB does.  The gist of that is, you need a UID / GID that matches the numerical value of that UID / GID on your NAS. As an example (not recommended to use root, but here we are!) UID 0 and GID 0 always map to the root user on any *nix system, so you could pass PGID=0 and PUID=0 and that will map to root. again, not recommended, but handy for troubleshooting authentication vs UID/GID issues. 

Remember, this is NFS mount, not SMB, so it doesnt use the same user/pass auth as SMB shares. If you need to use SMB/CIFS, that’s again out of scope here, but Google is your friend. 

Hope this helps!
~OMG]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.omgthecloud.com/plex-containerized-with-nfs-mounts/#comment-190">Rob</a>.</p>
<p>Great question! You are correct, I did not clarify that bit: The part that’s missing is not the NFS mounts, but the “plex-data” where the persistent Plex application database and config is stored. In my example, I am referring to that volume as “external”.  Remove the line “external: true” from the plex-data” volume in the above example code, and you should be good.</p>
<p>Regarding authentication: This is a bit outside of the scope of this guide, as that varies too much per config, and NFS doesnt auth like SMB does.  The gist of that is, you need a UID / GID that matches the numerical value of that UID / GID on your NAS. As an example (not recommended to use root, but here we are!) UID 0 and GID 0 always map to the root user on any *nix system, so you could pass PGID=0 and PUID=0 and that will map to root. again, not recommended, but handy for troubleshooting authentication vs UID/GID issues. </p>
<p>Remember, this is NFS mount, not SMB, so it doesnt use the same user/pass auth as SMB shares. If you need to use SMB/CIFS, that’s again out of scope here, but Google is your friend. </p>
<p>Hope this helps!<br />
~OMG</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rob		</title>
		<link>https://www.omgthecloud.com/plex-containerized-with-nfs-mounts/#comment-190</link>

		<dc:creator><![CDATA[Rob]]></dc:creator>
		<pubDate>Tue, 07 Feb 2023 00:14:01 +0000</pubDate>
		<guid isPermaLink="false">https://www.omgthecloud.com/?p=76#comment-190</guid>

					<description><![CDATA[Hi - trying to use your video to setup Plex in Docker with my media on a Synology NAS in /volume1/data/tv and /volume1/data/movies.  Section is like this:

tv-shows:
    name: tv-shows
    driver_opts:
      type: nfs
      o: addr=,nolock,soft
      device: :/volume1/data/tv
  movies:
    name: movies
    driver_opts:
      type: nfs
      o: addr=,nolock,soft
      device: :/volume1/data/movies

Everything else exactly the same as your except timezone and PGID/PUID.

Docker-compose error:
external volume &quot;plex_plex-data&quot; not found

I didn&#039;t hear you cover the plex_plex-data volume in your video so not sure what I&#039;m supposed to do with that.  Can you explain please?

Also, I notice there&#039;s nothing about permissions to the NAS in the docker-compose file here.  Isn&#039;t something needed to authenticate the container to the NAS?

Thanks very much]]></description>
			<content:encoded><![CDATA[<p>Hi &#8211; trying to use your video to setup Plex in Docker with my media on a Synology NAS in /volume1/data/tv and /volume1/data/movies.  Section is like this:</p>
<p>tv-shows:<br />
    name: tv-shows<br />
    driver_opts:<br />
      type: nfs<br />
      o: addr=,nolock,soft<br />
      device: :/volume1/data/tv<br />
  movies:<br />
    name: movies<br />
    driver_opts:<br />
      type: nfs<br />
      o: addr=,nolock,soft<br />
      device: :/volume1/data/movies</p>
<p>Everything else exactly the same as your except timezone and PGID/PUID.</p>
<p>Docker-compose error:<br />
external volume &#8220;plex_plex-data&#8221; not found</p>
<p>I didn&#8217;t hear you cover the plex_plex-data volume in your video so not sure what I&#8217;m supposed to do with that.  Can you explain please?</p>
<p>Also, I notice there&#8217;s nothing about permissions to the NAS in the docker-compose file here.  Isn&#8217;t something needed to authenticate the container to the NAS?</p>
<p>Thanks very much</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
