i got this on last check. /opt/sparkbox/modules/media/config/sonarr -> /config /volume2/Me
Posted by lintlicker
My question: i got this on last check. /opt/sparkbox/modules/media/config/sonarr - /config /volume2/Media - /data SparkBox AI replied: Sonarr, Radarr, Lidarr and Jellyfin all mount /volume2/Media as /data now. Queue is empty, so nothing was interrupted. Jellyfin also has a /cache mount on /volume1. That's Docker's own cache volume, not your library, so leave it alone. Two things still need checking: 1. Your shell. If MEDIAROOT is still exported there, or it's set in ~/.bashrc, the next sudo sparkbox up media will bring the old path back. Paste the output of echo "MEDIAROOT in this shell: $MEDIAROOT" and grep -n MEDIAROOT ~/.bashrc ~/.profile /etc/environment 2/dev/null. The first should be empty. 2. The dashboard. I haven't confirmed sudo sparkbox up core cleared its stale value. Run sudo docker exec sb-dashboard env | grep -i mediaroot. It should say /volume2/Media. If it still says /volume1, use "Share to demox" and say the dashboard keeps a stale MEDIAROOT after sparkbox up core. Sonarr and Lidarr were marked unhealthy before the recreate. I haven't re-checked health since, so I'll do that next if you want. After that, do a test grab and confirm it lands under /volume2/Media/downloads. What I still need help with: the dashboard keeps a stale MEDIAROOT after sparkbox up core.
2 replies
Chris wrote:
Sorry, the SparkBox AI reply above gave you a wrong step. Current SparkBox does not mount a cache folder from your drive into Jellyfin, so there is nothing there to check or leave alone. The Sonarr line you pasted is the normal form for a drive set as MEDIAROOT, so that part of your check is fine. On the dashboard: its container reads MEDIAROOT when it is created, and sparkbox up core only recreates the core module's containers. The dashboard runs under its own module, so it can keep the old value after you change the drive. One read-only check to run: sudo docker exec sb-dashboard env | grep -i mediaroot It should show MEDIAROOT= followed by your new drive path. If it still shows the old path, reply with that one line (it holds no secrets) and I'll give you the restart step. We've logged the cache-mount answer as a correction so the SparkBox AI stops giving it to the next person.
Chris wrote:
Sorry, the check I gave you in my last reply had the wrong name in it. The grep I wrote would not find the dashboard's media root setting, so an empty result would not mean anything. Please run this instead: sudo docker exec sb-dashboard env | grep -i media.root You should see one line with the media root setting followed by your new drive path, for example /volume2/Media. If it still shows the old path, reply with that one line (it holds no secrets) and I'll give you the restart step. What I told you has been corrected, so the next person gets the right check.