Essentially, you need to mount the “real” recording folder as '/var/lib/bluecherry/recordings" in the Docker container. I’m not familiar with OpenMediaVault, so this might or might not exactly apply to you.
Don’t try to blindly follow this. However, if you used the instructions listed here: https://raw.githubusercontent.com/bluecherrydvr/bluecherry-docker/master/README.md , then you should be ok.
First CD to the folder with the docker-compose.yml file for your BlueCherry docker install.
Type docker-compose down
to bring down the bluecherry environment temporarily. Then, use your favorite text editor to modify the docker-compose.yml file.
Find the section that says:
volumes:
- /media/bluecherry:/var/lib/bluecherry/recordings
#######################################################
# Enable this only if you have a supported VAAPI device and /dev/dri exists on the host system.
Since you want to use /srv/dev-disk-by-label-Raid6/Recordings as your recording location, change:
- /media/bluecherry:/var/lib/bluecherry/recordings
to
- /srv/dev-disk-by-label-Raid6/Recordings:/var/lib/bluecherry/recordings
Save the file, and exit the text editor. Then, bring the container back up with docker-compose up -d
.
Now, in your web browser, open the BlueCherry interface, and set the storage location back to /var/lib/bluecherry/recordings
. You should now have the recordings pointing to the right place. Ie: Anything BlueCherryDVR system tries to put into what it thinks is /var/lib/bluecherry/recordings , will actually end up in /srv/dev-disk-by-label-Raid6 .
As for permissions - on your host system, cd to /srv/dev-disk-by-label-Raid6 , and type chown -R 1000:1000 Recordings
.
Notes for the above instructions:
- In order to make proper sentences, I use commas between phrases and periods at the end of sentences. Sometimes the last part of a phrase or sentence is a command to type. Don’t include the comma or period in those commands!
- If you type the commands I gave, and you’re not already the ROOT user, you may get “access denied” or “permission denied” errors. If that happens, type the same command again, but put the word “sudo” at the beginning of the command.