Not adding files on NAS to DB

Raspberry Pi related support

Not adding files on NAS to DB

Postby scaramanga » 26 Aug 2014, 12:24

Hi,

I'm running 0.2 off a raspberry pi, and trying to set it up to access all of my music files on a synology deskstation through nfs. The mount seems to go ok (there is a tick next to the mount listing on the network page) but no files are being added. I've tried updating the database several times, but nothing gets added.

I'm not really sure where to start looking for the problem.

Here's the debug info if that's helpful

Code: Select all
###### System info ######
Linux version 3.6.11-18-ARCH+ (nobody@) (gcc version 4.7.2 (GCC) ) #1 PREEMPT Mon Oct 21 01:15:42 CDT 2013

system load:   0.00 0.01 0.05 2/86 16567

HW platform:   RaspberryPi (01)

playerID:   010f76a0f811ed0ccceb88b9b4fd1f8457


###### Audio backend ######
Advanced Linux Sound Architecture Driver Version 1.0.25.

Card list: (/proc/asound/cards)
--------------------------------------------------
 1 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA
                      bcm2835 ALSA

ALSA interface #0: (/proc/asound/card0/pcm0p/info)
--------------------------------------------------

ALSA interface #1: (/proc/asound/card1/pcm0p/info)
--------------------------------------------------
card: 1
device: 0
subdevice: 0
stream: PLAYBACK
id: bcm2835 ALSA
name: bcm2835 ALSA
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 8
subdevices_avail: 8

interface #0 stream status: (/proc/asound/card0/stream0)
--------------------------------------------------------
no stream present

interface #1 stream status: (/proc/asound/card1/stream0)
--------------------------------------------------------
no stream present


###### Kernel module snd_usb_audio settings ######

Module = "snd_usb_audio"

  Attributes:
    coresize            = "104025"
    initsize            = "0"
    initstate           = "live"
    refcnt              = "0"
    srcversion          = "DA9A78F56D873AB02CB47F0"
    taint               = ""
    uevent              =

  Parameters:
    async_unlink        = "Y"
    device_setup        = "0,0,0,0,0,0,0,0"
    enable              = "Y,Y,Y,Y,Y,Y,Y,Y"
    id                  = "(null),(null),(null),(null),(null),(null),(null),(null)"
    ignore_ctl_error    = "N"
    index               = "0,-1,-1,-1,-1,-1,-1,-1"
    nrpacks             = "3"
    pid                 = "-1,-1,-1,-1,-1,-1,-1,-1"
    vid                 = "-1,-1,-1,-1,-1,-1,-1,-1"

  Sections:
    .ARM.exidx.exit.text= "0xbf0fdd2c"
    .ARM.exidx.init.text= "0xbf0fdd24"
    .ARM.exidx          = "0xbf100144"
    .ARM.extab          = "0xbf1000d8"
    .ARM.extab.init.text= "0xbf0fdd18"
    .bss                = "0xbf103b2c"
    .data               = "0xbf1005f0"
    .exit.text          = "0xbf0fc534"
    .gnu.linkonce.this_module= "0xbf1039c4"
    .init.text          = "0xbf10c000"
    .note.gnu.build-id  = "0xbf1005cc"
    .rodata             = "0xbf0fc540"
    .rodata.str1.4      = "0xbf0fddc4"
    .strtab             = "0xbf110ec8"
    .symtab             = "0xbf10c048"
    .text               = "0xbf0f1000"
    __param             = "0xbf0fdd34"


###### Kernel optimization parameters ######

hardware platform:   RaspberryPi
current orionprofile:   RuneAudio

kernel scheduler for mmcblk0:      [noop] deadline cfq
/proc/sys/vm/swappiness:      0
/proc/sys/kernel/sched_latency_ns:   1500000


###### Filesystem mounts ######

