Thank you for your donation!


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


Problem: NAS unmount
#1
Hi everybody. Hi have just configured a RAID1 on my Synology DS218+ but moode doesn't work with it.
WHen i try to mount the library moode see the nas (both with SMB and NFS) and the configurations seem to work fine, the green text with the name of the source appears regularly. 
But when i go in the window sources with SDcard, playlist and favourites i cannot see the NAS icon. It doesn't work, is impossible to regenerate the music database. I tried several different settings on the nas but nothing.
Do everybody has an idea about this issue? Maybe it depends from the RAID1 and moode isn't compatible with it?

thanks a lot

Here's attached the screeshots
       
Reply
#2
Post output from the commands below


Code:
mount

ls -l /mnt/NAS

ls -l /mnt/NAS/Synology
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
@nautinut 

So you said

Quote:But when i go in the window sources with SDcard, playlist and favourites i cannot see the NAS icon. It doesn't work, is impossible to regenerate the music database.
The Library Folder view may be the most misunderstood feature in moOde. It is not like a file manager; it shows only the folders and files already known to moOde to contain music tracks* and moOde doesn't know what they are until MPD has scanned the sources. 

Once you've configured your NAS connection and return to the Library View, click through m>Update library. If you then refresh you should see the NAS icon show up. You still have to wait until the update is finished (the spinning arrow disappears).

Regards,
Kent

*I'm simplifying this somewhat---there's also things like coverart and playlist files, but you get the gist.

PS - for the Linux-heads among us, folder=directory
Reply
#4
Ah, once again I see my reaction time was slower than Tim's Smile

Whether or not RAID technology is used internally to the Synology server should be invisible to the external hosts mounting it. 

Tim's request is to the point, however, that the long listing format of the ls command will reveal both the presence of the mount and the permissions associated with it. That's a subject I didn't mention.

Regards,
Kent
Reply
#5
(10-15-2024, 02:40 PM)TheOldPresbyope Wrote: @nautinut 

So you said

Quote:But when i go in the window sources with SDcard, playlist and favourites i cannot see the NAS icon. It doesn't work, is impossible to regenerate the music database.
The Library Folder view may be the most misunderstood feature in moOde. It is not like a file manager; it shows only the folders and files already known to moOde to contain music tracks* and moOde doesn't know what they are until MPD has scanned the sources. 

Once you've configured your NAS connection and return to the Library View, click through  m>Update library. If you then refresh you should see the NAS icon show up. You still have to wait until the update is finished (the spinning arrow disappears).

Regards,
Kent

*I'm simplifying this somewhat---there's also things like coverart and playlist files, but you get the gist.

PS - for the Linux-heads among us, folder=directory

thanks. I already did it, but after the NAS icon appears i click on it, i see correctly Synology but Moode doesn't generate the music database and then, suddenly, disappear. I tried reinstalling a new moode version on another memory card, but the problem remains
Reply
#6
(10-15-2024, 02:38 PM)Tim Curtis Wrote: Post output from the commands below


Code:
mount

ls -l /mnt/NAS

ls -l /mnt/NAS/Synology

Sorry but i never need in the past to use the command tool. How can i use it? is there a tutorial/manual?
Reply
#7
Menu > Configure > System

1. Turn ON "Web SSH" and then OPEN it
2. Log in with the userid and password you setup in the Raspberry Pi Imager
3. Enter the commands
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#8
(10-15-2024, 05:13 PM)Tim Curtis Wrote: Menu > Configure > System

1. Turn ON "Web SSH" and then OPEN it
2. Log in with the userid and password you setup in the Raspberry Pi Imager
3. Enter the commands

Fixed!!!
With your help and the support of chatGPT (really impressive) i finally mounted my NAS.
I saved all the story in a word file if somebody is interested.
Thanks a lot Tim :-)

Here's the summary:

Moodeaudio NAS Mounting Issue - Conversation Summary

1. User experienced an issue with Moodeaudio. Despite the NAS Synology DS218+ being loaded correctly via SMB or NFS protocol, it did not appear in the library section.
2. I suggested several troubleshooting steps, including checking the network settings, firewalls, and Moodeaudio’s configurations.
3. The user attempted accessing Moode via SSH but encountered issues with the connection (port 22 was closed). After opening port 22 on the router and ensuring the firewall was disabled, the issue persisted.
4. I helped the user understand how to open the port and access Moode using SSH via PowerShell.
5. Upon connection to Moode, we ran commands to check the library’s mounting status. The user confirmed that the NAS was not mounted.
6. We manually created the directory `/mnt/NAS/Synology` and mounted the NAS using the `cifs` protocol.
7. After manually mounting the NAS, the user confirmed that the library could be accessed successfully.
8. Possible cause: The issue was likely due to incorrect mounting of the NAS, possibly compounded by the RAID 1 configuration on the NAS.
Reply
#9
If you have to do create the mount directory and then manually mount the share then something is definitely broken.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#10
Maybe stupid remark/question, but is the SMB share on your NAS properly configured (name and/or access rights)? It looks like "Synology" is the IP address, but not the SMB share name?
Reply


Forum Jump: