Change folder for "Add Content"

support

#1

Hey,

Something I didn’t find in the docs. Is it possible to choose the folder where the UI “Add content” function send the music to ?

Thanks !


#2

Hi @isidoreisou

You cannot change it specifically for audio fies, however, you can change the place were all media (audio, uploads, avatars, federation cache, etc.) are sent using the MEDIA_ROOT variable in your env file. You can for instance move this directory to another partition on your server and update the MEDIA_ROOT value to the new path :slight_smile:


#3

Hello @eliotberriot

Sorry for the delay!
Still trying to put my music library on an another location,

  • I’ve copied the full media folder on my other drive
  • I’ve changed the MEDIA_ROOTvariable in my .env file
  • Change new folder ownership to funkwhale:funkwhale
  • reboot

But no luck, I can read my music, but I can’t import music anymore, from the webUI. I’ve got an error each time.

What did I miss?

Thanks a lot!


#4

Well I have to add that I’m using Yunohost. And my problem is probably not Funkwhale related. But I’m welcome to any help!


#5

Can you please share the error / logs? It would help me to pinpoint the issue :wink:


#6

I have this error, but unfortunately I don’t know where logs could be saved.
(The size is 6MB here)
05
Thanks a lot.


#7

can you share the logs from journalctl -xn -u funkwhale-server after a failed upload?


#8

It’s obviously a permission problem. I’ve tried something violent like chmod 777 on my raid folder, but it did not change anything.


Need help with SSL and linking storage
#9

Finally I will stop trying to store my music on a separate drive, because it makes everything more complicated. It’s true for a lot of apps on my server. Thanks a lot for the support.


closed #10

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.