rootfs / rootfs rw 0 0
/dev/root / ext4 rw,noatime,nouser_xattr,errors=remount-ro,data=ordered 0 0
devtmpfs /dev devtmpfs rw,relatime,size=51500k,nr_inodes=12875,mode=755 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620 0 0
mqueue /dev/mqueue mqueue rw,relatime 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=30,pgrp=1,timeout=300,minproto=5,maxproto=5,direct 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /sys/fs/cgroup tmpfs rw,nosuid,nodev,noexec,mode=755 0 0
cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd 0 0
cgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0
cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpuacct,cpu 0 0
cgroup /sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0
cgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0
cgroup /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0
cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0
cgroup /sys/fs/cgroup/perf_event cgroup rw,nosuid,nodev,noexec,relatime,perf_event 0 0
cgroup /sys/fs/cgroup/net_prio cgroup rw,nosuid,nodev,noexec,relatime,net_prio 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
configfs /sys/kernel/config configfs rw,relatime 0 0
tmpfs /run tmpfs rw,nosuid,nodev,mode=755 0 0
Ramdisk /run/shm tmpfs rw,nosuid,nodev,noexec,relatime,size=262144k 0 0
tmpfs /tmp tmpfs rw 0 0
rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw,relatime 0 0
/dev/mmcblk0p1 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /tmp tmpfs rw 0 0
/dev/root /var/tmp ext4 rw,noatime,nouser_xattr,errors=remount-ro,data=ordered 0 0
192.168.1.64:/volume1/music /mnt/MPD/Conno nfs ro,noatime,vers=3,rsize=16384,wsize=16384,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.1.64,mountvers=3,mountport=892,mountproto=udp,local_lock=none,addr=192.168.1.64 0 0


###### mpd.conf ######

###################################
# Auto generated mpd.conf file
# please DO NOT edit it manually!
# Use RuneUI MPD config section
###################################

follow_outside_symlinks    "yes"
follow_inside_symlinks    "yes"
db_file    "/var/lib/mpd/mpd.db"
log_file    "/var/log/runeaudio/mpd.log"
pid_file    "/var/run/mpd/pid"
music_directory    "/mnt/MPD"
playlist_directory    "/var/lib/mpd/playlists"
state_file    "/var/lib/mpd/mpdstate"
user    "mpd"
bind_to_address    "any"
port    "6600"
log_level    "default"
zeroconf_enabled    "yes"
zeroconf_name    "runeaudio"
volume_normalization    "no"
audio_buffer_size    "512"
buffer_before_play    "0%"
filesystem_charset    "UTF-8"
id3v1_encoding    "UTF-8"
gapless_mp3_playback    "yes"
auto_update    "no"
mixer_type    "none"
group    "audio"
max_connections "20"

decoder {
      plugin "ffmpeg"
      enabled "no"
}

input {
      plugin "curl"
}

audio_output {
enabled      "no"
type      "alsa"
name      "USB-Audio"
device      "hw:0,0"
dsd_usb      "yes"
}

audio_output {
enabled      "no"
type      "null"
name      "Null"
}

audio_output {
enabled      "yes"
type      "alsa"
device      "hw:1,0"
name      "AnalogJack/HDMI"
}




###### PHP backend ######

php version:   5.5
debug level:   2


###### SESSION ######

STATUS:      1
ID:      k4ptj28pf8mabnrq1rbp59uds2
SAVE PATH:   /run


###### SESSION DATA ######

Array
(
    [orionprofile] => RuneAudio
    [cmediafix] => 0
    [playmod] => 0
    [ramplay] => 0
    [sessionid] => k4ptj28pf8mabnrq1rbp59uds2
    [mpdconfhash] => be1459e17db2fa39ca2d81fad9b69137
    [lastfm_apikey] => ba8ad00468a50732a3860832eaed0882
    [netconfhash] => 643f8967af551f683b3cfd493950c550
    [mpdconf_advanced] => 0
    [netconf_advanced] => 0
    [dev] =>
    [sourceconfhash] => d41d8cd98f00b204e9800998ecf8427e
    [sourceconf_advanced] => 1
    [debug] => 2
    [hiddendebug] => 0
    [opcache] => 1
    [playerid] => 010f76a0f811ed0ccceb88b9b4fd1f8457
    [hwplatform] => RaspberryPi
    [hwplatformid] => 01
    [airplay] => 0
    [scrobbling_lastfm] => 1
    [scrobbling_librefm] => 0
    [scrobbling_jamendo] => 0
    [spotify] => 0
    [db_version] => 1.2
    [udevil] => 1
    [coverart] => 1
    [volume] => 0
    [ao] => 0
    [ntpserver] => ntp.inrim.it
    [hostname] => runeaudio
    [w_queue] =>
    [w_queueargs] =>
    [w_lock] => 0
    [w_active] => 0
    [w_jobID] =>
    [debugdata] =>
    [netconf] => Array
        (
            [eth0] => Array
                (
                    [ip] => 192.168.1.73
                )

        )

    [state] => stop
    [notify] =>
)
scaramanga
 
