Drobo package debugging

Drobo5N:~/Shares/DroboApps/ChannelsDVR_1.0.0/channels-dvr/data # ls -ltr
-rw------- 1 root root 131072 Apr 7 13:55 settings.db
-rw-r–r-- 1 root root 520 Apr 7 13:55 channels-dvr.log

Okay, there’s an issue with SSL. I wonder how wget worked earlier… Could you post the rest of the output from wget --version?

See if there’s an /etc/ssl directory

No /etc/ssl dir

Drobo5N:~/Shares/DroboApps/ChannelsDVR_1.0.0/channels-dvr/data # wget --version
GNU Wget 1.16.3 built on linux-gnueabi.

+digest +https +ipv6 -iri +large-file +nls +ntlm +opie -psl +ssl/openssl

Wgetrc:
/etc/wgetrc (system)
Locale:
/usr/share/locale
Compile:
/home/drobo/xtools/toolchain/5n/bin/arm-marvell-linux-gnueabi-gcc
-DHAVE_CONFIG_H -DSYSTEM_WGETRC="/etc/wgetrc"
-DLOCALEDIR="/usr/share/locale" -I. -I…/lib -I…/lib
-I/home/drobo/build/wget/target/install/include -DNDEBUG
-march=armv7-a -mcpu=marvell-pj4 -mfpu=vfpv3-d16 -mfloat-abi=softfp
-Os -fPIC -ffunction-sections -fdata-sections
Link:
/home/drobo/xtools/toolchain/5n/bin/arm-marvell-linux-gnueabi-gcc
-DNDEBUG -march=armv7-a -mcpu=marvell-pj4 -mfpu=vfpv3-d16
-mfloat-abi=softfp -Os -fPIC -ffunction-sections -fdata-sections
-Wl,-rpath,/mnt/DroboFS/Shares/DroboApps/wget/lib
-L/mnt/DroboFS/Shares/DroboApps/wget/lib
-L/home/drobo/build/wget/target/install/lib -Wl,–gc-sections
/home/drobo/build/wget/target/install/lib/libssl.a
/home/drobo/build/wget/target/install/lib/libcrypto.a -ldl -lz -lrt
ftp-opie.o openssl.o http-ntlm.o …/lib/libgnu.a

Copyright © 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
http://www.gnu.org/licenses/gpl.html.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Originally written by Hrvoje Niksic [email protected].
Please send bug reports and questions to [email protected].

which wget

I guess maybe its installed under /mnt/DroboFS/Shares/DroboApps/wget ?

Try ls -Ralh /mnt/DroboFS/Shares/DroboApps/wget | grep ssl

Drobo5N:~/Shares/DroboApps # which wget
/usr/bin/wget

Is there an /etc/pki ?

nope

Okay, well, lets just set it up:

mkdir -p /etc/ssl/
wget -O /etc/ssl/cacert.pem https://curl.haxx.se/ca/cacert.pem

Then stop and start the DVR, see if it works.

same issue
2017/04/07 14:30:51 [SYS] Starting Channels DVR v2017.04.06.0200 (linux-armv7l) in /mnt/DroboFS/Shares/DroboApps/ChannelsDVR_1.0.0/channels-dvr/data
2017/04/07 14:30:52 [HDR] Found 1 devices
2017/04/07 14:30:52 [SYS] Started HTTP Server
2017/04/07 14:30:52 [SYS] Bonjour service running for dvr-drobo5n.local. [10.0.1.2]
2017/04/07 14:30:52 [SYS] Error checking for update: Get https://channels-dvr.s3.amazonaws.com/latest.json: x509: failed to load system roots and no roots provided
couldn’t open settings.db: timeout
2017/04/07 14:31:30 [AUTH] Error during oauth: Post https://community.getchannels.com/oauth/token: x509: failed to load system roots and no roots provided

My bad:

mkdir -p /etc/ssl/certs
mv /etc/ssl/cacert.pem /etc/ssl/certs/cacert.pem

looks like it is working. got past login screen. setting up and testing recording now

Recordings are working. Thanks for your help

If you don’t mind, can you stop the DVR and delete the app from the drobo?

Then try installing this new package, which should contain all the fixes we found today:

https://channels-dvr.s3.amazonaws.com/drobo/ChannelsDVR.tgz

sure. do you need me to blackout the SSL items too?

Yea an rm -rf /etc/ssl wouldn’t hurt. The new package should put them back.