Shows not recording and always losing connection

@tmm1, what do you make of this error log? All my recordings didn't record today and they show as still queued up even thought the times are now in the past:

2019/09/06 17:33:36 [DVR] Error running job 1567826940-37 House Hunters: could not start stream on channels=[6104]: TVE: mkdir /storage/emulated/0/Streaming/channels-cache-119001662: read-only file system
2019/09/06 17:34:07 [DVR] Starting job 1567826940-37 House Hunters on ch=[6104]
2019/09/06 17:34:07 [DVR] Waiting 4h24m52.946025203s until next job 1567843140-23 Hawaii News Now at 10:00
2019/09/06 17:34:07 [ERR] Failed to start stream on channel 6104 via TVE-Comcast_SSO: TVE: mkdir /storage/emulated/0/Streaming/channels-cache-867155077: read-only file system
2019/09/06 17:34:07 [ERR] Failed to start stream on channel 6104 via TVE-sony_auth-gateway_net: TVE: mkdir /storage/emulated/0/Streaming/channels-cache-457750048: read-only file system
2019/09/06 17:34:07 [DVR] Error running job 1567826940-37 House Hunters: could not start stream on channels=[6104]: TVE: mkdir /storage/emulated/0/Streaming/channels-cache-457750048: read-only file system
2019/09/06 17:34:37 [DVR] Starting job 1567826940-37 House Hunters on ch=[6104]
2019/09/06 17:34:37 [DVR] Waiting 4h24m22.45316985s until next job 1567843140-23 Hawaii News Now at 10:00
2019/09/06 17:34:37 [ERR] Failed to start stream on channel 6104 via TVE-Comcast_SSO: TVE: mkdir /storage/emulated/0/Streaming/channels-cache-998340351: read-only file system
2019/09/06 17:34:37 [ERR] Failed to start stream on channel 6104 via TVE-sony_auth-gateway_net: TVE: mkdir /storage/emulated/0/Streaming/channels-cache-985124434: read-only file system
2019/09/06 17:34:37 [DVR] Error running job 1567826940-37 House Hunters: could not start stream on channels=[6104]: TVE: mkdir /storage/emulated/0/Streaming/channels-cache-985124434: read-only file system
2019/09/06 17:35:07 [DVR] Starting job 1567826940-37 House Hunters on ch=[6104]
2019/09/06 17:35:07 [DVR] Waiting 4h23m52.419327154s until next job 1567843140-23 Hawaii News Now at 10:00
2019/09/06 17:35:07 [ERR] Failed to start stream on channel 6104 via TVE-Comcast_SSO: TVE: mkdir /storage/emulated/0/Streaming/channels-cache-122903433: read-only file system
2019/09/06 17:35:08 [ERR] Failed to start stream on channel 6104 via TVE-sony_auth-gateway_net: TVE: mkdir /storage/emulated/0/Streaming/channels-cache-263442772: read-only file system
2019/09/06 17:35:08 [DVR] Error running job 1567826940-37 House Hunters: could not start stream on channels=[6104]: TVE: mkdir /storage/emulated/0/Streaming/channels-cache-263442772: read-only file system
2019/09/06 17:35:38 [DVR] Starting job 1567826940-37 House Hunters on ch=[6104]
2019/09/06 17:35:38 [DVR] Waiting 4h23m21.781096124s until next job 1567843140-23 Hawaii News Now at 10:00
2019/09/06 17:35:38 [ERR] Failed to start stream on channel 6104 via TVE-Comcast_SSO: TVE: mkdir /storage/emulated/0/Streaming/channels-cache-731515043: read-only file system
2019/09/06 17:35:38 [ERR] Failed to start stream on channel 6104 via TVE-sony_auth-gateway_net: TVE: mkdir /storage/emulated/0/Streaming/channels-cache-401971110: read-only file system
2019/09/06 17:35:38 [DVR] Error running job 1567826940-37 House Hunters: could not start stream on channels=[6104]: TVE: mkdir /storage/emulated/0/Streaming/channels-cache-401971110: read-only file system
2019/09/06 17:36:08 [DVR] Skipping job because program already started 1567826940-37 House Hunters
2019/09/06 17:36:08 [DVR] Waiting 4h22m51.706271343s until next job 1567843140-23 Hawaii News Now at 10:00
2019/09/06 18:01:06 [NAT] Successfully mapped port 8089 using natpmp
2019/09/06 18:37:00 [TNR] Opened connection to 10765FA3 for ch10.1 KMEB-HD
2019/09/06 18:37:00 [HLS] Starting transcoder for channel 10.1 from 192.168.1.61 (encoder=h264_mediacodecndk, resolution=1080, deinterlacer=blend, bitrate=8000)
Could not write header for output file #0 (incorrect codec parameters ?): No such file or directory
Error initializing output stream 0:0 --
2019/09/06 18:37:18 [WRN] Buffer for 10765FA3 ch10.1 is more than 50% full (clients=1, len=16777684)
2019/09/06 18:37:24 [WRN] Buffer for 10765FA3 ch10.1 is more than 75% full (clients=1, len=25166000)
2019/09/06 18:37:29 [WRN] Buffer for 10765FA3 ch10.1 is more than 95% full (clients=1, len=31877468)
2019/09/06 18:37:29 [WRN] Buffer for 10765FA3 ch10.1 is more than 99% full (clients=1, len=33219788)
2019/09/06 18:38:42 [HLS] Stopping inactive session ch10.1-dANY-ip192.168.1.61 @ 0s
2019/09/06 18:38:42 [TNR] Closed connection to 10765FA3 for ch10.1 KMEB-HD
2019/09/06 18:42:24 [ERR] Could not start stream for TVE-Spectrum ch6023 PARAMOUNTP: TVE: mkdir /storage/emulated/0/Streaming/channels-cache-495569613: read-only file system
2019/09/06 18:42:38 [ERR] Could not start stream for TVE-Spectrum ch6021 TVLANDP: TVE: mkdir /storage/emulated/0/Streaming/channels-cache-900080584: read-only file system
2019/09/06 18:49:49 http: TLS handshake error from 192.168.1.46:56723: remote error: tls: unknown certificate
2019/09/06 18:49:49 http: TLS handshake error from 192.168.1.46:56725: remote error: tls: unknown certificate
2019/09/06 18:49:51 http: TLS handshake error from 192.168.1.46:56727: remote error: tls: unknown certificate
2019/09/06 18:49:51 http: TLS handshake error from 192.168.1.46:56729: remote error: tls: unknown certificate
2019/09/06 18:49:56 http: TLS handshake error from 192.168.1.46:56732: remote error: tls: unknown certificate
2019/09/06 18:49:59 http: TLS handshake error from 192.168.1.46:56739: remote error: tls: unknown certificate
2019/09/06 18:50:05 http: TLS handshake error from 192.168.1.46:56744: remote error: tls: unknown certificate
2019/09/06 18:50:06 http: TLS handshake error from 192.168.1.46:56749: remote error: tls: unknown certificate
2019/09/06 18:50:06 http: TLS handshake error from 192.168.1.46:56751: remote error: tls: unknown certificate
2019/09/06 18:50:06 http: TLS handshake error from 192.168.1.46:56750: remote error: tls: unknown certificate
2019/09/06 18:50:06 http: TLS handshake error from 192.168.1.46:56752: remote error: tls: unknown certificate
2019/09/06 18:50:06 http: TLS handshake error from 192.168.1.46:56753: remote error: tls: unknown certificate
2019/09/06 18:50:06 http: TLS handshake error from 192.168.1.46:56758: remote error: tls: unknown certificate
2019/09/06 18:50:22 http: TLS handshake error from 192.168.1.46:56760: remote error: tls: unknown certificate
2019/09/06 18:50:23 http: TLS handshake error from 192.168.1.46:56765: remote error: tls: unknown certificate
2019/09/06 18:50:23 http: TLS handshake error from 192.168.1.46:56766: remote error: tls: unknown certificate
2019/09/06 18:50:23 http: TLS handshake error from 192.168.1.46:56767: remote error: tls: unknown certificate
2019/09/06 18:50:23 http: TLS handshake error from 192.168.1.46:56768: remote error: tls: unknown certificate
2019/09/06 18:50:23 http: TLS handshake error from 192.168.1.46:56769: remote error: tls: unknown certificate
2019/09/06 18:50:23 http: TLS handshake error from 192.168.1.46:56770: remote error: tls: unknown certificate
2019/09/06 18:50:23 http: TLS handshake error from 192.168.1.46:56771: remote error: tls: unknown certificate
2019/09/06 18:50:23 http: TLS handshake error from 192.168.1.46:56776: remote error: tls: unknown certificate
2019/09/06 18:50:34 http: TLS handshake error from 192.168.1.46:56788: remote error: tls: unknown certificate
2019/09/06 18:53:36 http: TLS handshake error from 192.168.1.46:56803: remote error: tls: unknown certificate
2019/09/06 18:53:36 http: TLS handshake error from 192.168.1.46:56804: remote error: tls: unknown certificate
2019/09/06 18:53:36 http: TLS handshake error from 192.168.1.46:56806: remote error: tls: unknown certificate
2019/09/06 18:53:36 http: TLS handshake error from 192.168.1.46:56809: remote error: tls: unknown certificate
2019/09/06 18:53:36 http: TLS handshake error from 192.168.1.46:56810: remote error: tls: unknown certificate
2019/09/06 18:53:36 http: TLS handshake error from 192.168.1.46:56811: remote error: tls: unknown certificate
2019/09/06 18:53:36 http: TLS handshake error from 192.168.1.46:56812: remote error: tls: unknown certificate
2019/09/06 18:54:00 http: TLS handshake error from 192.168.1.46:56817: remote error: tls: unknown certificate
2019/09/06 18:54:00 http: TLS handshake error from 192.168.1.46:56820: remote error: tls: unknown certificate
2019/09/06 18:54:00 http: TLS handshake error from 192.168.1.46:56819: remote error: tls: unknown certificate
2019/09/06 18:54:10 http: TLS handshake error from 192.168.1.46:56826: remote error: tls: unknown certificate
2019/09/06 18:54:10 http: TLS handshake error from 192.168.1.46:56828: remote error: tls: unknown certificate
2019/09/06 18:54:10 http: TLS handshake error from 192.168.1.46:56829: remote error: tls: unknown certificate
2019/09/06 18:56:09 http: TLS handshake error from 192.168.1.46:56992: remote error: tls: unknown certificate
2019/09/06 18:56:09 http: TLS handshake error from 192.168.1.46:56997: remote error: tls: unknown certificate
2019/09/06 18:56:09 http: TLS handshake error from 192.168.1.46:56999: remote error: tls: unknown certificate
2019/09/06 19:00:13 http: TLS handshake error from 192.168.1.46:57053: remote error: tls: unknown certificate
2019/09/06 19:00:13 http: TLS handshake error from 192.168.1.46:57055: remote error: tls: unknown certificate
2019/09/06 19:01:06 [NAT] Successfully mapped port 8089 using natpmp
2019/09/06 19:02:18 http: TLS handshake error from 192.168.1.46:57064: remote error: tls: unknown certificate

There are more of the same above the top, so I didn't send those since they're redundant.

I just got this one too, which I'm confused on. How can my recording engine be "Read Only"?

2019/09/06 19:17:37 [ERR] Could not create backup: mkdir /storage/emulated/0/Database/backup-20190906.191737: read-only file system

Latest:

2019/09/06 19:49:12 [TNR] Opened connection to 10765FA3 for ch4.1 KITV-HD
2019/09/06 19:49:12 [HLS] Starting transcoder for channel 4.1 from 192.168.1.46 (encoder=h264_mediacodecndk, resolution=, deinterlacer=blend, bitrate=10000)
[hls @ 0x22454c4c00] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[mpeg2video @ 0x2245558e00] skipped MB in I-frame at 67 2
[mpeg2video @ 0x2245558e00] Warning MVs not available
pipe:: corrupt decoded frame in stream 0

BTW, 192.168.1.46 is my MS Surface laptop I am using now. The server is on an nVidia Shield using a USB 500GB external self powered drive.

The shield is not allowing write access to your drive. I don't know why this would happen. Maybe the USB drive is failing or full.

Our recommended configuration on the SHIELD is to use adopted storage instead of internal storage, and set the DVR path as /storage/XXXX-XXXX/NVIDIA_SHIELD/DVR

I’m not sure what you mean by adopted storage? I am using external storage not internal (as far as I knew anyway haha!) with a 500 GB USB self powered hard drive.

How do I set it up the way you’re suggesting?

Thanks man, you guys rock!!!

I don't have one but duck duck go and google show this
https://nvidia.custhelp.com/app/answers/detail/a_id/4025/~/how-to-increase-your-internal-storage-on-shield-tv

External storage is the recommended way so you are doing it correctly.

1 Like

Does a SHIELD go into sleep/power saving modes?
Maybe if the SHIELD is powering his external USB drive and the SHIELD goes to sleep it's not providing power to the external USB drive and takes too long to power/spin it up?

As I already said, it is a self powered USB drive.

Thanks for all the suggestions and answers everyone!

If I were once again using my Shield for a DVR ... I would definitely not allow it to go to sleep mode ... by disabling sleep and also enable developer options and disable sleep mode there . I would also make sure that HDMI CEC setting is not set to power off when TV is turned off.

Awesome tips Edwin, I will certainly look into those!

If you're still getting the read only error then you should reboot the SHIELD.

Thanks but I’ve done that countless times. Do you think it could be the router at all? I’ve suspected maybe mine is having issues but haven’t been able to nail it down.

That error comes from the operating system, which is Android TV in this case.

You said you're using external storage, but your path looks like its saving your recordings to internal storage.

External storage paths start with something like /storage/XXXX-XXXX/NVIDIA_SHIELD

Oh I think I know why it looks like that. When you install an external drive on the Shield, I think it initially asks you if you want it to be an extension of the internal storage or used as a separate external and removable drive. I think I recall setting that option as the former (internal extension). Maybe some Shield experts here know for sure?

I mounted this drive long before I installed Channels DVR. It has worked great for a long time with Channels and only recently has had these issues.

Do you think it best to remove it and then reinstall it as a pure external drive?

That's what I was referring to earlier wrt adopted vs external storage.

Adopted storage is encrypted and can only be accessed by the SHIELD. External storage can be moved around to any other device.

Before reformatting as external you would presumably want to use some sort of file explorer to copy your recordings somewhere.

Oh duh! Thanks for the clarification.

So which is better for channels then, adopted or external? To me it sounds like external based on what I think you’re saying.

How can I access the drIve from an external source if it’s encrypted?

Encryption is at rest.

When the device is running, on the device that encrypted it, then it’s unlocked to be used by services like local access and sharing.