When the containers are restarted my volumes, I have added in each container, QBitTorrent, Sonarr and Radarr, are removed. These added volumes direct these to the appropriate folders within my NAS to save files etc. How do I go about making sure this does not continue to happen?
5 replies
tomspark wrote:
Close! The trick is SparkBox uses one shared folder, not two separate ones — and everything inside it shows up under /data in the apps. So point it at the parent that holds both: MEDIAROOT=/mnt/synology Then run sudo sparkbox up. Inside qBittorrent, Sonarr and Radarr, your Media folder is now /data/Media and Downloads is /data/Downloads. Set qBittorrent's downloads to /data/Downloads and Sonarr/Radarr's library to /data/Media. Keeping both under that one parent matters — it's what lets a finished download move into your library instantly instead of slowly copying. And because it's set in .env, it sticks through restarts, so no more disappearing volumes.
tomspark wrote:
Love it — that's exactly how it's meant to work. Enjoy the build, and shout any time something comes up.
tomspark wrote:
Good news — nothing's broken and you didn't do anything wrong. SparkBox rebuilds the media apps from its own template each time they restart (that's how it keeps them updated), and that rebuild wipes any volume you added to a container by hand. So they'll keep vanishing on restart. The durable way is to tell SparkBox once where your NAS folder is — it then points qBittorrent, Sonarr and Radarr all at it for you, and it survives restarts and updates. Open /opt/sparkbox/.env, set your NAS path (no spaces or quotes), then bring it back up: MEDIAROOT=/mnt/your-nas-folder sudo sparkbox up Inside each app that folder now shows up as /data — point them there. Run sudo sparkbox doctor to confirm it mounted. If you need more than one folder, tell me the layout and I'll sort it.
currentlylive wrote:
So what would work the best would be /mnt/synology/Media this would be seen as /Media then /mnt/synology/Downloads this would be see as /Downloads. Unless the way you mentioned above will work easier, but I would just need a bit of help moving forward to make sure everything is seen properly this way.
currentlylive wrote:
Thank you so much, just went ahead and made these changes. Fantastic, clean and simple!