Channels DVR Missing after update (Windows)

So, I was remote and noticed my DVR had an update available. I told it to update, then I lost remote access to the DVR. When I got home, I cant start the service. The service is in the task manager but wont start. When I launch the app it gives me two choices, Start DVR service, or Remove DVR service, neither does anything. I downloaded the ChannelsDVR and tried to run that too, when I do I get Start Installation or start DVR service, neither does anything. My folder is still on C: with (Database, Images, Imports, Logs, Streaming, TV) Not sure where to go from here, but the update killed my installation.

Did you look at the DVR log?

http://x.x.x.x:8089/log
Replace x.x.x.x with the IP address of your Windows PC

Or view the log file itself

Its 3.2gb, I can post a DRIVE link here?

You just need to look at the last lines (maybe about the last 50) and you can paste the text here.
When pasting, best to place between two lines of three backticks like this
```
Paste log lines here
```
which will look like this

Paste log lines here

If you can use this in your browser to view the log

http://x.x.x.x:8089/log
Replace x.x.x.x with the IP address of your Windows PC

It might make it easier to copy/paste

You can change the number of lines it displays (the last xx lines in the log)
http://x.x.x.x:8089/log?n=500
that would display the last 500 lines

You can also post a drive link to the file, but I won't be looking at it. The developers might though.

1 Like
2024/03/28 09:09:08.132251 [DVR] Fetching guide data for 15 stations in USA-OTA95382 @ 2024-04-12 3:00PM
2024/03/28 09:09:08.799735 [DVR]   indexed 148 airings (15 channels) [599ms fetch, 67ms index]
2024/03/28 09:09:08.803178 [DVR] Fetching guide data for 137 stations in X-TVE @ 2024-04-12 9:00PM
2024/03/28 09:09:10.271124 [DVR]   indexed 957 airings (137 channels) [1s fetch, 354ms index]
2024/03/28 09:09:10.864934 [DVR]   indexed 49 movies (23 channels) [545ms fetch, 48ms index]
2024/03/28 09:09:10.867356 [DVR] Fetching guide data for 15 stations in USA-OTA95382 @ 2024-04-12 9:00PM
2024/03/28 09:09:11.491677 [DVR]   indexed 135 airings (15 channels) [555ms fetch, 69ms index]
2024/03/28 09:09:11.494540 [DVR] Fetching guide data for 137 stations in X-TVE @ 2024-04-13 3:00AM
2024/03/28 09:09:12.829355 [DVR]   indexed 1031 airings (137 channels) [905ms fetch, 429ms index]
2024/03/28 09:09:13.524906 [DVR]   indexed 42 movies (21 channels) [643ms fetch, 52ms index]
2024/03/28 09:09:13.526686 [DVR] Fetching guide data for 15 stations in USA-OTA95382 @ 2024-04-13 3:00AM
2024/03/28 09:09:14.139574 [DVR]   indexed 154 airings (15 channels) [535ms fetch, 77ms index]
2024/03/28 09:09:16.085720 [IDX] Pruned 64 expired groups from X-TVE in 10ms.
2024/03/28 09:09:16.094274 [IDX] Pruned 5 expired groups from USA-OTA95382 in 8ms.
2024/03/28 09:09:16.152644 [IDX] Pruned 4068 expired airings from X-TVE in 49ms.
2024/03/28 09:09:16.161568 [IDX] Pruned 543 expired airings from USA-OTA95382 in 8ms.
2024/03/28 09:09:16.161568 [DBG] Scheduling wake timer for guide data in 24h27m13.8384319s
2024/03/28 09:09:16.291275 [DVR] Rule 'Hannity' (88) found 1 new airings
2024/03/28 09:09:16.298715 [DVR]   queued recording job for EP011167433729 @ Fri Apr 12 5:59:30PM on ch=[6073] (1712969970-88)
2024/03/28 09:09:16.369146 [DVR] Rule 'NBC Nightly News With Lester Holt' (92) found 1 new airings
2024/03/28 09:09:16.380555 [DVR]   queued recording job for EP023034513060 @ Fri Apr 12 5:29:30PM on ch=[24.1 3.1] (1712968170-92)
2024/03/28 09:09:16.443557 [DVR] Rule 'Special Report With Bret Baier' (99) found 1 new airings
2024/03/28 09:09:16.450491 [DVR]   queued recording job for EP011206153496 @ Fri Apr 12 2:59:30PM on ch=[6073] (1712959170-99)
2024/03/28 09:09:16.507530 [DVR] Rule 'The Ingraham Angle' (100) found 1 new airings
2024/03/28 09:09:16.518939 [DVR]   queued recording job for EP028026011687 @ Fri Apr 12 3:59:30PM on ch=[6073] (1712962770-100)
2024/03/28 09:09:16.578954 [DVR] Rule 'Jesse Watters Primetime' (101) found 1 new airings
2024/03/28 09:09:16.585898 [DVR]   queued recording job for EP041738000580 @ Fri Apr 12 4:59:30PM on ch=[6073] (1712966370-101)
2024/03/28 09:09:16.644956 [DVR] Rule 'The Five' (102) found 1 new airings
2024/03/28 09:09:16.656366 [DVR]   queued recording job for EP014351853496 @ Fri Apr 12 1:59:30PM on ch=[6073] (1712955570-102)
2024/03/28 09:09:16.711919 [DVR] Rule 'Gutfeld!' (103) found 1 new airings
2024/03/28 09:09:16.718367 [DVR]   queued recording job for EP038114690803 @ Fri Apr 12 6:59:30PM on ch=[6073] (1712973570-103)
2024/03/28 09:09:16.773783 [DVR] Rule 'Fox News at Night' (104) found 1 new airings
2024/03/28 09:09:16.784754 [DVR]   queued recording job for EP044546680425 @ Fri Apr 12 7:59:30PM on ch=[6073] (1712977170-104)
2024/03/28 09:09:16.862031 [DVR] Rule 'Vegas: The Story of Sin City' (109) found 3 new airings
2024/03/28 09:09:16.870974 [DVR]   queued recording job for EP050280810001 @ Sat Mar 30 5:59:30PM on ch=[6030] (1711846770-109)
2024/03/28 09:09:16.879885 [DVR]   queued recording job for EP050280810002 @ Sat Mar 30 6:59:30PM on ch=[6030] (1711850370-109)
2024/03/28 09:09:16.889806 [DVR]   queued recording job for EP050280810003 @ Sat Mar 30 7:59:30PM on ch=[6030] (1711853970-109)
2024/03/28 09:09:16.891793 [DVR] Waiting 4h50m13.1082065s until next job 1711659570-102 The Five
2024/03/28 09:09:16.891793 [DBG] Scheduling wake timer for scheduled recording in 4h48m43.1082065s
2024/03/28 12:55:01.218168 [HC] Removed 2 entries for 284.4K from C:\DVR\Images\tmsimg to keep under cache limit of 1G (oldest deleted: 2022-11-21T18:32:53-08:00, newest deleted: 2022-11-21T18:59:59-08:00)
2024/03/28 13:48:24.258546 [SYS] Downloading new version v2024.03.27.1935
2024/03/28 13:48:32.638832 [SYS] Update downloaded and verified successfully.
2024/03/28 13:48:32.652974 [SYS] Created database snapshot: backup-20240328.204832
2024/03/28 13:48:32.653043 [SYS] Removing old backup backup-20240228.103416
2024/03/28 13:48:32.654464 [SYS] Shutting down for upgrade from v2024.02.11.0311 to v2024.03.27.1935
2024/03/28 13:48:33.176710 [SYS] Bonjour service stopped.
2024/03/28 13:48:33.186496 [DVR] Recording engine stopped.

Please try running the installer from our website

I already tried the installer before posting and rebooted a couple of times too.

I get a couple choices on installer after "start Installation". Open DVR settings(site cannot be reached) Remove DVR service, (goes to 1. Start DVR in System Tray, Install DVR as background service, or uninstall DVR software. I have tried all of them and keep going in a circle going no where. Service will not start "Error 2: the system cannot find the file specified."

Well, after multiple attempts to remove and reinstall had failed. I found that during the update, it must have removed the "latest" folder. I recreated the folder and copied the .exe file to the folder. It then allowed me to start the installation. Once the installation was complete I was able to do a restore. It is all working now.

Was C:\ProgramData\ChannelsDVR\latest missing?

I recall a few users had issues on Windows related to the latest folder.

Yes, it disappeared during the update. I manually recreated it.

OK, now remote viewing wasnt working because it was missing FFMPEG, and FFPROBE. I found them and copied them to the LATEST folder. Everything seems to work, but I get these errors in the logs:
2024/04/08 20:50:17.894959 [HLS] ffmpeg: file4512-eddd4ff8299c: Unrecognized option 'hls_passthrough_subtitles'.
2024/04/08 20:50:17.894959 [HLS] ffmpeg: file4512-eddd4ff8299c: Error splitting the argument list: Option not found
2024/04/08 20:50:18.017455 [ENC] Encoder stopped for Formula 1 Racing Japanese Grand Prix Quali 2024-04-05-2254.mpg in C:\DVR\Streaming\file4512-eddd4ff8299c-3730077679\encoder-650-3511580505 after starting from 650 without encoding any segments
2024/04/08 20:50:18.017951 [ENC] Next segment to pre-encode of 650 is 1m18.078s from the last request of 572
2024/04/08 20:50:18.024399 [ENC] Starting encoder for Formula 1 Racing Japanese Grand Prix Quali 2024-04-05-2254.mpg in C:\DVR\Streaming\file4512-eddd4ff8299c-3730077679\encoder-650-2190660779 at 650 (649.649000) (encoder=remux, resolution=, deinterlacer=blend, bitrate=6264, segment_size=0.01)
2024/04/08 20:50:18.091929 [HLS] ffmpeg: file4512-eddd4ff8299c: Unrecognized option 'hls_passthrough_subtitles'.
2024/04/08 20:50:18.091929 [HLS] ffmpeg: file4512-eddd4ff8299c: Error splitting the argument list: Option not found
2024/04/08 20:50:18.219847 [ENC] Encoder stopped for Formula 1 Racing Japanese Grand Prix Quali 2024-04-05-2254.mpg in C:\DVR\Streaming\file4512-eddd4ff8299c-3730077679\encoder-650-2190660779 after starting from 650 without encoding any segments. Marked segment as failed.
2024/04/08 20:50:18.219847 [ENC] Next segment to pre-encode of 651 is 1m19.079s from the last request of 572
2024/04/08 20:50:18.225775 [ENC] Starting encoder for Formula 1 Racing Japanese Grand Prix Quali 2024-04-05-2254.mpg in C:\DVR\Streaming\file4512-eddd4ff8299c-3730077679\encoder-651-1261585557 at 651 (650.650000) (encoder=remux, resolution=, deinterlacer=blend, bitrate=6264, segment_size=0.01)
2024/04/08 20:50:18.296608 [HLS] ffmpeg: file4512-eddd4ff8299c: Unrecognized option 'hls_passthrough_subtitles'.
2024/04/08 20:50:18.296608 [HLS] ffmpeg: file4512-eddd4ff8299c: Error splitting the argument list: Option not found
2024/04/08 20:50:18.422191 [ENC] Encoder stopped for Formula 1 Racing Japanese Grand Prix Quali 2024-04-05-2254.mpg in C:\DVR\Streaming\file4512-eddd4ff8299c-3730077679\encoder-651-1261585557 after starting from 651 without encoding any segments
2024/04/08 20:50:18.422191 [ENC] Next segment to pre-encode of 651 is 1m19.079s from the last request of 572
2024/04/08 20:50:18.429135 [ENC] Starting encoder for Formula 1 Racing Japanese Grand Prix Quali 2024-04-05-2254.mpg in C:\DVR\Streaming\file4512-eddd4ff8299c-3730077679\encoder-651-2293491077 at 651 (650.650000) (encoder=remux, resolution=, deinterlacer=blend, bitrate=6264, segment_size=0.01)
2024/04/08 20:50:18.496948 [HLS] ffmpeg: file4512-eddd4ff8299c: Unrecognized option 'hls_passthrough_subtitles'.
2024/04/08 20:50:18.496948 [HLS] ffmpeg: file4512-eddd4ff8299c: Error splitting the argument list: Option not found
2024/04/08 20:50:18.623071 [ENC] Encoder stopped for Formula 1 Racing Japanese Grand Prix Quali 2024-04-05-2254.mpg in C:\DVR\Streaming\file4512-eddd4ff8299c-3730077679\encoder-651-2293491077 after starting from 651 without encoding any segments. Marked segment as failed.
2024/04/08 20:50:18.623567 [ENC] Next segment to pre-encode of 652 is 1m20.08s from the last request of 572
2024/04/08 20:50:18.629025 [ENC] Starting encoder for Formula 1 Racing Japanese Grand Prix Quali 2024-04-05-2254.mpg in C:\DVR\Streaming\file4512-eddd4ff8299c-3730077679\encoder-652-2603938245 at 652 (651.651000) (encoder=remux, resolution=, deinterlacer=blend, bitrate=6264, segment_size=0.01)
2024/04/08 20:50:18.706895 [HLS] ffmpeg: file4512-eddd4ff8299c: Unrecognized option 'hls_passthrough_subtitles'.
2024/04/08 20:50:18.706895 [HLS] ffmpeg: file4512-eddd4ff8299c: Error splitting the argument list: Option not found
2024/04/08 20:50:18.817007 [ENC] Encoder stopped for Formula 1 Racing Japanese Grand Prix Quali 2024-04-05-2254.mpg in C:\DVR\Streaming\file4512-eddd4ff8299c-3730077679\encoder-652-2603938245 after starting from 652 without encoding any segments
2024/04/08 20:50:18.817503 [ENC] Next segment to pre-encode of 652 is 1m20.08s from the last request of 572
2024/04/08 20:50:18.823952 [ENC] Starting encoder for Formula 1 Racing Japanese Grand Prix Quali 2024-04-05-2254.mpg in C:\DVR\Streaming\file4512-eddd4ff8299c-3730077679\encoder-652-3987225237 at 652 (651.651000) (encoder=remux, resolution=, deinterlacer=blend, bitrate=6264, segment_size=0.01)
2024/04/08 20:50:18.838366 [HLS] Stopping inactive session file4512-eddd4ff8299c
2024/04/08 20:50:18.867103 [ENC] Stopped encoder for Formula 1 Racing Japanese Grand Prix Quali 2024-04-05-2254.mpg in C:\DVR\Streaming\file4512-eddd4ff8299c-3730077679\encoder-652-3987225237 after starting from 652 without encoding any segments

Please run the installer from our website to ensure the correct exe files are put into the latest folder.

Can you tell me what files should be in the LATEST folder?

It sounds like you have some antivirus software that is mucking around and deleting the exe files.

The files and names depend on the type of computer. The ffmpeg you copied earlier is not the correct one. It has to be a specific version to work correctly.

I would recommend:

  • go to c:\programdata
  • rename ChannelsDVR to ChannelsDVR-Old
  • run the installer
  • stop the dvr
  • move data folder from Old to new install
  • start dvr from installer

I did exactly as you said. Everything went fine and everything is working. However, I do get an error on Windows boot:
Error
Database failure: couldn't open settings.db: open settings.db: Access is denied.

Hm perhaps the files in the data folder are not using the right permissions for some reason.

Another option is to move that directory away, reinstall, then use the built-in restore option to pick a database backup. That may fix it.