Ampache - How to add a catalog / media with custom storage?
-
@girish said in Ampache - How to add a catalog / media with custom storage?:
CIFS support umask flag when mounting
Yeah it's CIFS
-
@jdaviescoates Maybe you can try file_mode and dir_mode flag in the /etc/fstab. See https://askubuntu.com/questions/313093/how-do-i-mount-a-cifs-share-via-fstab-and-give-full-rw-to-guest .
I guess this is part of the complexity in implementing this Worth automating!
-
Hi,
I have a similar problem of @necrevistonnezr here.
I installed Ampache with the docker, although I am not familiar with the docker infrastructure, nor with the issue that can arise with it.
My docker is in
/home/cocconat/ampache/
Once I installed the service all run smooth, and I can add the two test songs in the
/home/cocconat/ampache/data/media/
All amazing.
Now I would like to add to the Catalog my entire music library. It lives in an external storage mounted in
/home/cocconat/data/Music
I tried to make a link to the folder with
sudo ln -s /home/cocconat/Music ampache/data/media/music
but the catalogue does not see the linked folder,
I also tried to add a custom path in the
Admin -> Add Catalog
, I choseLocal
catalog and use the abs path of my folder/home/cocconat/data/Music
or the relative path../../Music
which seems a bit silly ehehe.Anyway, no way to find this folder.
My storage is anexfat
mounted with fstab options:defaults,uid=1000,gid=1000,umask=022 0 1
which should be fine if I do not want to upload/change the files.Is this a problem? shall I add www-data to my group?
And how am I supposed to add the folder? via the link or somehow else?
Thanks,
cocconat -
@cocconat this is the Cloudron forum for the Ampache package, so things which are being discussed are Cloudron related or specific to Ampache package. They may or may not work for docker deployments.
You might want to take this up upstream here - https://github.com/ampache/ampache/discussions