title
Products            Buy            Support Forum            Professional            About            Codec Central
 

Help setting up AssetUPnP on Raspberrypi

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Phill82
    • Aug 2015
    • 14

    Help setting up AssetUPnP on Raspberrypi

    Hoping for some help - About 5 years ago I bought a raspberrypi and successfully managed to setup and run Asset on it. However it recently stopped working - the pi just sat there with the light on but no other evidence of life - so I decided to wipe the SD card and start again. This seemed to solve the problem of the pi being dead, but setting it up again this time I can’t for the life of me seem to get Asset working!

    I’ve followed Spoon’s instructions as far as I can tell, but Asset isn’t finding any music. This is the line I have at the end of the /etc/fstab file:

    //192.168.1.66/Public /home/pi/nas cifs guest,_netdev,sec=ntlm 0 0 (the NAS has a fixed IP)

    And on the configuration page of Asset I have /home/pi/nas in the ‘Watched media folders’ box.

    My knowledge of Linux is basically zero outside of Spoon’s instructions, although I did manage to get it working last time!

    Any help would be very much appreciated (please spare me from having to use the inbuilt Twonky server on my NAS!)

    Phill
  • simes_pep
    dBpoweramp Enthusiast
    • Dec 2013
    • 288

    #2
    Re: Help setting up AssetUPnP on Raspberrypi

    Is the RPi mounting the NAS volume?
    Where the mount command being executed?

    Have you created the directory in \home\pi\nas on the RPi and applied the right permissions?
    If you open a command shell, can you navigate to this directory and &*8216;see&*8217; the contents of the volume on the NAS volume?

    Once Asset can &*8216;see&*8217; the folders to scan, it does the rest.

    Comment

    • Phill82
      • Aug 2015
      • 14

      #3
      Re: Help setting up AssetUPnP on Raspberrypi

      Thanks simes_pep,

      Is the RPi mounting the NAS volume? - I’m afraid I don’t know - how would I find this out?
      Where the mount command being executed? - /etc/fstab? Or have I got the wrong end of the stick?

      Have you created the directory in \home\pi\nas on the RPi and applied the right permissions? - I entered these lines, as per Spoon’s instructions:

      cd /home/pi
      sudo mkdir nas
      sudo chmod 777 nas

      Does that answer your question?

      If you open a command shell, can you navigate to this directory and ’see’ the contents of the volume on the NAS volume? - does this tell you anything:?

      Click image for larger version

Name:	214BD543-C2F3-444E-9F91-1B81D6F173AF.jpg
Views:	1
Size:	59.8 KB
ID:	294138

      Comment

      • Phill82
        • Aug 2015
        • 14

        #4
        Re: Help setting up AssetUPnP on Raspberrypi

        Click image for larger version

Name:	54A66D5F-EB83-411F-AC5F-D3C5F5B6199C.jpeg
Views:	1
Size:	89.7 KB
ID:	294139

        This tell me anything?

        Comment

        • Spoon
          Administrator
          • Apr 2002
          • 43888

          #5
          Re: Help setting up AssetUPnP on Raspberrypi

          It does not look mounted, ls -l would list all the folders on the nas.

          Does your nas not require a password? cifs is based on passwords unless the guest account is active.

          NFS is another linux methos of sharing, based on ip addresses allowed.
          Spoon
          www.dbpoweramp.com

          Comment

          • simes_pep
            dBpoweramp Enthusiast
            • Dec 2013
            • 288

            #6
            Re: Help setting up AssetUPnP on Raspberrypi

            No if you run a df or even a du command it should give you the usage of the mounted file store

            Click image for larger version

Name:	149606AF-8207-41C3-9361-F0A5AB672C8D.jpg
Views:	1
Size:	101.8 KB
ID:	294140

            Where are you running a sudo mount -a command to actually execute on the contents of the fstab file?

            Comment

            • Phill82
              • Aug 2015
              • 14

              #7
              Re: Help setting up AssetUPnP on Raspberrypi

              Originally posted by simes_pep
              Where are you running a sudo mount -a command to actually execute on the contents of the fstab file?
              As far as I’m aware, I’m not!

              Could you suggest where I should be, and what such a command may look like?

              I would probably be giving up at the point if it wasn’t for the fact that I have had it running before!

              Comment

              • simes_pep
                dBpoweramp Enthusiast
                • Dec 2013
                • 288

                #8
                Re: Help setting up AssetUPnP on Raspberrypi

                Type crontab -e
                Enter
                @reboot sudo mount -a

                Then reboot

                I found that later versions of rasbian stopped automounting what was listed in the fstab file.

                I then rebuild my RPi to DietPi, as my existing version was stuck back in Jessie/Wheezy and I wanted to move to Stretch/Buster versions.

                Comment

                • Phill82
                  • Aug 2015
                  • 14

                  #9
                  Re: Help setting up AssetUPnP on Raspberrypi

                  I am getting somewhere in that I have managed to manually mount the NAS volume by typing the line:

                  Sudo mount //192.168.1.66/Public /home/pi/nas

                  and Asset then sees my music and I can play it!

                  However, it’s not auto mounting it on a reboot. I have added the line ‘@reboot sudo mount -a’ to the crontab file, but not much seems to be happening.

                  Comment

                  • Phill82
                    • Aug 2015
                    • 14

                    #10
                    Re: Help setting up AssetUPnP on Raspberrypi

                    Oh dear, thought I was getting somewhere, and then on a reboot nothing happened, so I plugged the pi into the TV and it came up with this:

                    Click image for larger version

Name:	E8E7B88D-44B3-4000-AB64-DFB0A2288402.jpg
Views:	1
Size:	98.9 KB
ID:	294144

                    This likely to be something I’ve done, or a faulty pi?

                    Comment

                    • simes_pep
                      dBpoweramp Enthusiast
                      • Dec 2013
                      • 288

                      #11
                      Re: Help setting up AssetUPnP on Raspberrypi

                      Sorry, thats a new one to me.
                      What OS are you running on the RPi?

                      Comment

                      • RaspberryAsset
                        • Feb 2018
                        • 40

                        #12
                        Re: Help setting up AssetUPnP on Raspberrypi

                        I may have something similar happening. I got it to work by using the rescan detecting changes options.
                        If I use rescan all, no media gets detected.

                        Let me know if this works for you.

                        Comment

                        Working...

                        ]]>