Linux Installer Broken

It appears the linux installer may be broken.
Current Build
Distributor ID: Ubuntu
Description: Ubuntu 23.04
Release: 23.04
Codename: lunar

When I run the installer sh via curl it just gets stuck on downloading and does nothing. I checked the folder and only the sha and ffmpeg have downloaded.

1 Like

Could be an internet issue

Not an internet issue

eblieb@M715Q-Ubuntu:~$ curl -v -o setup.sh https://getchannels.com/dvr/setup.sh                                                                                                                  && sh -x setup.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*                                                                                                                    Trying 104.21.71.35:443...
* Connected to getchannels.com (104.21.71.35) port 443 (#0)
* ALPN: offers h2,http/1.1
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [122 bytes data]
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
{ [19 bytes data]
* TLSv1.3 (IN), TLS handshake, Certificate (11):
{ [4230 bytes data]
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
{ [264 bytes data]
* TLSv1.3 (IN), TLS handshake, Finished (20):
{ [52 bytes data]
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.3 (OUT), TLS handshake, Finished (20):
} [52 bytes data]
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN: server accepted h2
* Server certificate:
*  subject: CN=getchannels.com
*  start date: May  9 00:10:30 2023 GMT
*  expire date: Aug  7 00:10:29 2023 GMT
*  subjectAltName: host "getchannels.com" matched cert's "getchannels.com"
*  issuer: C=US; O=Google Trust Services LLC; CN=GTS CA 1P5
*  SSL certificate verify ok.
} [5 bytes data]
* using HTTP/2
* h2h3 [:method: GET]
* h2h3 [:path: /dvr/setup.sh]
* h2h3 [:scheme: https]
* h2h3 [:authority: getchannels.com]
* h2h3 [user-agent: curl/7.88.1]
* h2h3 [accept: */*]
* Using Stream ID: 1 (easy handle 0x557ebc656680)
} [5 bytes data]
> GET /dvr/setup.sh HTTP/2
> Host: getchannels.com
> user-agent: curl/7.88.1
> accept: */*
>
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [230 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [230 bytes data]
* old SSL session ID is stale, removing
{ [5 bytes data]
< HTTP/2 200
< date: Fri, 30 Jun 2023 19:40:20 GMT
< content-type: application/x-sh
< last-modified: Fri, 30 Jun 2023 15:22:22 GMT
< access-control-allow-origin: *
< etag: W/"649ef32e-b6f"
< expires: Fri, 30 Jun 2023 17:37:38 GMT
< cache-control: max-age=600
< x-proxy-cache: MISS
< x-github-request-id: E8B2:8868:91215:E25B0:649F108A
< via: 1.1 varnish
< age: 344
< x-served-by: cache-iad-kiad7000081-IAD
< x-cache: HIT
< x-cache-hits: 1
< x-timer: S1688154020.473202,VS0,VE3
< vary: Accept-Encoding
< x-fastly-request-id: 03eb8061628a2748071d74c6c59ef7f7fc7e8987
< cf-cache-status: DYNAMIC
< report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=                                                                                                                 IcqvCXqwua0%2FUckBTaazlp3I99gjWek9TJgjQJ8tsJcn5xEb4uQYNx4QR2R1EjNNNrXI8Ba4e%2FuM                                                                                                                 qBnbiG23SMt6sNn8T0dAeuD16i3IcCY6Ia6%2BuST92GDkhhWRDMBSsQo%3D"}],"group":"cf-nel"                                                                                                                 ,"max_age":604800}
< nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
< x-frame-options: SAMEORIGIN
< server: cloudflare
< cf-ray: 7df8e163bf313b95-IAD
< alt-svc: h3=":443"; ma=86400
<
{ [652 bytes data]
100  2927    0  2927    0     0   8725      0 --:--:-- --:--:-- --:--:--  8737
* Connection #0 to host getchannels.com left intact
+ set -e
+ trap atexit EXIT
+ curl --version
+ have_curl=1
+ uname -s
+ tr [A-Z] [a-z]
+ os=linux
+ uname -m
+ arch=x86_64
+ fetch https://channels-dvr.s3.amazonaws.com/latest.txt -
+ options=
+ [ 1 = 1 ]
+ test -n
+ curl -f -s https://channels-dvr.s3.amazonaws.com/latest.txt -o -
+ version=2023.05.19.2045
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ x86_64 = amd64 ]
+ [ x86_64 = armv8l ]
+ [ x86_64 = aarch64 ]
+ [ linux = linux -a x86_64 = arm64 -a 2023.05.19.2045 = 2020.09.14.2100 ]
+ pwd
+ printf Downloading Channels DVR 2023.05.19.2045 (linux-x86_64) to /home/eblieb                                                                                                                 /channels-dvr
Downloading Channels DVR 2023.05.19.2045 (linux-x86_64) to /home/eblieb/channels                                                                                                                 -dvr+ mkdir -p channels-dvr/2023.05.19.2045 channels-dvr/data
+ fetch https://channels-dvr.s3.amazonaws.com/2023.05.19.2045/linux-x86_64.sha25                                                                                                                 6 channels-dvr/2023.05.19.2045/linux-x86_64.sha256
+ options=
+ [ 1 = 1 ]
+ test -n
+ curl -f -s https://channels-dvr.s3.amazonaws.com/2023.05.19.2045/linux-x86_64.                                                                                                                 sha256 -o channels-dvr/2023.05.19.2045/linux-x86_64.sha256
+ printf .
.+ fetch https://channels-dvr.s3.amazonaws.com/2023.05.19.2045/ffmpeg-linux-x86_                                                                                                                 64 channels-dvr/2023.05.19.2045/ffmpeg
+ options=
+ [ 1 = 1 ]
+ test -n
+ curl -f -s https://channels-dvr.s3.amazonaws.com/2023.05.19.2045/ffmpeg-linux-                                                                                                                 x86_64 -o channels-dvr/2023.05.19.2045/ffmpeg

Nevermind think I found the issue, it is downloading at like 100 kb/s off the aws server for a 112 MB file... Guess I just need to let it run for a long time. May be useful to have some kind of download indicator in the setup script to show it is working in the background?

A slow connection would benefit from compression. --compressed option with curl speeds up transfer time about 2.5 times here.

also not sure why sha256 checksums are being downloaded if they are not used

$ sha256sum -c linux-x86_64.sha256
channels-dvr: OK
comskip: OK
ffmpeg-dl: OK
ffmpeg: OK
ffprobe: OK

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.