clinton-hall / nzbToMedia

Provides NZB and Torrent postprocessing To CouchPotatoServer, SickBeard/SickRage, HeadPhones, Mylar and Gamez
GNU General Public License v3.0
672 stars 176 forks source link

Git / FFmpeg / FFprobe - Unable to Locate /run - Docker #2002

Open abatchx opened 3 days ago

abatchx commented 3 days ago

I appreciate that this isn't a script issue - but I'm hoping you can point me in the right direction of what my issue is please :) I've probably missed something obvious!

Describe the bug NZBtoMedia script cannot call Git / FFMpeg during run

Technical Specs Docker instance hosted on proxmox Debian LXC Container called 'Docker'

Docker images: SABnzbd Medusa

'which' commands on the (Docker) LXC - return:

/usr/bin/ffprobe
/usr/bin/git
/usr/bin/ffmpeg

NZBtoMedia installed into folder: /var/lib/docker/volumes/SABnzbd-Config/_data/nzbToMedia#

The SABnzbd-Config local folder is mounted into the SABnzbd docker image, as its /config folder

Expected behavior Git check completed ffmpeg / ffprobe detected

Log

2024-10-19 17:37:35 INFO ::MAIN: Loading config from [/config/nzbToMedia/autoProcessMedia.cfg] 2024-10-19 17:37:35 INFO ::MAIN: Python v3.12 will reach end of life in 1443 days. 2024-10-19 17:37:35 INFO ::MAIN: Checking database structure... 2024-10-19 17:37:35 DEBUG ::MAIN: Checking Initial Schema database upgrade 2024-10-19 17:37:35 DEBUG ::MAIN: InitialSchema upgrade not required 2024-10-19 17:37:35 DEBUG ::MAIN: Checking if we can use git commands: "/usr/bin/git/" version 2024-10-19 17:37:35 DEBUG ::MAIN: Executing "/usr/bin/git/" version with your shell in /config/nzbToMedia 2024-10-19 17:37:35 DEBUG ::MAIN: Not using: "/usr/bin/git/" 2024-10-19 17:37:35 DEBUG ::MAIN: Unable to find your git executable - Set git_path in your autoProcessMedia.cfg OR delete your .git folder and run from source to enable updates. 2024-10-19 17:37:35 DEBUG ::MAIN: No git specified, can't use git commands 2024-10-19 17:37:35 INFO ::MAIN: Checking if git needs an update 2024-10-19 17:37:35 DEBUG ::MAIN: No git specified, can't use git commands 2024-10-19 17:37:35 ERROR ::MAIN: Unable to determine installed version via git, please check your logs! 2024-10-19 17:37:35 INFO ::MAIN: No update needed 2024-10-19 17:37:35 INFO ::MAIN: nzbToMedia Version:12.1.13 Branch:master (Linux 6.8.12-1-pve) 2024-10-19 17:37:35 WARNING ::MAIN: Failed to locate ffmpeg. Transcoding disabled! 2024-10-19 17:37:35 WARNING ::MAIN: Install ffmpeg with x264 support to enable this feature ... 2024-10-19 17:37:35 WARNING ::MAIN: Failed to locate ffprobe. Video corruption detection disabled! 2024-10-19 17:37:35 WARNING ::MAIN: Install ffmpeg with x264 support to enable this feature ...

clinton-hall commented 2 days ago

when you run the which command in docker, what user are you running this as? What user actually runs SABnzbd? The user that runs SABnzbd is the user that runs nzbToMedia and this user will need to have execute permissions for the binary files.