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
#31
2020-02-17, 03:27 AM (This post was last modified: 2020-02-17, 03:29 AM by snagglewest.)
Found the service unresponsive again about 22:15 or so.  The last recording should have finished about 22:02 but it was showing hung open in the web UI.  Not sure if it helps but here's the CLI output as well as the logs.

[attachment=733]
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 Sun 2020-02-16 19:37:28 EST; 2h 37min ago
  Process: 27113 ExecStart=/opt/nextpvr/shell/server.sh start (code=exited, status=0/SUCCESS)
Main PID: 27123 (dotnet)
    Tasks: 32 (limit: 4915)
   CGroup: /system.slice/nextpvr-server.service
           └─27123 /opt/dotnet/dotnet /opt/nextpvr/system/NextPVRServer.dll

Feb 16 19:37:26 npvr systemd[1]: Starting NextPVRServer...
Feb 16 19:37:28 npvr server.sh[27113]: Starting server..Done. PID=27123
Feb 16 19:37:28 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-16 22:17:11 EST; 8s ago
  Process: 30889 ExecStart=/opt/nextpvr/shell/server.sh start (code=exited, status=0/SUCCESS)
Main PID: 30916 (dotnet)
    Tasks: 22 (limit: 4915)
   CGroup: /system.slice/nextpvr-server.service
           └─30916 /opt/dotnet/dotnet /opt/nextpvr/system/NextPVRServer.dll

Feb 16 22:17:08 npvr systemd[1]: Starting NextPVRServer...
Feb 16 22:17:11 npvr server.sh[30889]: Starting server..Done. PID=30916
Feb 16 22:17:11 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,807
Threads: 769
Joined: Nov 2003
#32
2020-02-17, 06:13 PM
(2020-02-17, 03:27 AM)snagglewest Wrote: Found the service unresponsive again about 22:15 or so.  The last recording should have finished about 22:02 but it was showing hung open in the web UI.  Not sure if it helps but here's the CLI output as well as the logs.
Do you know what the recording was called, and what time it started? (so i know where to look in the logs)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#33
2020-02-17, 06:18 PM
I messed up those log messages I tried to add yesterday. Here is an updated version to fix it.


Attached Files
.zip   NShared.zip (Size: 235.48 KB / Downloads: 6)
snagglewest
Offline

Senior Member

VA USA
Posts: 361
Threads: 60
Joined: Jul 2011
#34
2020-02-25, 02:39 AM
Sub, I updated the Nshared.dll on the 18th and it's been behaving until about 9:05 this evening.  There was a recording from 7:58 to 9:02 which completed normally and another which started at 8:58 which should have ended at 10:05.  We were watching live TV at about 9:05 or so when live TV froze up. As before, the web UI was functioning, but the live TV was not accessible from Kodi and "service nextpvr-server status" from the CLI showed the same status as the previous times.  A "service nextpvr-server restart" got everything back up.

Here's the logs and a screenshot at the time of lockup if it helps.

[attachment=787]
[attachment=788]
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
snagglewest
Offline

Senior Member

VA USA
Posts: 361
Threads: 60
Joined: Jul 2011
#35
2020-02-26, 10:33 PM
Any ideas sub?
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,807
Threads: 769
Joined: Nov 2003
#36
2020-02-26, 11:19 PM
I couldn't see any sign of the new log messages in your log files, so there wasn't much to go on. You would have needed to do the following after any time you restarted your recording service, so that it'd use verbose logging from that session:

Quote:After installing, from a web browser that is already logged into the app, open this url in the browser:

http://localhost:8866/services/service?m...em.verbose

or set a system wide NEXTPVR_VERBOSE=true environment variable.
snagglewest
Offline

Senior Member

VA USA
Posts: 361
Threads: 60
Joined: Jul 2011
#37
2020-02-27, 01:20 AM
Ah, was not aware I need to do that on every restart... Hopefully the next set of logs is more useful.
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: 53,164
Threads: 958
Joined: May 2006
#38
2020-02-27, 01:36 AM
You can edit /etc/nextpvr-helper.conf to add that environment setting for each run. Actually it might be me nextpvr-server.conf in case you don't find that file.

Martin
snagglewest
Offline

Senior Member

VA USA
Posts: 361
Threads: 60
Joined: Jul 2011
#39
2020-02-27, 02:21 AM (This post was last modified: 2020-02-27, 02:23 AM by snagglewest.)
Martin, is "/etc/nextpvr-server.conf" the  correct file?   If so do I just add "NEXTPVR_VERBOSE=true" to it?  This is outside my skill set but I'm up for learning.
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: 53,164
Threads: 958
Joined: May 2006
#40
2020-02-27, 04:08 AM
Whichever nextpvr conf file is there is the one you edit and sub's instruction probably needs to be modified for linux with the export command

export NEXTPVR_VERBOSE=true

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  Recording Plyback Timeline Issue JeffH 11 892 2025-01-17, 03:20 PM
Last Post: mvallevand
  Wake on suspend for recording flyingsubs 15 4,851 2024-12-03, 01:07 PM
Last Post: mvallevand
  NextPVR i.mjh.nz [Failed: Recording interrupted] Nzbaxterman 6 935 2024-10-29, 11:44 PM
Last Post: sub
Wink recording rules - nextpvr kfmf 4 881 2024-07-20, 08:50 AM
Last Post: kfmf
  Live stream not working while recording pciber 6 1,137 2024-06-10, 07:48 AM
Last Post: pciber
  Time scheduled radio recording? WagMan 8 1,304 2024-01-13, 05:34 PM
Last Post: mvallevand
  NextPVR suddenly stopped receiving streams bmentink 10 1,795 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 1,116 2023-12-25, 04:41 AM
Last Post: mvallevand
  Recording length error VCR58 20 2,471 2023-11-12, 11:46 PM
Last Post: mvallevand
  Nextpvr Has Stopped Recording Mark_S 4 946 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