Hello! Just installed sparkbox and the media stack. My nvme running Linux is showing up on my dashboard, but not my main 8TB HDD. Tom AI tried helping but to no avail. Any ideas? Running on an Optiplex w latest Ubuntu Server.
8 replies
tomspark wrote:
Welcome! The dashboard's storage view only shows drives that are mounted (made available to the system) and that SparkBox is actually using — so the most likely reason your 8TB isn't there is that it's not mounted yet, or SparkBox isn't pointed at it for your media. Quick check — run this over SSH and paste what it shows: lsblk That lists every drive and where it's mounted. Your 8TB will show up with a blank 'MOUNTPOINT' if it isn't mounted (that's the usual cause on a fresh Ubuntu Server install — the extra drive is detected but not auto-mounted). Paste it and I'll give you the exact two steps to mount it permanently and point your media library at it — then it'll show on the dashboard and your downloads will land there instead of filling your OS drive.
tomspark wrote:
Great news — your 8TB is totally fine and already connected (that '/data' next to sda1 means it's mounted and ready). The dashboard isn't showing it because SparkBox installed onto your small OS drive and is set to store everything there, not on the 8TB. Since you just installed and haven't downloaded anything yet, now's the perfect time to point it at the big drive. Over SSH: sudo nano /opt/sparkbox/.env Find these three lines and change the values after the = so they point at your 8TB: SBDATADIR=/data/sparkbox MEDIAROOT=/data/sparkbox/media PHOTOSPATH=/data/sparkbox/photos Save with Ctrl+O then Enter, exit with Ctrl+X. Then run: sudo mkdir -p /data/sparkbox sudo chown 1000:1000 /data/sparkbox sudo sparkbox up SparkBox will build the Movies/TV/downloads folders on the 8TB and it'll show on the dashboard. (If the drive already has files you want to keep, they're safe — this just adds a 'sparkbox' folder alongside them.) Run that and tell me how the dashboard looks — happy to help wire up photos/books too if you use those.
tomspark wrote:
Nice — the media drive's live now (that 7TB free is your 8TB doing its job). Photos + books: you already pointed photos to the 8TB in that edit, so just add books the same way. sudo nano /opt/sparkbox/.env and add/adjust these: BOOKSPATH=/data/sparkbox/books MANGAPATH=/data/sparkbox/manga Then sudo sparkbox up. Make sure the Photos (Immich) app and the books app are enabled in the dashboard so they actually use those folders. The two new-dashboard things are both real and on me — thanks for flagging: 1. Storage-by-drive only showing the nvme (it should show both drives) — flagged to fix. 2. The beta not showing an app's auto-generated login when you open it — also flagged. For now, the Classic dashboard (the view already showing your 7TB) DOES show each app's login info — so flip to Classic when you need a password, and I'll get both sorted in the beta. Anything else you want living on the 8TB?
tomspark wrote:
Good news — you're basically already there. Most of SparkBox's apps build their data folders off that SBDATADIR setting automatically, so the value you set (/data/sparkbox) already sends Nextcloud, Immich/Photos, backups and the rest onto the 8TB the next time you run sudo sparkbox up. The media stack uses a few separate lines, and between the two edits I gave you (MEDIAROOT, PHOTOSPATH, BOOKSPATH, MANGAPATH) those are on the 8TB now too. So everything that isn't the OS or the apps themselves lands on the 8TB — no need to hunt down anything else. The only thing that wouldn't auto-move is data created BEFORE the change, but since you just installed there's nothing old to migrate. You're all set — enjoy it!
MoxJet wrote:
samwilsonhoff@samserver:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 7.3T 0 disk └─sda1 8:1 0 7.3T 0 part /data sr0 11:0 1 1024M 0 rom nvme0n1 259:0 0 238.5G 0 disk ├─nvme0n1p1 259:1 0 1G 0 part /boot/efi └─nvme0n1p2 259:2 0 237.4G 0 part / samwilsonhoff@samserver:~$
MoxJet wrote:
hm, storage by drive still just shows the nvme. The classic dashboard does say 7tb free in the media drive, but I would like to see both drives in the new dashboard. I would love to set up photos and books too while we are at it! Also, not sure if you are aware, but the new dashboard beta does not give you the auto-generated login info for apps when opening them
MoxJet wrote:
Sounds great, thank you so much! And thank you for the help, patience, and quick responses. I just want everything that isn't the OS or apps to be downloaded onto the 8TB drive (essentially all media). Can I do this with one move? Or have to manually change all?
MoxJet wrote:
Thank you so much!