Use SMB shares for storing uploaded/converted files #530
Replies: 7 comments 4 replies
-
mediacms_files is what interests you, that's the directory that holds all media (original and encoded/transcoded versions). a. install mediacms somewhere, eg /home/user/mediacms Hope this helps |
Beta Was this translation helpful? Give feedback.
-
So i have to create all the subfolders like on the local folder? Or will they be created automatically after encoding? |
Beta Was this translation helpful? Give feedback.
-
b. mount SMB share on /home/user/mediacms/mediacms_files Could you please give some example/tutorial on how to do that on Ubuntu 20 ? Thanks |
Beta Was this translation helpful? Give feedback.
-
Sorry to hi-jack and rebump this tread, but I'm also struggling to get this to work. Full access to network share (SMB on TrueNAS) have copyed all from media_files to same share. can't upload, but viewing is working. When I try to upload it show x% and then retrying 2 times and fail. my Fstab line: |
Beta Was this translation helpful? Give feedback.
-
Neverminde, made at NFS share, mounted it as medie_files, made www-data RW on it and auto mount white fstab, works now :) |
Beta Was this translation helpful? Give feedback.
-
Hey, would you be so kind and explain excatly how did you do it? :) I have permission problem, excatly like you :) |
Beta Was this translation helpful? Give feedback.
-
I am getting: PermissionError : [Errno 13] Permission denied : 'my_path' when I change the default directory |
Beta Was this translation helpful? Give feedback.
-
Describe the feature you'd like
A possibilty to change the working directories in the settings.py from local directories to SMB shares
My SMB shares are huge 32TB. And my xcp-ng VM machines has only 10GB with Ubuntu Server. I want to keep the VM at small size, because of backups.
The reason: I have already a big amount of videos,photos and so on. When i upload these files to mediacms i have them on the VM and on my TRUENAS storage.
Describe alternatives you've considered
Additional context
I tried to mount SMB shares under /media/"FOLDER" with success, but in the settings.py i dont know which entries must be modified to use the SMB shares for (video decoding/MEDIA_ROOT)
Beta Was this translation helpful? Give feedback.
All reactions