Minidlna deamon has problems with accessing media folder on initialization











up vote
0
down vote

favorite












It took me some time to set up minidlna deamon on Ubuntu 18.04.1. The deamon finally works after starting up the machine and is discovered by my audio device though it still has problems with accessing the folder with media.



When I check minidlna status after starting up teh machine I get the minidlna.c:631: error: Media directory "/home/kidd/Music" not accessible [No such file or directory] error message:



● minidlna.service - LSB: minidlna server
Loaded: loaded (/etc/init.d/minidlna; generated)
Active: active (running) since Tue 2018-12-04 23:21:24 CET; 1min 44s ago
Docs: man:systemd-sysv-generator(8)
Process: 1290 ExecStart=/etc/init.d/minidlna start (code=exited, status=0/SUCCESS)
Tasks: 2 (limit: 4915)
CGroup: /system.slice/minidlna.service
└─1461 /usr/sbin/minidlnad -f /etc/minidlna.conf -P /run/minidlna/minidlna.pid

gru 04 23:21:19 adze systemd[1]: Starting LSB: minidlna server...
gru 04 23:21:24 adze minidlna[1290]: [2018/12/04 23:21:24] minidlna.c:631: error: Media directory "/home/kidd/Music" not accessible [No such file or directory]
gru 04 23:21:24 adze systemd[1]: Started LSB: minidlna server.


After I restart minidlna with sudo service minidlna restart I get this:



● minidlna.service - LSB: minidlna server
Loaded: loaded (/etc/init.d/minidlna; generated)
Active: active (running) since Tue 2018-12-04 23:23:26 CET; 5s ago
Docs: man:systemd-sysv-generator(8)
Process: 1766 ExecStop=/etc/init.d/minidlna stop (code=exited, status=0/SUCCESS)
Process: 1774 ExecStart=/etc/init.d/minidlna start (code=exited, status=0/SUCCESS)
Tasks: 3 (limit: 4915)
CGroup: /system.slice/minidlna.service
├─1785 /usr/sbin/minidlnad -f /etc/minidlna.conf -P /run/minidlna/minidlna.pid
└─1788 /usr/sbin/minidlnad -f /etc/minidlna.conf -P /run/minidlna/minidlna.pid

gru 04 23:23:26 adze systemd[1]: Starting LSB: minidlna server...
gru 04 23:23:26 adze systemd[1]: Started LSB: minidlna server.


and everything works fine.



The thing is I want minidlna deamon to see the media directory on startup so that I don't have to log in to terminal every time I reboot the server to restart the deamon and play music on my hifi.



It's not a question of permissions, bacause I'm running minidlna as root.



I would really appreciate any help.










