I don't think the issue is with the Channels DVR software. It seems to be an issue with headless Chromium in the new snap in general. Also, the version number you get when you run chromium-browser --version
is the same on both the working snap and the broken snap, but the sizes are significantly different based on the output you get from snap info chromium
:
tjcravey@plex:~$ snap info chromium
name: chromium
summary: Chromium web browser, open-source version of Chrome
publisher: Canonicalâś“
store-url: https://snapcraft.io/chromium
contact: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bugs?field.tag=snap
license: unset
description: |
An open-source browser project that aims to build a safer, faster, and more stable way for all
Internet users to experience the web.
commands:
- chromium.chromedriver
- chromium
snap-id: XKEcBqPM06H1Z7zGOdG5fbICuf8NWK5R
tracking: latest/stable
refresh-date: 2 days ago, at 20:18 CST
channels:
latest/stable: 87.0.4280.88 2020-12-10 (1424) 124MB -
latest/candidate: 87.0.4280.88 2020-12-10 (1424) 124MB -
latest/beta: 88.0.4324.41 2020-12-15 (1441) 144MB -
latest/edge: 89.0.4350.4 2020-12-11 (1434) 257MB -
installed: 87.0.4280.88 (1421) 254MB -
I just created a new Ubuntu 20.04 VPS to test it out, and sure enough it's broken:
tjcravey@chromium:~$ chromium --headless --remote-debugging-port=9222 https://chromium.org
mkdir: cannot create directory '/run/user/1000': Permission denied
DevTools listening on ws://127.0.0.1:9222/devtools/browser/d466c669-1a60-4db0-ac8b-103e5e6e1b01
[0100/000000.275108:ERROR:zygote_linux.cc(607)] Zygote could not fork: process_type renderer numfds 4 child_pid -1
[0100/000000.276508:ERROR:zygote_linux.cc(639)] write: Broken pipe (32)
Trace/breakpoint trap (core dumped)
I'm running the command from this Headless Chromium README just to test, figuring it should definitely work. As expected, on the system where I had version 1421 of the snap and was able to revert back, that same command works fine:
tjcravey@plex:~$ chromium --headless --remote-debugging-port=9222 https://chromium.org
DevTools listening on ws://127.0.0.1:9222/devtools/browser/1244bb3e-f709-491d-af5e-d2dfecd62b73
Anyone following the installation instructions that are installing Chromium on Ubuntu for the first time will run in to the issue and need to find a different workaround since they won't have the old snap to revert back to.