Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Moode Library Configuration
#1
I can no longer enter the Moode>Configuration>Library. When I click ‘Library’ on the Configuration screen it stops responding and I need to close the webpage and go to http://moode again. 

This started happening after I attempted to add an SMB share that is on a hard drive connected to my ASUS router via USB. It is a Samba Ver. 1 and Ver. 2 share. 

I have tried restarting the system by removing the power and reconnecting power, but the issue persists. 

I am not sure what to try next. Any suggestions?  Besides a new install …..


Attached Files Thumbnail(s)
   
Reply
#2
Reboot and then post the Moode log

Code:
moodeutl -l
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
(08-20-2021, 08:30 PM)Thank You, the code returned the following:RaspiOS 10.6 | 5.4.77-v7+ #1371 | armv7l (32-bit) Wrote: Hardware: Allo USBridge SIG [CM3+ Lite 1GB v1.0]

                      ____     __        ____
          __ _  ___  / __ \___/ /__     /_  /
         /  ' \/ _ \/ /_/ / _  / -_)     / /
        /_/_/_/\___/\____/\_,_/\__/     /_/

                 moOde audio player
              Release 7.3.0 2021-06-25
                © 2014 Tim Curtis


The programs included with moOde are free software; the
exact distribution terms for each program are described
in the individual files in /usr/share/doc/*/copyright.
Moode comes with absolutely no warranties expressed or
implied, or any other guarantees.

pi@moode:~ $ moodeutl -l
20210820 124817 worker: -- Start
20210820 124818 worker: Successfully daemonized
20210820 124818 worker: Integrity check (passed)
20210820 124819 worker: File check (OK)
20210820 124820 worker: Session vacuumed
20210820 124820 worker: Session loaded
20210820 124820 worker: Debug logging (OFF)
20210820 124820 worker: -- Audio debug
20210820 124820 worker: ALSA cards: (0:b1 | 1:Headphones | 2:Audio | 3:empty
20210820 124820 worker: MPD config: (2:USB HiRes Audio | mixerSadPCM) | card:2)
20210820 124820 worker: ALSA mixer actual (PCM)
20210820 124820 worker: ALSA PCM volume set to (0%)
20210820 124820 worker: -- System
20210820 124829 worker: Host     (moode)
20210820 124829 worker: moOde    (7.3.0 2021-06-25)
20210820 124829 worker: RaspiOS  (10.6)
20210820 124829 worker: Kernel   (5.4.77-v7+ #1371)
20210820 124829 worker: Platform (Allo USBridge SIG [CM3+ Lite 1GB v1.0])
20210820 124829 worker: ARM arch (armv7l, 32-bit kernel)
20210820 124829 worker: MPD ver  (0.22.8_p0x3)
20210820 124829 worker: CPU gov  (ondemand)
20210820 124829 worker: USB boot not available
20210820 124829 worker: File system not expanded yet
20210820 124829 worker: HDMI port off
20210820 124829 worker: -- Network
20210820 124829 worker: eth0 exists
20210820 124829 worker: IP addr (192.168.50.100)
20210820 124829 worker: Netmask (255.255.255.0)
20210820 124829 worker: Gateway (192.168.50.1)
20210820 124829 worker: Pri DNS (192.168.50.1)
20210820 124829 worker: Domain  (None)
20210820 124829 worker: wlan0 does not exist
20210820 124829 worker: -- Audio config
20210820 124829 worker: ALSA card number (2)
20210820 124829 worker: MPD audio output (USB HiRes Audio)20210820 124830 worker: Audio formats (S32_LE, SPECIAL, DSD_U32_BE)
20210820 124830 worker: ALSA mixer name (PCM)
20210820 124830 worker: MPD volume control (none)
20210820 124830 worker: Hdwr volume controller exists
20210820 124830 worker: Max ALSA volume (100%)
20210820 124830 worker: ALSA output mode (Direct: hw)
20210820 124830 worker: ALSA loopback (Off)
20210820 124830 worker: Reset renderer active flags
20210820 124830 worker: CamillaDSP (off)
20210820 124830 worker: -- MPD startup
20210820 124830 worker: MPD started
20210820 124831 worker: MPD accepting connections
20210820 124831 worker: MPD output 1 ALSA Default (on)
20210820 124831 worker: MPD output 2 ALSA Bluetooth (off)
20210820 124831 worker: MPD output 3 HTTP Server (off)
20210820 124831 worker: MPD crossfade (off)
20210820 124831 worker: MPD ignore CUE files (yes)
20210820 124831 worker: -- Feature availability
20210820 124831 worker: Source select (available)
20210820 124831 worker: Source select (source: MPD)
20210820 124831 worker: Source select (output: USB HiRes Audio)
20210820 124831 worker: Bluetooth (available)
20210820 124831 worker: Airplay renderer (available)
20210820 124831 worker: Spotify renderer (available)
20210820 124831 worker: Squeezelite (available)
20210820 124831 worker: RoonBridge renderer (not installed)
20210820 124831 worker: UPnP renderer (available: started)20210820 124832 worker: DLNA server (available: started)
20210820 124832 worker: UPnP browser (available)
20210820 124832 worker: GPIO button handler (available)
20210820 124832 worker: Stream recorder (n/a)
20210820 124832 worker: -- Music sources
20210820 124832 worker: USB sources (none attached)
20210820 132304 sourceMount(): Mount error: (mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs))


Tim CurtisReboot and then post the Moode log

Code:
moodeutl -l
Reply
#4
Its very odd there is no log output after the attempt to mount the SMB share.

It's not obvious to me what might be happening.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#5
(08-20-2021, 11:17 PM)Tim Curtis Wrote: Its very odd there is no log output after the attempt to mount the SMB share.

It's not obvious to me what might be happening.

Is there a way to force it to stop whatever it is trying to do and restart? When I choose the m menu and then power and either Restart or Shutdown it will show those words in the middle of the screen but it doesn’t actually do anything.

It is not just the Library Configuration Setting that I cannot access. None of the options in Configuration Settings will load. The only button that does anything on that page is Close.
Reply
#6
restart with..
Code:
sudo reboot

or shutdown with..

Code:
sudo shutdown -h now
----------
bob
Reply
#7
(08-21-2021, 02:30 AM)DRONE7 Wrote: restart with..
Code:
sudo reboot

or shutdown with..

Code:
sudo shutdown -h now

I ended up creating a new image of Moode Audio on a new SD card and booting from that. 

I am attempting to add a folder to the library from the SMB share on the hard disk that is connected to my router via USB. After clicking Save it simply hangs and does not proceed. 

I then when I reconnect to http://moode and go to Configuration Settings menu none of the option work. 

Is there a solution to this problem?

Thank You
Reply
#8
(08-21-2021, 05:45 PM)Chrisjhouse Wrote:
(08-21-2021, 02:30 AM)DRONE7 Wrote: restart with..
Code:
sudo reboot

or shutdown with..

Code:
sudo shutdown -h now

I ended up creating a new image of Moode Audio on a new SD card and booting from that. 

I am attempting to add a folder to the library from the SMB share on the hard disk that is connected to my router via USB. After clicking Save it simply hangs and does not proceed. 

I then when I reconnect to http://moode and go to Configuration Settings menu none of the option work. 

Is there a solution to this problem?

Thank You

I think I found the solution to the above problem.

It was putting in description information after SERVER/Folder (description information)  and I did not remove it from the path.

After removing the parentheses and stuff in them it will save fine, but I still cannot mount the volume.

I can add an SMB share from a different server (Ubuntu) and it works fine, so it is something specific to the SMB Server on the Asus Router.

Here is the last part of the log: ( I replaced my username & password with x in the log, but verified that they are correct )

20210821 145839 worker: Job sourcecfg
20210821 145842 sourceMount(): Mount error: (mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs))
20210821 145842 sourceMount(): Command=(mount -t cifs "//PEGASUS/Music/DSD/" -o username="x",password="x",rsize=61440,wsize=65536,iocharset=utf8,ro,dir_mode=0777,file_mode=0777 "/mnt/NAS/OrionDSD")
20210821 125842 waitWorker(): Wait  (1)
20210821 125842 waitWorker(): End   (lib-config, w_active=0)
20210821 125849 waitWorker(): Start (lib-config, w_active=0)
20210821 125849 waitWorker(): End   (lib-config, w_active=0)
20210821 130011 waitWorker(): Start (lib-config, w_active=0)
20210821 130011 waitWorker(): End   (lib-config, w_active=0)
20210821 130019 sourceMount(): Mount error: (mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs))
20210821 130019 sourceMount(): Command=(mount -t cifs "//PEGASUS/Music/DSD/" -o username="x",password="x",rsize=61440,wsize=65536,iocharset=utf8,ro,dir_mode=0777,file_mode=0777 "/mnt/NAS/OrionDSD")
20210821 130019 waitWorker(): Start (lib-config, w_active=0)
20210821 130019 waitWorker(): End   (lib-config, w_active=0)
20210821 130027 waitWorker(): Start (lib-config, w_active=0)
20210821 130027 waitWorker(): End   (lib-config, w_active=0)
orker(): End   (lib-config, w_active=0)
Reply
#9
Run the command below. If your network doesn't block SMB discovery then it will return the list of SMB protocol  versions supported by your server.

Code:
nmap HOST_OR_IPADDRESS_OF_SERVER -p 139 --script smb-protocols |grep \|

This command is used when creating a Music Source to try and automatically determine the highest SMB protocol supported by the server. If it does not return anything you can try adding the version manually in the Mount flags. Below is the help.

Code:
vers=1.0, 2.0, 3.0, 3.1 etc may be needed and/or sec=ntlm depending on what the NAS device requires.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: