Qnap failed to download setup.sh

New install of DVR package to QNAP failed with this error reported "failed to download setup.sh". I have SSHed into nas and pinged google successfully. QNAP is TS-231 running 4.3.5.0760 firmware.

Can you run this command over ssh and see if it works:

curl https://getchannels.com/dvr/setup.sh

"curl couldn't resolve host 'https' "

What does "curl --version" say

curl 7.43.0

I need to see all the output

[~] # curl --version

curl 7.43.0 (arm-openwrt-linux-gnu) libcurl/7.43.0 OpenSSL/1.0.0t zlib/1.2.7 libidn/1.9

Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs s mtp smtps telnet tftp

Features: IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz UnixSockets

[~] #

It says it has support for https. Can you paste the full command and output when you try the first curl command above?

must have had a typo the first time, different error.

[~] # curl https://getchannels.com/dvr/setup.sh

curl: (35) error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

[~] #

1 Like

[/share/Download] # chmod +x /path/to/setup.sh
chmod: /path/to/setup.sh: No such file or directory
[/share/Download] # chmod +x /share/Download/setup.sh
[/share/Download] # ./setup.sh
Downloading Channels DVR 2018.11.20.2224 (linux-armv7l) to /share/Download/channels-dvr.....

ERROR: Installation of Channels DVR failed.
ERROR: Please contact [email protected] with the full output above.

There's some sort of SSL error going on when trying to make the encrypted HTTPS connection to our server. Strange because it used to work fine before. I guess something changed in the latest QTS 4.3

Let me do some research and see how to work around the issue..

Has there been any movement on this? I am having the same problem right now, also on a 231.

i am still interested in a resolution as well.

I have a TS-251+ running 4.3.6.0805 and I was able to install the DVR qpkg without issues.

My OpenSSL seems to be newer which might explain the issue.

curl 7.43.0 (x86_64-QNAP-linux-gnu) libcurl/7.43.0 OpenSSL/1.0.2k zlib/1.2.8 libidn/1.25
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP UnixSockets

@jschmidts @clemon79 Can you install QNAP 4.3.6 and get the output of curl --version

Can you also run this command and paste the output:

wget -O /dev/null https://getchannels.com/dvr/setup.sh

Updating to 4.3.6 seems to have fixed the issue. Thanks for the push!

1 Like

@jschmidts Is it working for you too if you upgrade to QTS 4.3.6?

Yes, is working well.

1 Like

I just set up my new qnap TS-230 and cant get channels running, here is the message i get.

standard_init_linux.go:211: exec user process caused "exec format error"