NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
« Previous 1 … 27 28 29 30 31 … 34 Next »
recording service stopped

 
  • 0 Vote(s) - 0 Average
recording service stopped
snagglewest
Offline

Senior Member

VA USA
Posts: 361
Threads: 60
Joined: Jul 2011
#1
2020-02-08, 01:50 AM
Sub, over the last 2 nights the recording service has stopped running and  I've only found it in the morning when live TV wouldn't work.  Interesting enough, the web UI still works fine and I can even play a existing recording but the tuners aren't available.  This morning I SSH'd and ran "service nextpvr-server status" to see what was going on.  It appeared everything was normal, but I didn't capture a screen shot.  A restart get everything back running normally.  This also happened several weeks ago, but I really didn't think much of it until today.

last night I had 4 recordings going starting at 8:58, 2 recorded to completion, 2 stopped mid recording.

Deputy.S01E06 - 8:58:00 PM - 10:02:00 PM - recorded full length
Tommy.S01E01 - 9:58:00 PM - 11:02:00 PM  - recorded full length
A Million Little Things.S02E12 - 9:59:00 PM - 11:00:00 PM - stopped recording after 7min 49sec
Alone The Beast.S01E02 - 10:01:00 PM - 11:05:00 PM  - stopped recording after 7min 49sec

Interesting enough, the 2 recordings that didn't complete only get released at 5:49am when I restarted the service.  Apparently Npvr still held them both open the whole time until the restart.  Both recordings are playable in both the web UI and VLC and appear to be normal other than being short.

I looked at the attached logs and nothing stands out but I really don't know what I'm looking at for the most part.  Your thoughts?


Attached Files
.zip   logs-20200207-0550.zip (Size: 1.13 MB / Downloads: 5)
NextPVR V6.1.5.231022 - Ubuntu 22.04 VM / 4 core / 8Gb memory
HDHR Prime X2 / HDFX-2 /Schedule Direct / 2X Pi4 + & 3X Pi3 LibreELEC Kodi clients
Server - TrueNAS/ SuperMicro MBD-X10SL7-F MB / Xeon E3-1246 / 32Gb Unbuffered ECC / 8 X 4TB RAIDZ2
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#2
2020-02-08, 02:33 AM
Do you have the default 20 minute buffer for live tv 7:49 sound like one minute of prepadding on a rolling file segment. I do see the Kodi spam over night showing the recording status all night

Martin
snagglewest
Offline

Senior Member

VA USA
Posts: 361
Threads: 60
Joined: Jul 2011
#3
2020-02-08, 03:37 PM (This post was last modified: 2020-02-08, 03:38 PM by snagglewest.)
The live TV buffer is set to 30 min which has been that way for quite some time.
NextPVR V6.1.5.231022 - Ubuntu 22.04 VM / 4 core / 8Gb memory
HDHR Prime X2 / HDFX-2 /Schedule Direct / 2X Pi4 + & 3X Pi3 LibreELEC Kodi clients
Server - TrueNAS/ SuperMicro MBD-X10SL7-F MB / Xeon E3-1246 / 32Gb Unbuffered ECC / 8 X 4TB RAIDZ2
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#4
2020-02-08, 03:49 PM
That throws my theory out the window.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#5
2020-02-08, 05:54 PM
Martin - if he's installed via the .deb, how can he manually run it in a terminal window, so we can see the output after it crashes?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#6
2020-02-08, 06:06 PM
What is crashing?  The app keeps running and it is not using DeviceHostLinux.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#7
2020-02-08, 06:22 PM
True. I hadn't re-read this fully today. I'd stopped at "Sub, over the last 2 nights the recording service has stopped running"
snagglewest
Offline

Senior Member

VA USA
Posts: 361
Threads: 60
Joined: Jul 2011
#8
2020-02-09, 11:59 PM
Came home from work tonight about 18:30 to find the same issue, the web UI was accessible but the tuners were not.  There was a recording from 14:45 to 17:45 which completed without issue.  Here's the logs and the CLI output when I checked it and the result after a restart of the service.


.zip   logs-20200209-1836.zip (Size: 812.32 KB / Downloads: 2)

Code:
npvr@npvr:~$ service nextpvr-server status
● nextpvr-server.service - NextPVRServer
  Loaded: loaded (/usr/lib/systemd/system/nextpvr-server.service; enabled; vendor preset: enabled)
  Active: active (running) since Sat 2020-02-08 17:26:13 EST; 1 day 1h ago
  Process: 1021 ExecStart=/opt/nextpvr/shell/server.sh start (code=exited, status=0/SUCCESS)
