I am setting this up on a pc running Ubuntu Server. The PC has a small nvme drive with the OS on it and Sparkbox. There are 2 x 4TB hdd's also in the pc. Is there a tutorial that shows how to map those hdd's so that the media stack will use them instead of downloading to the small nvme drive? If not, is this something that can be done please?
6 replies
Chris wrote:
Yes, absolutely doable — and it's a really common setup, so you haven't done anything wrong. SparkBox keeps all your downloads and your Movies/TV folders in one place, and the knob that decides where is a line called MEDIAROOT in the file /opt/sparkbox/.env. Right now it points at the nvme; you just point it at the big drives instead. Two steps. First, in Ubuntu, mount the two 4TB drives so they show up at a folder (like /mnt/media) — SparkBox can't mount or format drives for you, that's an OS job, and formatting wipes a drive so only do that to empty ones. Then set MEDIAROOT=/mnt/media in that .env file and run sudo sparkbox up media. After that, downloads and your libraries all live on the big drives.
Wulf_Man wrote:
Thank you for the assist. I have managed to get it to work.
Wulf_Man wrote:
Now I have another question. I have other movies and shows I want to transfer over to the new folders created by sparkbox, but I am not able to see them when I log in to winscp and browse to the location they are meant to be in. I assume this is a permissions thing, but I have finally got this working and don't want to try something and mess it up so want to ask for help first please.
Chris wrote:
That's normal and nothing's broken — those folders belong to SparkBox's own app user, so your regular login (which is what WinSCP connects as) can't see them. That's exactly why it comes up empty. The easiest way to move your existing movies and shows in is SparkBox's own File Browser. In a terminal run sparkbox urls and it prints the File Browser address — open that in your web browser and sign in with the password from Settings → Service Passwords. You'll see the Movies and TV Shows folders, and anything you drop in there Jellyfin picks up automatically. If you'd rather keep using WinSCP, run sudo sparkbox doctor and look for the 'Media library folder (MEDIAROOT)' line — that's the exact path to browse to.
Wulf_Man wrote:
Thanks Chris. That got me sorted. :)
Chris wrote:
This is an easy one-setting change — nothing's broken. SparkBox puts all downloads in one media folder, and right now that folder is on your small nvme. You just point it at one of the 4TB drives. First make sure a drive is mounted at a steady path like /mnt/media, then run: sudo sparkbox set-env MEDIAROOT /mnt/media sudo sparkbox restart media SparkBox then makes the Movies, TV and Music folders on that drive and downloads go there from now on. Tell me where those two 4TB drives are mounted right now and I'll send the exact lines to make it stick across reboots.