share|improve this question


























    up vote
    0
    down vote

    favorite












    It took me some time to set up minidlna deamon on Ubuntu 18.04.1. The deamon finally works after starting up the machine and is discovered by my audio device though it still has problems with accessing the folder with media.



    When I check minidlna status after starting up teh machine I get the minidlna.c:631: error: Media directory "/home/kidd/Music" not accessible [No such file or directory] error message:



    ● minidlna.service - LSB: minidlna server
    Loaded: loaded (/etc/init.d/minidlna; generated)
    Active: active (running) since Tue 2018-12-04 23:21:24 CET; 1min 44s ago
    Docs: man:systemd-sysv-generator(8)
    Process: 1290 ExecStart=/etc/init.d/minidlna start (code=exited, status=0/SUCCESS)
    Tasks: 2 (limit: 4915)
    CGroup: /system.slice/minidlna.service
    └─1461 /usr/sbin/minidlnad -f /etc/minidlna.conf -P /run/minidlna/minidlna.pid

    gru 04 23:21:19 adze systemd[1]: Starting LSB: minidlna server...
    gru 04 23:21:24 adze minidlna[1290]: [2018/12/04 23:21:24] minidlna.c:631: error: Media directory "/home/kidd/Music" not accessible [No such file or directory]
    gru 04 23:21:24 adze systemd[1]: Started LSB: minidlna server.


    After I restart minidlna with sudo service minidlna restart I get this:



    ● minidlna.service - LSB: minidlna server
    Loaded: loaded (/etc/init.d/minidlna; generated)
    Active: active (running) since Tue 2018-12-04 23:23:26 CET; 5s ago
    Docs: man:systemd-sysv-generator(8)
    Process: 1766 ExecStop=/etc/init.d/minidlna stop (code=exited, status=0/SUCCESS)
    Process: 1774 ExecStart=/etc/init.d/minidlna start (code=exited, status=0/SUCCESS)
    Tasks: 3 (limit: 4915)
    CGroup: /system.slice/minidlna.service
    ├─1785 /usr/sbin/minidlnad -f /etc/minidlna.conf -P /run/minidlna/minidlna.pid
    └─1788 /usr/sbin/minidlnad -f /etc/minidlna.conf -P /run/minidlna/minidlna.pid

    gru 04 23:23:26 adze systemd[1]: Starting LSB: minidlna server...
    gru 04 23:23:26 adze systemd[1]: Started LSB: minidlna server.


    and everything works fine.



    The thing is I want minidlna deamon to see the media directory on startup so that I don't have to log in to terminal every time I reboot the server to restart the deamon and play music on my hifi.



    It's not a question of permissions, bacause I'm running minidlna as root.



    I would really appreciate any help.










    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      It took me some time to set up minidlna deamon on Ubuntu 18.04.1. The deamon finally works after starting up the machine and is discovered by my audio device though it still has problems with accessing the folder with media.



      When I check minidlna status after starting up teh machine I get the minidlna.c:631: error: Media directory "/home/kidd/Music" not accessible [No such file or directory] error message:



      ● minidlna.service - LSB: minidlna server
      Loaded: loaded (/etc/init.d/minidlna; generated)
      Active: active (running) since Tue 2018-12-04 23:21:24 CET; 1min 44s ago
      Docs: man:systemd-sysv-generator(8)
      Process: 1290 ExecStart=/etc/init.d/minidlna start (code=exited, status=0/SUCCESS)
      Tasks: 2 (limit: 4915)
      CGroup: /system.slice/minidlna.service
      └─1461 /usr/sbin/minidlnad -f /etc/minidlna.conf -P /run/minidlna/minidlna.pid

      gru 04 23:21:19 adze systemd[1]: Starting LSB: minidlna server...
      gru 04 23:21:24 adze minidlna[1290]: [2018/12/04 23:21:24] minidlna.c:631: error: Media directory "/home/kidd/Music" not accessible [No such file or directory]
      gru 04 23:21:24 adze systemd[1]: Started LSB: minidlna server.


      After I restart minidlna with sudo service minidlna restart I get this:



      ● minidlna.service - LSB: minidlna server
      Loaded: loaded (/etc/init.d/minidlna; generated)
      Active: active (running) since Tue 2018-12-04 23:23:26 CET; 5s ago
      Docs: man:systemd-sysv-generator(8)
      Process: 1766 ExecStop=/etc/init.d/minidlna stop (code=exited, status=0/SUCCESS)
      Process: 1774 ExecStart=/etc/init.d/minidlna start (code=exited, status=0/SUCCESS)
      Tasks: 3 (limit: 4915)
      CGroup: /system.slice/minidlna.service
      ├─1785 /usr/sbin/minidlnad -f /etc/minidlna.conf -P /run/minidlna/minidlna.pid
      └─1788 /usr/sbin/minidlnad -f /etc/minidlna.conf -P /run/minidlna/minidlna.pid

      gru 04 23:23:26 adze systemd[1]: Starting LSB: minidlna server...
      gru 04 23:23:26 adze systemd[1]: Started LSB: minidlna server.


      and everything works fine.



      The thing is I want minidlna deamon to see the media directory on startup so that I don't have to log in to terminal every time I reboot the server to restart the deamon and play music on my hifi.



      It's not a question of permissions, bacause I'm running minidlna as root.



      I would really appreciate any help.










      share|improve this question













      It took me some time to set up minidlna deamon on Ubuntu 18.04.1. The deamon finally works after starting up the machine and is discovered by my audio device though it still has problems with accessing the folder with media.



      When I check minidlna status after starting up teh machine I get the minidlna.c:631: error: Media directory "/home/kidd/Music" not accessible [No such file or directory] error message:



      ● minidlna.service - LSB: minidlna server
      Loaded: loaded (/etc/init.d/minidlna; generated)
      Active: active (running) since Tue 2018-12-04 23:21:24 CET; 1min 44s ago
      Docs: man:systemd-sysv-generator(8)
      Process: 1290 ExecStart=/etc/init.d/minidlna start (code=exited, status=0/SUCCESS)
      Tasks: 2 (limit: 4915)
      CGroup: /system.slice/minidlna.service
      └─1461 /usr/sbin/minidlnad -f /etc/minidlna.conf -P /run/minidlna/minidlna.pid

      gru 04 23:21:19 adze systemd[1]: Starting LSB: minidlna server...
      gru 04 23:21:24 adze minidlna[1290]: [2018/12/04 23:21:24] minidlna.c:631: error: Media directory "/home/kidd/Music" not accessible [No such file or directory]
      gru 04 23:21:24 adze systemd[1]: Started LSB: minidlna server.


      After I restart minidlna with sudo service minidlna restart I get this:



      ● minidlna.service - LSB: minidlna server
      Loaded: loaded (/etc/init.d/minidlna; generated)
      Active: active (running) since Tue 2018-12-04 23:23:26 CET; 5s ago
      Docs: man:systemd-sysv-generator(8)
      Process: 1766 ExecStop=/etc/init.d/minidlna stop (code=exited, status=0/SUCCESS)
      Process: 1774 ExecStart=/etc/init.d/minidlna start (code=exited, status=0/SUCCESS)
      Tasks: 3 (limit: 4915)
      CGroup: /system.slice/minidlna.service
      ├─1785 /usr/sbin/minidlnad -f /etc/minidlna.conf -P /run/minidlna/minidlna.pid
      └─1788 /usr/sbin/minidlnad -f /etc/minidlna.conf -P /run/minidlna/minidlna.pid

      gru 04 23:23:26 adze systemd[1]: Starting LSB: minidlna server...
      gru 04 23:23:26 adze systemd[1]: Started LSB: minidlna server.


      and everything works fine.



      The thing is I want minidlna deamon to see the media directory on startup so that I don't have to log in to terminal every time I reboot the server to restart the deamon and play music on my hifi.



      It's not a question of permissions, bacause I'm running minidlna as root.



      I would really appreciate any help.







      permissions startup minidlna






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 4 at 22:42









      wojtekidd

      12




      12



























          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          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',
          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%2faskubuntu.com%2fquestions%2f1098510%2fminidlna-deamon-has-problems-with-accessing-media-folder-on-initialization%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


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





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • 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%2faskubuntu.com%2fquestions%2f1098510%2fminidlna-deamon-has-problems-with-accessing-media-folder-on-initialization%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

          flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

          Mangá

          Eduardo VII do Reino Unido