Main PID: 1181 (dotnet)
    Tasks: 29 (limit: 4623)
  CGroup: /system.slice/nextpvr-server.service
          └─1181 /opt/dotnet/dotnet /opt/nextpvr/system/NextPVRServer.dll

Feb 08 17:26:11 npvr systemd[1]: Starting NextPVRServer...
Feb 08 17:26:13 npvr systemd[1]: Started NextPVRServer.
npvr@npvr:~$
npvr@npvr:~$
npvr@npvr:~$ sudo service nextpvr-server restart
[sudo] password for npvr:
npvr@npvr:~$
npvr@npvr:~$
npvr@npvr:~$ service nextpvr-server status
● nextpvr-server.service - NextPVRServer
  Loaded: loaded (/usr/lib/systemd/system/nextpvr-server.service; enabled; vendor preset: enabled)
  Active: active (running) since Sun 2020-02-09 18:36:05 EST; 17s ago
  Process: 4978 ExecStart=/opt/nextpvr/shell/server.sh start (code=exited, status=0/SUCCESS)
Main PID: 4991 (dotnet)
    Tasks: 23 (limit: 4623)
  CGroup: /system.slice/nextpvr-server.service
          └─4991 /opt/dotnet/dotnet /opt/nextpvr/system/NextPVRServer.dll

Feb 09 18:36:03 npvr systemd[1]: Starting NextPVRServer...
Feb 09 18:36:05 npvr server.sh[4978]: Starting server..Done. PID=4991
Feb 09 18:36:05 npvr systemd[1]: Started NextPVRServer.
npvr@npvr:~$
NextPVR V6.1.5.231022 - Ubuntu 22.04 VM / 4 core / 8Gb memory
HDHR Prime X2 / HDFX-2 /Schedule Direct / 2X Pi4 + & 3X Pi3 LibreELEC Kodi clients
Server - TrueNAS/ SuperMicro MBD-X10SL7-F MB / Xeon E3-1246 / 32Gb Unbuffered ECC / 8 X 4TB RAIDZ2
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#9
2020-02-10, 12:05 AM
I can't see any obvious error in the logs. If you click 'Device Status' (Settings->About) when it's like this, does it claim the server is doing anything already?
snagglewest
Offline

Senior Member

VA USA
Posts: 361
Threads: 60
Joined: Jul 2011
#10
2020-02-10, 12:22 AM (This post was last modified: 2020-02-10, 12:23 AM by snagglewest.)
No, both times I checked, this time and the last, it just said "No devices are currently active" before I did the service restart from the CLI.
NextPVR V6.1.5.231022 - Ubuntu 22.04 VM / 4 core / 8Gb memory
HDHR Prime X2 / HDFX-2 /Schedule Direct / 2X Pi4 + & 3X Pi3 LibreELEC Kodi clients
Server - TrueNAS/ SuperMicro MBD-X10SL7-F MB / Xeon E3-1246 / 32Gb Unbuffered ECC / 8 X 4TB RAIDZ2
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (8): 1 2 3 4 5 … 8 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Recording Plyback Timeline Issue JeffH 11 565 2025-01-17, 03:20 PM
Last Post: mvallevand
  Wake on suspend for recording flyingsubs 15 4,363 2024-12-03, 01:07 PM
Last Post: mvallevand
  NextPVR i.mjh.nz [Failed: Recording interrupted] Nzbaxterman 6 655 2024-10-29, 11:44 PM
Last Post: sub
Wink recording rules - nextpvr kfmf 4 682 2024-07-20, 08:50 AM
Last Post: kfmf
  Live stream not working while recording pciber 6 841 2024-06-10, 07:48 AM
Last Post: pciber
  Time scheduled radio recording? WagMan 8 995 2024-01-13, 05:34 PM
Last Post: mvallevand
  NextPVR suddenly stopped receiving streams bmentink 10 1,409 2024-01-10, 02:28 AM
Last Post: mvallevand
  How do I shut the service down? Can I run it on as needed basis instead? snow 3 996 2023-12-25, 04:41 AM
Last Post: mvallevand
  Recording length error VCR58 20 2,060 2023-11-12, 11:46 PM
Last Post: mvallevand
  Nextpvr Has Stopped Recording Mark_S 4 842 2023-05-28, 04:27 PM
Last Post: Mark_S

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode