Plex media server is not detecting symbolic link












0















I configured plex server in my Arch Linux. While setting the media folder the folder which contains a symbolic link content is not listing in media server.



I added the current user to the plex group.



Please let us know anyone getting the same issue










share|improve this question



























    0















    I configured plex server in my Arch Linux. While setting the media folder the folder which contains a symbolic link content is not listing in media server.



    I added the current user to the plex group.



    Please let us know anyone getting the same issue










    share|improve this question

























      0












      0








      0








      I configured plex server in my Arch Linux. While setting the media folder the folder which contains a symbolic link content is not listing in media server.



      I added the current user to the plex group.



      Please let us know anyone getting the same issue










      share|improve this question














      I configured plex server in my Arch Linux. While setting the media folder the folder which contains a symbolic link content is not listing in media server.



      I added the current user to the plex group.



      Please let us know anyone getting the same issue







      arch-linux plex






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked May 22 '18 at 9:43









      VipinVipin

      1516




      1516






















          2 Answers
          2






          active

          oldest

          votes


















          0














          Edited answer



          I was wrong. After fiddling with symlinks, I realized my mistake. Target folders/files need reading permissions. You have to chmod -R +r SOURCE_FOLDER. Now the symbolic links work as intended.



          Original answer



          As far as I can tell, Plex doesn't recognize symbolic links. I've tried symlinks to both, files and folders, to no avail. This discussion from 2013–2015 in a plex forum suggest to symlink directories, but it didn't work for me.






          share|improve this answer


























          • Thanks . My problem is, I have a external drive which need to be added to plex media Server. So without using symbolic link how can I do this? Otherwise. I need to copy all the videos present in extenal drive to my system while running plex.

            – Vipin
            May 22 '18 at 15:39






          • 1





            You can do a mount --bind. This can also be added to fstab.

            – Mikael Kjær
            May 23 '18 at 5:09











          • @MikaelKjær Can you please give me little more information

            – Vipin
            May 26 '18 at 6:53











          • @Vipin Basically it mounts a folder into another folder. Here is a guide for it: cyberciti.biz/faq/…

            – Mikael Kjær
            May 27 '18 at 5:09











          • @ Mikael Kjær @Ludenticus chmod -R +r SOURCE_FOLDER is not working. mount --bind seems to be working. But i'm getting another issue my external disk is /dev/sdb1 it is mounting properly at /run/media/vipin/USBDataDisk. And I'm try to mount --bind /run/media/vipin/USBDataDisk/Mydata/Film/ /plexmedia/movies . It is working fine. But my /run/media/vipin/USBDataDisk mounting point is replaced with /plexmedia/movies

            – Vipin
            May 29 '18 at 20:44



















          0














          I have the same problem. I do not like hardlinks, and PLEX does not seem to play nice with symlinks. Fortunately, thanks to this reddit comment, I found that symlinking relatively to the current directory works for PLEX. This means that the symlink must not be absolute, but relative to the folder PLEX scans.



          A link which points to /mnt/RAID1/PLEX/Movies/something must become ../Movies/something.






          share|improve this answer
























          • You do a mount with --bind option that was the only solution Working for me.

            – Vipin
            Jan 11 at 16:27











          • Symlinks did work for me in the end, and I find them to be more flexible. Maybe it depends on the setup, Plex really loves if all of the media resides in the Media folder and is not happy if this does not happen.

            – AF7
            Jan 12 at 17:07











          • How did you made the symbolic link work?

            – Vipin
            Jan 12 at 17:09











          • @Vipin, as I said, I just had to make sure the link was relative. Afterwards, I verified that also having an absolute link worked, but only if the target was inside Media, for some reason. Plex is weird.

            – AF7
            Jan 13 at 18:10











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1324901%2fplex-media-server-is-not-detecting-symbolic-link%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          Edited answer



          I was wrong. After fiddling with symlinks, I realized my mistake. Target folders/files need reading permissions. You have to chmod -R +r SOURCE_FOLDER. Now the symbolic links work as intended.



          Original answer



          As far as I can tell, Plex doesn't recognize symbolic links. I've tried symlinks to both, files and folders, to no avail. This discussion from 2013–2015 in a plex forum suggest to symlink directories, but it didn't work for me.






          share|improve this answer


























          • Thanks . My problem is, I have a external drive which need to be added to plex media Server. So without using symbolic link how can I do this? Otherwise. I need to copy all the videos present in extenal drive to my system while running plex.

            – Vipin
            May 22 '18 at 15:39






          • 1





            You can do a mount --bind. This can also be added to fstab.

            – Mikael Kjær
            May 23 '18 at 5:09











          • @MikaelKjær Can you please give me little more information

            – Vipin
            May 26 '18 at 6:53











          • @Vipin Basically it mounts a folder into another folder. Here is a guide for it: cyberciti.biz/faq/…

            – Mikael Kjær
            May 27 '18 at 5:09











          • @ Mikael Kjær @Ludenticus chmod -R +r SOURCE_FOLDER is not working. mount --bind seems to be working. But i'm getting another issue my external disk is /dev/sdb1 it is mounting properly at /run/media/vipin/USBDataDisk. And I'm try to mount --bind /run/media/vipin/USBDataDisk/Mydata/Film/ /plexmedia/movies . It is working fine. But my /run/media/vipin/USBDataDisk mounting point is replaced with /plexmedia/movies

            – Vipin
            May 29 '18 at 20:44
















          0














          Edited answer



          I was wrong. After fiddling with symlinks, I realized my mistake. Target folders/files need reading permissions. You have to chmod -R +r SOURCE_FOLDER. Now the symbolic links work as intended.



          Original answer



          As far as I can tell, Plex doesn't recognize symbolic links. I've tried symlinks to both, files and folders, to no avail. This discussion from 2013–2015 in a plex forum suggest to symlink directories, but it didn't work for me.






          share|improve this answer


























          • Thanks . My problem is, I have a external drive which need to be added to plex media Server. So without using symbolic link how can I do this? Otherwise. I need to copy all the videos present in extenal drive to my system while running plex.

            – Vipin
            May 22 '18 at 15:39






          • 1





            You can do a mount --bind. This can also be added to fstab.

            – Mikael Kjær
            May 23 '18 at 5:09











          • @MikaelKjær Can you please give me little more information

            – Vipin
            May 26 '18 at 6:53











          • @Vipin Basically it mounts a folder into another folder. Here is a guide for it: cyberciti.biz/faq/…

            – Mikael Kjær
            May 27 '18 at 5:09











          • @ Mikael Kjær @Ludenticus chmod -R +r SOURCE_FOLDER is not working. mount --bind seems to be working. But i'm getting another issue my external disk is /dev/sdb1 it is mounting properly at /run/media/vipin/USBDataDisk. And I'm try to mount --bind /run/media/vipin/USBDataDisk/Mydata/Film/ /plexmedia/movies . It is working fine. But my /run/media/vipin/USBDataDisk mounting point is replaced with /plexmedia/movies

            – Vipin
            May 29 '18 at 20:44














          0












          0








          0







          Edited answer



          I was wrong. After fiddling with symlinks, I realized my mistake. Target folders/files need reading permissions. You have to chmod -R +r SOURCE_FOLDER. Now the symbolic links work as intended.



          Original answer



          As far as I can tell, Plex doesn't recognize symbolic links. I've tried symlinks to both, files and folders, to no avail. This discussion from 2013–2015 in a plex forum suggest to symlink directories, but it didn't work for me.






          share|improve this answer















          Edited answer



          I was wrong. After fiddling with symlinks, I realized my mistake. Target folders/files need reading permissions. You have to chmod -R +r SOURCE_FOLDER. Now the symbolic links work as intended.



          Original answer



          As far as I can tell, Plex doesn't recognize symbolic links. I've tried symlinks to both, files and folders, to no avail. This discussion from 2013–2015 in a plex forum suggest to symlink directories, but it didn't work for me.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited May 23 '18 at 16:39

























          answered May 22 '18 at 15:05









          LudenticusLudenticus

          1216




          1216













          • Thanks . My problem is, I have a external drive which need to be added to plex media Server. So without using symbolic link how can I do this? Otherwise. I need to copy all the videos present in extenal drive to my system while running plex.

            – Vipin
            May 22 '18 at 15:39






          • 1





            You can do a mount --bind. This can also be added to fstab.

            – Mikael Kjær
            May 23 '18 at 5:09











          • @MikaelKjær Can you please give me little more information

            – Vipin
            May 26 '18 at 6:53











          • @Vipin Basically it mounts a folder into another folder. Here is a guide for it: cyberciti.biz/faq/…

            – Mikael Kjær
            May 27 '18 at 5:09











          • @ Mikael Kjær @Ludenticus chmod -R +r SOURCE_FOLDER is not working. mount --bind seems to be working. But i'm getting another issue my external disk is /dev/sdb1 it is mounting properly at /run/media/vipin/USBDataDisk. And I'm try to mount --bind /run/media/vipin/USBDataDisk/Mydata/Film/ /plexmedia/movies . It is working fine. But my /run/media/vipin/USBDataDisk mounting point is replaced with /plexmedia/movies

            – Vipin
            May 29 '18 at 20:44



















          • Thanks . My problem is, I have a external drive which need to be added to plex media Server. So without using symbolic link how can I do this? Otherwise. I need to copy all the videos present in extenal drive to my system while running plex.

            – Vipin
            May 22 '18 at 15:39






          • 1





            You can do a mount --bind. This can also be added to fstab.

            – Mikael Kjær
            May 23 '18 at 5:09











          • @MikaelKjær Can you please give me little more information

            – Vipin
            May 26 '18 at 6:53











          • @Vipin Basically it mounts a folder into another folder. Here is a guide for it: cyberciti.biz/faq/…

            – Mikael Kjær
            May 27 '18 at 5:09











          • @ Mikael Kjær @Ludenticus chmod -R +r SOURCE_FOLDER is not working. mount --bind seems to be working. But i'm getting another issue my external disk is /dev/sdb1 it is mounting properly at /run/media/vipin/USBDataDisk. And I'm try to mount --bind /run/media/vipin/USBDataDisk/Mydata/Film/ /plexmedia/movies . It is working fine. But my /run/media/vipin/USBDataDisk mounting point is replaced with /plexmedia/movies

            – Vipin
            May 29 '18 at 20:44

















          Thanks . My problem is, I have a external drive which need to be added to plex media Server. So without using symbolic link how can I do this? Otherwise. I need to copy all the videos present in extenal drive to my system while running plex.

          – Vipin
          May 22 '18 at 15:39





          Thanks . My problem is, I have a external drive which need to be added to plex media Server. So without using symbolic link how can I do this? Otherwise. I need to copy all the videos present in extenal drive to my system while running plex.

          – Vipin
          May 22 '18 at 15:39




          1




          1





          You can do a mount --bind. This can also be added to fstab.

          – Mikael Kjær
          May 23 '18 at 5:09





          You can do a mount --bind. This can also be added to fstab.

          – Mikael Kjær
          May 23 '18 at 5:09













          @MikaelKjær Can you please give me little more information

          – Vipin
          May 26 '18 at 6:53





          @MikaelKjær Can you please give me little more information

          – Vipin
          May 26 '18 at 6:53













          @Vipin Basically it mounts a folder into another folder. Here is a guide for it: cyberciti.biz/faq/…

          – Mikael Kjær
          May 27 '18 at 5:09





          @Vipin Basically it mounts a folder into another folder. Here is a guide for it: cyberciti.biz/faq/…

          – Mikael Kjær
          May 27 '18 at 5:09













          @ Mikael Kjær @Ludenticus chmod -R +r SOURCE_FOLDER is not working. mount --bind seems to be working. But i'm getting another issue my external disk is /dev/sdb1 it is mounting properly at /run/media/vipin/USBDataDisk. And I'm try to mount --bind /run/media/vipin/USBDataDisk/Mydata/Film/ /plexmedia/movies . It is working fine. But my /run/media/vipin/USBDataDisk mounting point is replaced with /plexmedia/movies

          – Vipin
          May 29 '18 at 20:44





          @ Mikael Kjær @Ludenticus chmod -R +r SOURCE_FOLDER is not working. mount --bind seems to be working. But i'm getting another issue my external disk is /dev/sdb1 it is mounting properly at /run/media/vipin/USBDataDisk. And I'm try to mount --bind /run/media/vipin/USBDataDisk/Mydata/Film/ /plexmedia/movies . It is working fine. But my /run/media/vipin/USBDataDisk mounting point is replaced with /plexmedia/movies

          – Vipin
          May 29 '18 at 20:44













          0














          I have the same problem. I do not like hardlinks, and PLEX does not seem to play nice with symlinks. Fortunately, thanks to this reddit comment, I found that symlinking relatively to the current directory works for PLEX. This means that the symlink must not be absolute, but relative to the folder PLEX scans.



          A link which points to /mnt/RAID1/PLEX/Movies/something must become ../Movies/something.






          share|improve this answer
























          • You do a mount with --bind option that was the only solution Working for me.

            – Vipin
            Jan 11 at 16:27











          • Symlinks did work for me in the end, and I find them to be more flexible. Maybe it depends on the setup, Plex really loves if all of the media resides in the Media folder and is not happy if this does not happen.

            – AF7
            Jan 12 at 17:07











          • How did you made the symbolic link work?

            – Vipin
            Jan 12 at 17:09











          • @Vipin, as I said, I just had to make sure the link was relative. Afterwards, I verified that also having an absolute link worked, but only if the target was inside Media, for some reason. Plex is weird.

            – AF7
            Jan 13 at 18:10
















          0














          I have the same problem. I do not like hardlinks, and PLEX does not seem to play nice with symlinks. Fortunately, thanks to this reddit comment, I found that symlinking relatively to the current directory works for PLEX. This means that the symlink must not be absolute, but relative to the folder PLEX scans.



          A link which points to /mnt/RAID1/PLEX/Movies/something must become ../Movies/something.






          share|improve this answer
























          • You do a mount with --bind option that was the only solution Working for me.

            – Vipin
            Jan 11 at 16:27











          • Symlinks did work for me in the end, and I find them to be more flexible. Maybe it depends on the setup, Plex really loves if all of the media resides in the Media folder and is not happy if this does not happen.

            – AF7
            Jan 12 at 17:07











          • How did you made the symbolic link work?

            – Vipin
            Jan 12 at 17:09











          • @Vipin, as I said, I just had to make sure the link was relative. Afterwards, I verified that also having an absolute link worked, but only if the target was inside Media, for some reason. Plex is weird.

            – AF7
            Jan 13 at 18:10














          0












          0








          0







          I have the same problem. I do not like hardlinks, and PLEX does not seem to play nice with symlinks. Fortunately, thanks to this reddit comment, I found that symlinking relatively to the current directory works for PLEX. This means that the symlink must not be absolute, but relative to the folder PLEX scans.



          A link which points to /mnt/RAID1/PLEX/Movies/something must become ../Movies/something.






          share|improve this answer













          I have the same problem. I do not like hardlinks, and PLEX does not seem to play nice with symlinks. Fortunately, thanks to this reddit comment, I found that symlinking relatively to the current directory works for PLEX. This means that the symlink must not be absolute, but relative to the folder PLEX scans.



          A link which points to /mnt/RAID1/PLEX/Movies/something must become ../Movies/something.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 11 at 16:21









          AF7AF7

          12618




          12618













          • You do a mount with --bind option that was the only solution Working for me.

            – Vipin
            Jan 11 at 16:27











          • Symlinks did work for me in the end, and I find them to be more flexible. Maybe it depends on the setup, Plex really loves if all of the media resides in the Media folder and is not happy if this does not happen.

            – AF7
            Jan 12 at 17:07











          • How did you made the symbolic link work?

            – Vipin
            Jan 12 at 17:09











          • @Vipin, as I said, I just had to make sure the link was relative. Afterwards, I verified that also having an absolute link worked, but only if the target was inside Media, for some reason. Plex is weird.

            – AF7
            Jan 13 at 18:10



















          • You do a mount with --bind option that was the only solution Working for me.

            – Vipin
            Jan 11 at 16:27











          • Symlinks did work for me in the end, and I find them to be more flexible. Maybe it depends on the setup, Plex really loves if all of the media resides in the Media folder and is not happy if this does not happen.

            – AF7
            Jan 12 at 17:07











          • How did you made the symbolic link work?

            – Vipin
            Jan 12 at 17:09











          • @Vipin, as I said, I just had to make sure the link was relative. Afterwards, I verified that also having an absolute link worked, but only if the target was inside Media, for some reason. Plex is weird.

            – AF7
            Jan 13 at 18:10

















          You do a mount with --bind option that was the only solution Working for me.

          – Vipin
          Jan 11 at 16:27





          You do a mount with --bind option that was the only solution Working for me.

          – Vipin
          Jan 11 at 16:27













          Symlinks did work for me in the end, and I find them to be more flexible. Maybe it depends on the setup, Plex really loves if all of the media resides in the Media folder and is not happy if this does not happen.

          – AF7
          Jan 12 at 17:07





          Symlinks did work for me in the end, and I find them to be more flexible. Maybe it depends on the setup, Plex really loves if all of the media resides in the Media folder and is not happy if this does not happen.

          – AF7
          Jan 12 at 17:07













          How did you made the symbolic link work?

          – Vipin
          Jan 12 at 17:09





          How did you made the symbolic link work?

          – Vipin
          Jan 12 at 17:09













          @Vipin, as I said, I just had to make sure the link was relative. Afterwards, I verified that also having an absolute link worked, but only if the target was inside Media, for some reason. Plex is weird.

          – AF7
          Jan 13 at 18:10





          @Vipin, as I said, I just had to make sure the link was relative. Afterwards, I verified that also having an absolute link worked, but only if the target was inside Media, for some reason. Plex is weird.

          – AF7
          Jan 13 at 18:10


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1324901%2fplex-media-server-is-not-detecting-symbolic-link%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          "Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

          Alcedinidae

          RAC Tourist Trophy