YunoHost-Apps / navidrome_ynh

Navidrome package for YunoHost
https://www.navidrome.org/
GNU General Public License v3.0
17 stars 5 forks source link

yunohost.navidrome music folder issues #24

Closed lautome closed 4 years ago

lautome commented 4 years ago

Hey, thanks a lot for navidrome on yunohost! First thing first: I've done a clean install of debian and then installed the yunohost package.

I run into a problem: /home/yunohost.navidrome makes sense as a default folder but I'm totally unable to upload there. I've tried the official "admin" and the user I've created to host navidrome and always get permission denied.

I'm not good at Linux so it may be on my side, but as I run a new instance...

ericgaspar commented 4 years ago

Hi @praise-you

lautome commented 4 years ago

Hi Eric, Thanks a lot for your thorough answer to my problem!

If you want to use an FTP client to upload your music to the /home/yunohost.navidrome/Music folder you can add your UserName (the YunoHost UserName) to the www-data group: sudo usermod -a -G www-data UserName, then connect to an FTP clent using your YunoHost username and password.

I did this. Got no error in the terminal. I'm still unable to upload into that folder.

If you already have an existing Media folder with right access, you can also point to this folder by changing the Navidrome settings: /var/lib/navidrome/navidrome.toml -> MusicFolder

This is the solution I've opted to successfully use Navidrome yesterday. I've chosen this folder: /home/yunohost.multimedia/user/Music

Cheers!

ericgaspar commented 4 years ago

Good to hear! /home/yunohost.multimedia/user/Music seems like a good place to store media as it's also accessible with Nextcloud with External storage support on. I still need to fine-tune the default settings for storage, default setting and authorization issues. Feel free to do a PR if you think of something that will improve the user experience. (I will put CovertArtPriority to setting as default #25)

lautome commented 4 years ago

Great! Thank you

TiberiusRegenschein commented 4 years ago

I like the suggestion to follow the multimedia folder structure established. In my case I even used the unohost.multimedia share folder. Maybe allow for setting the variable initially during installation. I was fine changing it in the .toml file.

App works very well on my X86 server 👍

jmbmkn commented 4 years ago

I've pointed the .toml file to my music collection at /home/yunohost.multimedia/share/Music but the music is not appearing in Navidrome. Am I missing a step?

Edit:I restarted the service from inside the ynh web admin interface and that fixed it

lautome commented 4 years ago

Hey @ericgaspar I've updated to 0.34 and everything runs smooth. Many thanks to you!! I suppose this issue can now be closed?

ericgaspar commented 4 years ago

Change default media folder in #28

TheNomad11 commented 3 years ago

I've pointed the .toml file to my music collection at /home/yunohost.multimedia/share/Music but the music is not appearing in Navidrome. Am I missing a step?

Edit:I restarted the service from inside the ynh web admin interface and that fixed it

Can this be added to the documentation? Without restarting the service no new music showed up