Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add NAS mounts do music library #2

Open
hiagocosta opened this issue Jun 19, 2024 · 2 comments
Open

add NAS mounts do music library #2

hiagocosta opened this issue Jun 19, 2024 · 2 comments

Comments

@hiagocosta
Copy link

could be possible to use NAS mounts like alexbelgium addons in your version?

@hiagocosta
Copy link
Author

i'm getting this error when I start the addon:


Addon: Navidrome
Modern Music Server and Streamer compatible with Subsonic/Airsonic

Addon version: 0.52.5
You are running the latest version of this addon
System: Home Assistant OS 12.4 (amd64 / generic-x86-64)
Home Assistant Core: 2024.6.3
Home Assistant Supervisor: 2024.06.0

Please share the above information when looking for help or support

Provided by: https://github.com/celynw/hassio-addons

Defining permissions for main user:
User UID: 0
User GID: 0

/etc/cont-init.d/32-nginx-ingress.sh: executing
/etc/cont-init.d/99-run.sh: executing
[02:04:30] INFO: ND_MUSICFOLDER set to /media/Músicas
[02:04:30] INFO: ND_DATAFOLDER set to /config/addons_config/navidrome
[02:04:30] INFO: Looking inside ND_DATAFOLDER /config/addons_config/navidrome
total 8
drwxr-xr-x 2 root root 4096 Jun 19 01:55 .
drwxr-xr-x 8 root root 4096 Jun 19 01:55 ..
[02:04:30] INFO: Looking inside ND_MUSICFOLDER /media/Músicas
ls: /media/Músicas: No such file or directory
Error : /etc/cont-init.d/99-run.sh exiting 1

Starting the upstream container

@celynw
Copy link
Owner

celynw commented Jan 7, 2025

Hi! Very very sorry to leave you hanging for so long.

I tried to reproduce your issue but I couldn't.

  • I created /media/Músicas on my host and put some music inside there (the album folder is named 234)
    • I did also change the permissions to my own user from root, as I needed root to create the directory there
  • I set the Music Folder configuration option to /media/Músicas
  • Then I ran the container. Here's my similar log section:
    [14:14:09] INFO: ND_MUSICFOLDER set to /media/Músicas
    [14:14:09] INFO: ND_DATAFOLDER set to /config/addons_config/navidrome2
    [14:14:09] INFO: Looking inside ND_DATAFOLDER /config/addons_config/navidrome2
    total 8
    drwxr-xr-x    2 root     root          4096 Jan  7 14:11 .
    drwxr-xr-x   18 root     root          4096 Jan  7 14:11 ..
    [14:14:09] INFO: Looking inside ND_MUSICFOLDER /media/Músicas
    total 12
    drwxr-xr-x    3 1000     1000          4096 Jan  7 14:11 .
    drwxr-xr-x    3 root     root          4096 Jan  7 14:10 ..
    drwxr-sr-x    2 1000     1000          4096 Jan  7 14:11 234
    
  • I went to the hosted address and the album was there, and I could play it

If this is still an issue, can you confirm that your directory actually exists on the root of your host? At /media/Músicas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants