Chromedp-shell issues?

Hi,

Without any change (to my knowledge) of my Ubuntu DVR server, I suddenly can't get any TVE channels up, and I'm getting the following in the channels-dvr.log file:

"/media/QNAP_DVR/DVR/ChannelsDVR/channels-dvr/data/chromedp-shell"
2023/12/07 22:13:50.648139 [HLS] Couldn't generate stream playlist for ch6022-dANY-ip10.250.0.202: TVE: chrome failed to start:
./chromedp-shell: 4: [[: not found
./chromedp-shell: 89: [: --no-first-run: unexpected operator
LaunchProcess: failed to execvp:
"/media/QNAP_DVR/DVR/ChannelsDVR/channels-dvr/data/chromedp-shell"
LaunchProcess: failed to execvp:
"/media/QNAP_DVR/DVR/ChannelsDVR/channels-dvr/data/chromedp-shell"
2023/12/07 22:13:50.648185 [HLS] Stopping transcoder session ch6022-dANY-ip10.250.0.202

tve_chrome.log also has:

./chromedp-shell: 4: [[: not found
./chromedp-shell: 89: [: --disable-backgrounding-occluded-windows: unexpected operator
LaunchProcess: failed to execvp:
"/media/QNAP_DVR/DVR/ChannelsDVR/channels-dvr/data/chromedp-shell"

I've rebooted, uninstalled and reinstalled chromium-bsu, golang-github-chromedp-sysutil-dev, to no effect.
The troubleshooting page says to click here to install chrome, but comes up with pretty much the above:
chrome failed to start:

./chromedp-shell: 4: [[: not found
./chromedp-shell: 89: [: --disable-client-side-phishing-detection: unexpected operator
LaunchProcess: failed to execvp:
"/media/QNAP_DVR/DVR/ChannelsDVR/channels-dvr/data/chromedp-shell"
LaunchProcess: failed to execvp:
"/media/QNAP_DVR/DVR/ChannelsDVR/channels-dvr/data/chromedp-shell"

I don't run snap, and have never installed docker (until today.. :-/ ), but that's not helping either.

If I replace(/fix?) the double square quotes in chromedp-shell (line 4) error, that goes away, but the rest does not. The line 89 error continues, and actually changes..
Here's a sample of the few (looks like to me a variable being passed when it shouldn't?)

./chromedp-shell: 89: [: --mute-audio: unexpected operator
./chromedp-shell: 89: [: --force-color-profile=srgb: unexpected operator
./chromedp-shell: 89: [: --mute-audio: unexpected operator
./chromedp-shell: 89: [: --no-default-browser-check: unexpected operator
./chromedp-shell: 89: [: --hide-scrollbars: unexpected operator
./chromedp-shell: 89: [: --disable-background-timer-throttling: unexpected operator
./chromedp-shell: 89: [: --disable-features=site-per-process,TranslateUI,BlinkGenPropertyTrees,VizDisplayCompositor: unexpected operator
./chromedp-shell: 89: [: --no-default-browser-check: unexpected operator
./chromedp-shell: 89: [: --disable-background-timer-throttling: unexpected operator
./chromedp-shell: 89: [: --disable-breakpad: unexpected operator

Any suggestions ?

I've also just tried to remove and re-add my TVE provider, and...

##### chrome failed to start: ./chromedp-shell: 89: [: --safebrowsing-disable-auto-update: unexpected operator LaunchProcess: failed to execvp: "/media/QNAP_DVR/DVR/ChannelsDVR/channels-dvr/data/chromedp-shell" LaunchProcess: failed to execvp: "/media/QNAP_DVR/DVR/ChannelsDVR/channels-dvr/data/chromedp-shell"

1 Like

Also, this is running on a ProxMox Ubuntu VM, not a QNAP. That's just my external storage device.
Just in case anyone gets confused about that.

1 Like

any chance that the script has line-terminators for windows (CR-LF) instead of UNIX (LF only)?

@spoddy What does /bin/sh point to?

Please update to the latest pre-release and then go to Settings -> Advanced and enable New TV Everywhere Embedded Chrome Launcher and see if that helps.

Hey Eric,

It points to Dash.

Bingo, changing to pre-release and ticking that box worked a charm.
Subjective, but feels faster from click to stream starting, too. Maybe just me. :slight_smile:

Channels is awesome, been using it for years, but 99% of my issues have been because of Chrome.

Thank you for the help!

I do think that's just wishful thinking haha.

Could you submit diagnostics again so I can just see the latest state of things?

Done.
ddbf499b-ee1e-4ab9-8445-3ff3540a4ddd

If I do not use the new launcher on UBUNTU I get the below ...

image

@Edwin_Perez Thanks for reporting this. Can you try the latest pre-release v2023.12.10.2028 and let me know if that clears it up with the old launcher?

image

"/home/nyplayer/channels-dvr/data/chromedp-shell"
LaunchProcess: failed to execvp:
"/home/nyplayer/channels-dvr/data/chromedp-shell"
2023/12/10 12:49:48.992475 [HLS] Couldn't generate stream playlist for ch6030-dANY-ip192.168.50.186: TVE: chrome failed to start:
LaunchProcess: failed to execvp:
"/home/nyplayer/channels-dvr/data/chromedp-shell"
LaunchProcess: failed to execvp:
"/home/nyplayer/channels-dvr/data/chromedp-shell"
2023/12/10 12:49:48.994126 [HLS] Stopping transcoder session ch6030-dANY-ip192.168.50.186
2023/12/10 12:49:50.260894 [TVE] action=authz_retry err=adobe.pendingLogout reason=34764
2023/12/10 12:49:50.353063 [TVE] action=auth mvpd=Comcast_SSO requestor=CNN
2023/12/10 12:49:50.354986 [TVE] action=xvfb display=:563
2023/12/10 12:49:50.675436 [ERR] Failed to start stream for ch6030: TVE: chrome failed to start:
LaunchProcess: failed to execvp:
"/home/nyplayer/channels-dvr/data/chromedp-shell"
LaunchProcess: failed to execvp:
"/home/nyplayer/channels-dvr/data/chromedp-shell"
2023/12/10 12:49:50.680506 [HLS] Couldn't generate stream playlist for ch6030-dANY-ip192.168.50.186: TVE: chrome failed to start:
LaunchProcess: failed to execvp:
"/home/nyplayer/channels-dvr/data/chromedp-shell"
LaunchProcess: failed to execvp:
"/home/nyplayer/channels-dvr/data/chromedp-shell"
2023/12/10 12:49:50.681344 [HLS] Stopping transcoder session ch6030-dANY-ip192.168.50.186

I would need to see diagnostics to know what is going on. What does Troubleshooting say?

image

Logs have been submitted as db1069e3-ca45-45c9-b256-070192c100b6

Click the upgrade Chrome button and try again.

image

@Edwin_Perez but you said using the new launcher does work?

Yes if I turn it on right now it is off ... I am going to turn it on.

image

It works with it on.

2023/12/10 13:11:25.011245 [TNR] Opened connection to TVE-Comcast_SSO for ch6030 CNN
2023/12/10 13:11:25.012989 [HLS] Starting live stream for channel 6030 from 192.168.50.186 (bitrate=4549)
2023/12/10 13:11:25.859390 [HLS] Probed live stream in 845.869188ms: h264 1280x720 progressive 3771801bps
2023/12/10 13:11:31.776431 [HLS] Stopping transcoder session ch6030-dANY-ip192.168.50.186 (out=32.133ms finished=false first_seq=1 last_seq=8)
2023/12/10 13:11:31.782414 [TNR] Closed connection to TVE-Comcast_SSO for ch6030 CNN

Can you try v2023.12.10.2143 and see if it works any better with the old launcher?

It is working with the latest release.

image
image
image

2023/12/10 13:59:05.200875 [TNR] Opened connection to TVE-Comcast_SSO for ch6013 MTVP
2023/12/10 13:59:05.202520 [HLS] Starting live stream for channel 6013 from 192.168.50.186 (bitrate=4031)
2023/12/10 13:59:06.640395 [HLS] Probed live stream in 1.437431246s: h264 1920x1080 progressive 3926303bps
2023/12/10 13:59:09.209988 [HLS] Stopping transcoder session ch6013-dANY-ip192.168.50.186 (out=8.192s finished=false first_seq=1 last_seq=9)
2023/12/10 13:59:09.211000 [TNR] Closed connection to TVE-Comcast_SSO for ch6013 MTVP