Thought I would post the portainer log from restart after changing the Encoder URL’s from redirect to actual port. Nothing unusual.
2025-10-04T22:47:05.866771737Z 127.0.0.1 localhost
2025-10-04T22:47:05.867617219Z ::1 localhost ip6-localhost ip6-loopback
2025-10-04T22:47:05.867747366Z fe00::0 ip6-localnet
2025-10-04T22:47:05.867840915Z ff00::0 ip6-mcastprefix
2025-10-04T22:47:05.867936672Z ff02::1 ip6-allnodes
2025-10-04T22:47:05.868156295Z ff02::2 ip6-allrouters
2025-10-04T22:47:05.868194021Z 172.21.0.2 ah4c
2025-10-04T22:47:06.204557984Z * daemon not running; starting now at tcp:5037
2025-10-04T22:47:06.228431245Z * daemon started successfully
2025-10-04T22:47:06.228624858Z List of devices attached
2025-10-04T22:47:06.229112448Z
2025-10-04T22:47:06.283833431Z connected to 10.0.1.76:5555
2025-10-04T22:47:06.314552639Z connected to 10.0.1.29:5555
2025-10-04T22:47:06.342552019Z connected to 10.0.1.77:5555
2025-10-04T22:47:06.361836968Z No existing ./scripts/firetv/directv/prebmitune.sh found or UPDATE_SCRIPTS set to true
2025-10-04T22:47:06.363709082Z No existing ./scripts/osprey/directv/prebmitune.sh found or UPDATE_SCRIPTS set to true
2025-10-04T22:47:06.370103490Z No existing ./scripts/firetv/directv/bmitune.sh found or UPDATE_SCRIPTS set to true
2025-10-04T22:47:06.403220134Z No existing ./scripts/osprey/directv/bmitune.sh found or UPDATE_SCRIPTS set to true
2025-10-04T22:47:06.405278098Z No existing ./scripts/firetv/directv/stopbmitune.sh found or UPDATE_SCRIPTS set to true
2025-10-04T22:47:06.407125115Z No existing ./scripts/osprey/directv/stopbmitune.sh found or UPDATE_SCRIPTS set to true
2025-10-04T22:47:06.413660113Z Existing directv.m3u found, and will be preserved
2025-10-04T22:47:06.413942580Z Existing dtvdeeplinks.m3u found, and will be preserved
2025-10-04T22:47:06.414139804Z Existing dtvosprey.m3u found, and will be preserved
2025-10-04T22:47:06.414304094Z Existing dtvstream.m3u found, and will be preserved
2025-10-04T22:47:06.414463541Z Existing dtvstreamdeeplinks.m3u found, and will be preserved
2025-10-04T22:47:06.414633699Z Existing foo-fighters.m3u found, and will be preserved
2025-10-04T22:47:06.414792210Z Existing fubo.m3u found, and will be preserved
2025-10-04T22:47:06.414952410Z Existing hulu.m3u found, and will be preserved
2025-10-04T22:47:06.415134133Z Existing livetv.m3u found, and will be preserved
2025-10-04T22:47:06.415294639Z Existing nbc.m3u found, and will be preserved
2025-10-04T22:47:06.415446230Z Existing npo.m3u found, and will be preserved
2025-10-04T22:47:06.415605894Z Existing pbs-seatac.m3u found, and will be preserved
2025-10-04T22:47:06.415759570Z Existing pbs-worcester.m3u found, and will be preserved
2025-10-04T22:47:06.415928081Z Existing silicondust.m3u found, and will be preserved
2025-10-04T22:47:06.416107981Z Existing sling.m3u found, and will be preserved
2025-10-04T22:47:06.416271251Z Existing spectrum.m3u found, and will be preserved
2025-10-04T22:47:06.416422201Z Existing xfinity.m3u found, and will be preserved
2025-10-04T22:47:06.416582948Z Existing youtubetv_shield.m3u found, and will be preserved
2025-10-04T22:47:06.416761883Z Existing youtubetv.m3u found, and will be preserved
2025-10-04T22:47:06.535462091Z [START] ah4c is starting
2025-10-04T22:47:06.536150559Z [ENV] Not loading env
2025-10-04T22:47:06.536305002Z [ENV] IPADDRESS 10.0.1.65:7654
2025-10-04T22:47:06.536420332Z [ENV] ALERT_SMTP_SERVER
2025-10-04T22:47:06.536579181Z [ENV] ALERT_AUTH_SERVER
2025-10-04T22:47:06.536706369Z [ENV] ALERT_EMAIL_FROM
2025-10-04T22:47:06.536831995Z [ENV] ALERT_EMAIL_PASS
2025-10-04T22:47:06.537014466Z [ENV] ALERT_EMAIL_TO
2025-10-04T22:47:06.537137907Z [ENV] ALERT_WEBHOOK_URL
2025-10-04T22:47:06.537259861Z [ENV] ALLOW_DEBUG_VIDEO_PREVIEW
2025-10-04T22:47:06.537405084Z [ENV] Creating tuner 1
2025-10-04T22:47:06.537529599Z [ENV] ENCODER1_URL http://10.0.1.34:8090/stream0
2025-10-04T22:47:06.537649526Z [ENV] TUNER1_IP 10.0.1.76:5555
2025-10-04T22:47:06.537775675Z [ENV] CMD1
2025-10-04T22:47:06.537884634Z [ENV] TEECMD1
2025-10-04T22:47:06.538013828Z [ENV] PRE SCRIPT ./scripts/osprey/directv/prebmitune.sh
2025-10-04T22:47:06.538135017Z [ENV] START SCRIPT ./scripts/osprey/directv/bmitune.sh
2025-10-04T22:47:06.538257007Z [ENV] STOP SCRIPT ./scripts/osprey/directv/stopbmitune.sh
2025-10-04T22:47:06.538379810Z [ENV] REBOOT SCRIPT ./scripts/osprey/directv/reboot.sh
2025-10-04T22:47:06.538508923Z [ENV] Creating tuner 2
2025-10-04T22:47:06.538615316Z [ENV] ENCODER2_URL http://10.0.1.34:8090/stream1
2025-10-04T22:47:06.538738436Z [ENV] TUNER2_IP 10.0.1.29:5555
2025-10-04T22:47:06.538841865Z [ENV] CMD2
2025-10-04T22:47:06.538943844Z [ENV] TEECMD2
2025-10-04T22:47:06.539072261Z [ENV] PRE SCRIPT ./scripts/osprey/directv/prebmitune.sh
2025-10-04T22:47:06.539191903Z [ENV] START SCRIPT ./scripts/osprey/directv/bmitune.sh
2025-10-04T22:47:06.539296647Z [ENV] STOP SCRIPT ./scripts/osprey/directv/stopbmitune.sh
2025-10-04T22:47:06.539415611Z [ENV] REBOOT SCRIPT ./scripts/osprey/directv/reboot.sh
2025-10-04T22:47:06.539538635Z [ENV] Creating tuner 3
2025-10-04T22:47:06.539658985Z [ENV] ENCODER3_URL http://10.0.1.34:8090/stream2
2025-10-04T22:47:06.539774905Z [ENV] TUNER3_IP 10.0.1.77:5555
2025-10-04T22:47:06.539877668Z [ENV] CMD3
2025-10-04T22:47:06.540010827Z [ENV] TEECMD3
2025-10-04T22:47:06.540111161Z [ENV] PRE SCRIPT ./scripts/osprey/directv/prebmitune.sh
2025-10-04T22:47:06.540222511Z [ENV] START SCRIPT ./scripts/osprey/directv/bmitune.sh
2025-10-04T22:47:06.540327303Z [ENV] STOP SCRIPT ./scripts/osprey/directv/stopbmitune.sh
2025-10-04T22:47:06.540450884Z [ENV] REBOOT SCRIPT ./scripts/osprey/directv/reboot.sh
2025-10-04T22:47:06.540575945Z [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
2025-10-04T22:47:06.540633840Z - using env: export GIN_MODE=release
2025-10-04T22:47:06.540668475Z - using code: gin.SetMode(gin.ReleaseMode)
2025-10-04T22:47:06.540704788Z
2025-10-04T22:47:06.540821649Z [GIN-debug] GET /favicon.ico --> github.com/gin-gonic/gin.(*RouterGroup).StaticFile.func1 (2 handlers)
2025-10-04T22:47:06.540953749Z [GIN-debug] HEAD /favicon.ico --> github.com/gin-gonic/gin.(*RouterGroup).StaticFile.func1 (2 handlers)
2025-10-04T22:47:06.547625711Z [GIN-debug] Loaded HTML Templates (11):
2025-10-04T22:47:06.547773058Z - editm3u.html
2025-10-04T22:47:06.547811089Z - index.html
2025-10-04T22:47:06.547843755Z - logs.html
2025-10-04T22:47:06.547869486Z - status.html
2025-10-04T22:47:06.548781521Z - status_and_logs.html
2025-10-04T22:47:06.548822648Z -
2025-10-04T22:47:06.548854918Z - config.html
2025-10-04T22:47:06.548891188Z - routes.html
2025-10-04T22:47:06.548923680Z - stream.html
2025-10-04T22:47:06.548949562Z - edit.html
2025-10-04T22:47:06.548974444Z - m3us.html
2025-10-04T22:47:06.549012042Z
2025-10-04T22:47:06.549199843Z [GIN-debug] GET /static/*filepath --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (2 handlers)
2025-10-04T22:47:06.549353551Z [GIN-debug] HEAD /static/*filepath --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (2 handlers)
2025-10-04T22:47:06.549456111Z [GIN-debug] GET / --> main.run.func1 (2 handlers)
2025-10-04T22:47:06.549578107Z [GIN-debug] GET /routes --> main.run.func2 (2 handlers)
2025-10-04T22:47:06.549677656Z [GIN-debug] GET /play/tuner:tuner/:channel --> main.run.func3 (2 handlers)
2025-10-04T22:47:06.549799913Z [GIN-debug] GET /m3u/:channel --> main.run.func4 (2 handlers)
2025-10-04T22:47:06.549891598Z [GIN-debug] GET /env --> main.run.func5 (2 handlers)
2025-10-04T22:47:06.551194181Z [GIN-debug] GET /logs/text --> main.run.func6 (2 handlers)
2025-10-04T22:47:06.551311061Z [GIN-debug] GET /logs --> main.run.func7 (2 handlers)
2025-10-04T22:47:06.551417227Z [GIN-debug] GET /status/andlogs --> main.run.func8 (2 handlers)
2025-10-04T22:47:06.551548631Z [GIN-debug] GET /logs/json --> main.run.func9 (2 handlers)
2025-10-04T22:47:06.551661616Z [GIN-debug] GET /video --> main.run.func10 (2 handlers)
2025-10-04T22:47:06.551779618Z [GIN-debug] GET /status --> main.statusPageHandler (2 handlers)
2025-10-04T22:47:06.551878829Z [GIN-debug] GET /api/status --> main.apiStatusHandler (2 handlers)
2025-10-04T22:47:06.551979499Z [GIN-debug] GET /stream --> main.run.func11 (2 handlers)
2025-10-04T22:47:06.552097682Z [GIN-debug] GET /test/webhook --> main.run.func12 (2 handlers)
2025-10-04T22:47:06.552196409Z [GIN-debug] GET /test/email --> main.run.func13 (2 handlers)
2025-10-04T22:47:06.552296928Z [GIN-debug] GET /status/channelsactivity --> main.run.func14 (2 handlers)
2025-10-04T22:47:06.552404724Z [GIN-debug] GET /edit --> main.run.func15 (2 handlers)
2025-10-04T22:47:06.552653269Z [GIN-debug] POST /save --> main.run.func16 (2 handlers)
2025-10-04T22:47:06.552688855Z [GIN-debug] POST /m3usave/:file --> main.run.func17 (2 handlers)
2025-10-04T22:47:06.552738681Z [GIN-debug] GET /m3us --> main.run.func18 (2 handlers)
2025-10-04T22:47:06.552767518Z [GIN-debug] GET /editm3u/:file --> main.run.func19 (2 handlers)
2025-10-04T22:47:06.552804244Z [GIN-debug] GET /config --> main.run.func20 (2 handlers)
2025-10-04T22:47:06.552839101Z [GIN-debug] POST /configsave --> main.run.func21 (2 handlers)
2025-10-04T22:47:06.552882572Z [START] ah4c is ready
2025-10-04T22:47:06.553171774Z [GIN-debug] Listening and serving HTTP on :7654
2025-10-04T22:47:07.846370530Z
2025-10-04T22:47:07.846845107Z > [email protected] start
2025-10-04T22:47:07.846897117Z > node ./index.js
2025-10-04T22:47:07.846929600Z
2025-10-04T22:47:08.955315973Z Listening on:
2025-10-04T22:47:08.955537219Z http://ah4c:8000 http://localhost:8000
2025-10-04T22:47:08.956347879Z http://127.0.0.1:8000 http://172.21.0.2:8000
2025-10-04T22:48:05.990522820Z Attempting network tune for device http://10.0.1.34:8090/stream0 10.0.1.76:5555 265
2025-10-04T22:48:05.993076094Z [EXECUTE] Running [./scripts/osprey/directv/prebmitune.sh 10.0.1.76:5555 265]
2025-10-04T22:48:10.306552082Z [EXECUTE] Stdout: 'already connected to 10.0.1.76:5555
2025-10-04T22:48:10.307031228Z Waking 10.0.1.76:5555
2025-10-04T22:48:10.307081554Z prebmitune.sh is exiting for 10.0.1.76:5555 with exit code 0
2025-10-04T22:48:10.307125245Z '
2025-10-04T22:48:10.307158354Z [EXECUTE] Stderr: '+ streamerIP=10.0.1.76:5555
2025-10-04T22:48:10.307188559Z + streamerNoPort=10.0.1.76
2025-10-04T22:48:10.307215073Z + adbTarget='adb -s 10.0.1.76:5555'
2025-10-04T22:48:10.307250556Z + mkdir -p 10.0.1.76
2025-10-04T22:48:10.307277033Z + trap finish EXIT
2025-10-04T22:48:10.307309581Z + main
2025-10-04T22:48:10.307334124Z + adbConnect
2025-10-04T22:48:10.307358529Z + adb connect 10.0.1.76:5555
2025-10-04T22:48:10.307389962Z + local -i adbMaxRetries=3
2025-10-04T22:48:10.307419172Z + local -i adbCounter=0
2025-10-04T22:48:10.307451464Z + true
2025-10-04T22:48:10.307476633Z + adb -s 10.0.1.76:5555 shell input keyevent KEYCODE_WAKEUP
2025-10-04T22:48:10.307505471Z + local adbEventSuccess=0
2025-10-04T22:48:10.307537801Z + [[ 0 -eq 0 ]]
2025-10-04T22:48:10.307561514Z + break
2025-10-04T22:48:10.307584827Z + adbWake
2025-10-04T22:48:10.307616724Z + adb -s 10.0.1.76:5555 shell input keyevent KEYCODE_WAKEUP
2025-10-04T22:48:10.307645871Z + sleep 2
2025-10-04T22:48:10.307676722Z + echo 'Waking 10.0.1.76:5555'
2025-10-04T22:48:10.307703144Z + touch 10.0.1.76/adbAppRunning
2025-10-04T22:48:10.307728618Z + finish
2025-10-04T22:48:10.307789699Z + echo 'prebmitune.sh is exiting for 10.0.1.76:5555 with exit code 0'
2025-10-04T22:48:10.307863812Z '
2025-10-04T22:48:10.307891854Z [EXECUTE] Finished running ./scripts/osprey/directv/prebmitune.sh in 4.310734437s
2025-10-04T22:48:10.307961148Z [EXECUTE] Running [./scripts/osprey/directv/bmitune.sh 265 10.0.1.76:5555]
2025-10-04T22:48:11.429908645Z [EXECUTE] Stdout: 'bmitune.sh is exiting for 10.0.1.76:5555 with exit code 0
2025-10-04T22:48:11.430324588Z '
2025-10-04T22:48:11.430364112Z [EXECUTE] Stderr: '+ channelID='"265"'
2025-10-04T22:48:11.430400985Z + specialID=265
2025-10-04T22:48:11.430427575Z + streamerIP=10.0.1.76:5555
2025-10-04T22:48:11.430453127Z + streamerNoPort=10.0.1.76
2025-10-04T22:48:11.430477764Z + adbTarget='adb -s 10.0.1.76:5555'
2025-10-04T22:48:11.430503583Z + m3uName=directv.m3u
2025-10-04T22:48:11.430530795Z + trap finish EXIT
2025-10-04T22:48:11.430556239Z + main
2025-10-04T22:48:11.430578647Z + matchEncoderURL
2025-10-04T22:48:11.430600997Z + case "$streamerIP" in
2025-10-04T22:48:11.430625402Z + encoderURL=http://10.0.1.34:8090/stream0
2025-10-04T22:48:11.430653789Z + tuneChannel
2025-10-04T22:48:11.430676844Z + adb -s 10.0.1.76:5555 shell input text '"265"'
2025-10-04T22:48:11.430703598Z + finish
2025-10-04T22:48:11.430725116Z + echo 'bmitune.sh is exiting for 10.0.1.76:5555 with exit code 0'
2025-10-04T22:48:11.430752228Z '
2025-10-04T22:48:11.430773411Z [EXECUTE] Finished running ./scripts/osprey/directv/bmitune.sh in 1.126096668s
2025-10-04T22:48:27.286295495Z [IO] io.Copy: write tcp 172.21.0.2:7654->172.21.0.1:38032: write: broken pipe
2025-10-04T22:48:27.286738152Z [IOINFO] Successfully copied 6764992 bytes
2025-10-04T22:48:27.286781156Z [IOINFO] Transfer speed: 3.1868883198267 Mbits/second
2025-10-04T22:48:27.286810967Z Performing Close() for 10.0.1.76:5555
2025-10-04T22:48:27.286841244Z [EXECUTE] Running [./scripts/osprey/directv/stopbmitune.sh 10.0.1.76:5555 265]
2025-10-04T22:48:28.471602894Z [EXECUTE] Stdout: 'Sleep initiated for 10.0.1.76:5555
2025-10-04T22:48:28.472096818Z 10.0.1.76/stream_stopped written with epoch stop time
2025-10-04T22:48:28.472145634Z '
2025-10-04T22:48:28.472171117Z [EXECUTE] Stderr: '+ streamerIP=10.0.1.76:5555
2025-10-04T22:48:28.472200589Z + streamerNoPort=10.0.1.76
2025-10-04T22:48:28.472226545Z + adbTarget='adb -s 10.0.1.76:5555'
2025-10-04T22:48:28.472253525Z + main
2025-10-04T22:48:28.472277371Z + adbSleep
2025-10-04T22:48:28.472303584Z + sleep='input keyevent KEYCODE_SLEEP'
2025-10-04T22:48:28.472329481Z + adb -s 10.0.1.76:5555 shell input keyevent KEYCODE_SLEEP
2025-10-04T22:48:28.472357973Z + echo 'Sleep initiated for 10.0.1.76:5555'
2025-10-04T22:48:28.472383897Z + date +%s
2025-10-04T22:48:28.472407598Z + echo '10.0.1.76/stream_stopped written with epoch stop time'
2025-10-04T22:48:28.472433772Z '
2025-10-04T22:48:28.472455092Z [EXECUTE] Finished running ./scripts/osprey/directv/stopbmitune.sh in 1.185611096s
2025-10-04T22:48:28.472488937Z [GIN-debug] Request: 172.21.0.1 GET /play/tuner/265, latency: 22.481128075s, status: 200
2025-10-04T23:17:06.698031520Z [STATS] CPU usage: 54.566520086654826%
2025-10-04T23:17:06.698513014Z [STATS] Alloc = 2 MiB
2025-10-04T23:17:06.698551542Z [STATS] TotalAlloc = 4 MiB
2025-10-04T23:17:06.698581587Z [STATS] Sys = 14 MiB
2025-10-04T23:17:06.698608474Z [STATS] NumGC = 15
2025-10-04T23:17:06.698633428Z [STATS] Total memory: 5777 MiB
2025-10-04T23:17:06.698661274Z [STATS] Memory used: 2086 MiB
2025-10-04T23:17:06.698688010Z [STATS] Memory used percent: 36.102939485789484%
2025-10-04T23:47:06.553976039Z [STATS] CPU usage: 54.470730366703755%
2025-10-04T23:47:06.554521882Z [STATS] Alloc = 2 MiB
2025-10-04T23:47:06.554574112Z [STATS] TotalAlloc = 4 MiB
2025-10-04T23:47:06.554609102Z [STATS] Sys = 14 MiB
2025-10-04T23:47:06.554635439Z [STATS] NumGC = 30
2025-10-04T23:47:06.554667291Z [STATS] Total memory: 5777 MiB
2025-10-04T23:47:06.554701624Z [STATS] Memory used: 2145 MiB
2025-10-04T23:47:06.554728878Z [STATS] Memory used percent: 37.1261396881302%
2025-10-05T00:17:06.652133243Z [STATS] CPU usage: 56.34816150268427%
2025-10-05T00:17:06.700297291Z [STATS] Alloc = 2 MiB
2025-10-05T00:17:06.700358297Z [STATS] TotalAlloc = 4 MiB
2025-10-05T00:17:06.700389860Z [STATS] Sys = 14 MiB
2025-10-05T00:17:06.700417247Z [STATS] NumGC = 44
2025-10-05T00:17:06.700443062Z [STATS] Total memory: 5777 MiB
2025-10-05T00:17:06.700476161Z [STATS] Memory used: 2224 MiB
2025-10-05T00:17:06.700504404Z [STATS] Memory used percent: 38.49356256263973%