Posts: 7
Joined: 26 Aug 2014, 12:19

Re: Not adding files on NAS to DB

Postby Naranj223 » 26 Aug 2014, 12:46

My quick hunch is that the problem is the way the NAS is being added.

So here's how my NAS looks in the debug info:

192.168.1.75://export/Music/Music-2014 2.7T 2.3T 325G 88% /mnt/MPD/NAS/Music-2014

It's the part "/export/...." that I think yours is missing.

Looking at the entry on your debug info, I'd try again using "/export/volume1/music" when typing in the 'Remote Directory' and see if the music shows up then.

In my above example, the NAS is entered as "/export/Music/Music-2014" in the 'Remote Directory' line.

I imagine you're getting the green check-mark as technically you are connecting to the NAS, but the connection needs to through the exports that are set-up on the NAS - not just point to it.
Naranj223
 
Posts: 20
Joined: 23 Aug 2014, 15:51

Re: Not adding files on NAS to DB

Postby ACX » 26 Aug 2014, 13:21

Hi scaramanga,
is there any particular reason why you are still using the 0.2-beta? More than a month ago we released RuneAudio 0.3-alpha for Rpi with tons of improvements, also under the mounts section. I suggest you to try that in any case.
User avatar
ACX
RuneAudio co-founder
 
Posts: 1692
Joined: 29 Nov 2013, 02:25
Location: Udine, Italy

Re: Not adding files on NAS to DB

Postby scaramanga » 26 Aug 2014, 13:33

Thanks for the quick reply. That's not helped unfortunately. When I add 'export' the remote directory path, the mount fails.

The only other thing that might be relevant is the nas isn't appearing in the 'browse' tab, the only thing there is 'USB'.
scaramanga
 
Posts: 7
Joined: 26 Aug 2014, 12:19

Re: Not adding files on NAS to DB

Postby Naranj223 » 26 Aug 2014, 13:37

Ah, pity that. Anyway, best to change over 0.3 now as above.

Then we'll all be on the same version for trouble-shooting.
Naranj223
 
Posts: 20
Joined: 23 Aug 2014, 15:51

Re: Not adding files on NAS to DB

Postby scaramanga » 26 Aug 2014, 14:26

Didn't realise there was a new version as only installed 02. about 2 days ago.

Will upgrade now. Thanks for your help.
scaramanga
 
Posts: 7
Joined: 26 Aug 2014, 12:19

Re: Not adding files on NAS to DB

Postby Midnight » 28 Aug 2014, 09:49

Naranj223 wrote:192.168.1.75://export/Music/Music-2014 2.7T 2.3T 325G 88% /mnt/MPD/NAS/Music-2014

It's the part "/export/...." that I think yours is missing.


No, it's not. That depends how your NFS server is configured. For a Synology Diskstation 192.168.1.64:/volume1/music is perfectly fine. But you have to check your access permissions. Are files readable by everyone?
User avatar
Midnight
Moderator
 
Posts: 141
Joined: 19 Feb 2014, 14:46

Re: Not adding files on NAS to DB

Postby Peter » 28 Aug 2014, 11:28

Welcome back, Midnight - long time no see!!!! ;)
User avatar
Peter
 
Posts: 64
Joined: 06 Mar 2014, 23:32

Re: Not adding files on NAS to DB

Postby Gecko29 » 29 Aug 2014, 11:04

I am also having the same issue - there is a tick next to the mount showing it is successful however there is no folder to view them. However if i type in the search DB box for an artist i can access the song and play it.
Gecko29
 
Posts: 2
Joined: 28 Aug 2014, 19:29

Re: Not adding files on NAS to DB

Postby Midnight » 29 Aug 2014, 11:05

I guess your Runeaudio is still indexing your files.
User avatar
Midnight
Moderator
 
Posts: 141
Joined: 19 Feb 2014, 14:46

support RuneAudio Donate with PayPal


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 4 guests