NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 … 97 98 99 100 101 … 103 Next »
Service running but not working

 
  • 0 Vote(s) - 0 Average
Service running but not working
4zm4r3d02
Offline

Senior Member

USA
Posts: 356
Threads: 90
Joined: May 2005
#1
2019-09-16, 01:12 PM (This post was last modified: 2019-09-16, 01:30 PM by 4zm4r3d02.)
Last night I installed the new version and ran the installservice.bat as an administrator. Everything seemed to be working, although I had no recordings scheduled and I don't recall if I tried watching live tv or looking at the guide or the settings. I shut down my pc as usual before going to bed, and found that it had awoken as usual this morning by the wakeup alarm in the BIOS. I noticed the NPVR tray icon was grey, and when I right clicked it and selected "show status" the window that opened was blank. After a while I clicked on the close window "x" icon and a message said "not responding". I clicked it a few more times and it closed, and the tray app icon also vanished.

I checked the service and it was running, so I opened the web page on the localhost and it showed the expected stuff at the top, but the main part just had the words "Available Storage Recent Recordings Upcoming Recordings", but no pictures of available space or the pending recordings. I opened the settings page and it looked normal for a bit but then a box popped-up that said "unexpected error loading settings".

I restarted the tray app and used it to bring up the dektop app, which looked fine for a few seconds and then displayed the message "unable to connect to the remote server". This is all on the same pc, by the way, both the client and backend. I right clicked and was able to access the settings, but I didn't try changing any. The recordings section of the desktop app showed the pending and recurring recordings, I have no available recordings because I delete them after watching or manually edit and convert them using other programs before moving them to my NAS.

All logs in "C:\Users\Public\NPVR-data\logs" attached.

ps I can watch tv using VLC from its "universal plug 'n' play" section of the playlist.

pps All working as usual after I stopped and restarted the service from an administrative command line.

ppps I have NPVR installed in a folder called "Programs" in my user folder.
Intel Core i7-4790 / 32GB RAM / Windows 10 Pro 64 bit / HDHomeRun CONNECT DUO Model: HDHR5-2US
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,823
Threads: 769
Joined: Nov 2003
#2
2019-09-17, 02:33 AM
What was the time it wasn't working? so I know where I'm looking in the logs.
4zm4r3d02
Offline

Senior Member

USA
Posts: 356
Threads: 90
Joined: May 2005
#3
2019-09-17, 07:33 PM
sub Wrote:What was the time it wasn't working? so I know where I'm looking in the logs.

Sometime between 2019-09-16 at 4:47:12.66 when the computer booted up and 9:12, when I posted. Sorry I can't be any more specific than that.

I just tried an experiment. I shut down the service and the tray app, deleted the logs, and rebooted. The only log file created was a new "nrecord.log", and it was 0 bytes. After I stopped and started the service from a command line the old log was renamed "nrecord.log.1" and a new "nrecord.log" was created and started to fill up with the usual stuff.
Intel Core i7-4790 / 32GB RAM / Windows 10 Pro 64 bit / HDHomeRun CONNECT DUO Model: HDHR5-2US
4zm4r3d02
Offline

Senior Member

USA
Posts: 356
Threads: 90
Joined: May 2005
#4
2019-09-17, 08:24 PM
After further experimentation I found that setting the NextPVR Service startup type to Automatic (delayed start) got it to work at boot time. It previously was set to Automatic.¯\_(ツWink_/¯
Intel Core i7-4790 / 32GB RAM / Windows 10 Pro 64 bit / HDHomeRun CONNECT DUO Model: HDHR5-2US
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,823
Threads: 769
Joined: Nov 2003
#5
2019-09-17, 08:31 PM
4zm4r3d02 Wrote:After further experimentation I found that setting the NextPVR Service startup type to Automatic (delayed start) got it to work at boot time. It previously was set to Automatic.¯\_(ツWink_/¯
I've updated the installservice.bat file for the next build to make it delayed auto start, in case others find the same thing.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,823
Threads: 769
Joined: Nov 2003
#6
2019-09-17, 08:34 PM
4zm4r3d02 Wrote:Sometime between 2019-09-16 at 4:47:12.66 when the computer booted up and 9:12, when I posted. Sorry I can't be any more specific than that.

I just tried an experiment. I shut down the service and the tray app, deleted the logs, and rebooted. The only log file created was a new "nrecord.log", and it was 0 bytes.
It's worth noting that NextPVR v5 doesn't force flush it's logging to disk, to minimize the impact of logging on the system. When you click the 'log files' button to download the logs, it'll flush to disk, and zip it up.

...so, can be entirely normal to see the .log file size saying 0 bytes.
aderlopas
Offline

Senior Member

Posts: 313
Threads: 40
Joined: Dec 2013
#7
2019-09-18, 05:39 PM
I don't think it has to do with the start, in my case it was working but suddenly stopped, the service is up and running.
Log files show a possible incomplete write, I would nomally assume a process crash, but now that I tried to zip the directory it gave worning that the two files are locked by a process...

attaching the logs...

NPVR.log:

2019-09-18 10:28:30.646 [DEBUG][1] Done
2019-09-18 10:28:30.661 [DEBUG][1] Setting up device for:
2019-09-18 10:28:30.692 [DEBUG][1] Abou


Nrecord.log


2019-09-18 20:37:01.179 [DEBUG][8] Renew lease ok (0x180001)
2019-09-18 20:37:01.881 [DEBUG][67] Got requ
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,823
Threads: 769
Joined: Nov 2003
#8
2019-09-18, 05:55 PM
aderlopas Wrote:I don't think it has to do with the start, in my case it was working but suddenly stopped, the service is up and running.
Try viewing http://localhost:8866/index.html instead of http://localhost:8866/. Others have had to do this when using the service - I'm not sure why yet.
aderlopas
Offline

Senior Member

Posts: 313
Threads: 40
Joined: Dec 2013
#9
2019-09-18, 06:08 PM
sub Wrote:Try viewing http://localhost:8866/index.html instead of http://localhost:8866/. Others have had to do this when using the service - I'm not sure why yet.

Actually I tried localhost:8866/channels.html and it still did not work.

I think there was some problem with my database as I restarted a few times and could not make it work.
I renamed my .db3 database file and let it create a new one and it came up.
Then I stopped the service again and renamed back the old one and restarted it and now it works...

With respect to the why it does not work as expected, unfortunately I don't know IIS, but knowing Apache and Weblogic, I would say it has something to do with the loopback URL not being defined (the one used when client does not specify a full path, that is).
Or a security setting issue...
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  EPG Update no longer working... [0 inserted, 0 updated, 0 skipped] rightbryce 1 115 Yesterday, 02:17 AM
Last Post: mvallevand
  EPG on DVB-C stoppped working Geertje 3 260 2025-07-08, 07:03 AM
Last Post: Geertje
  EPG No Longer Working - zap2xml SamM 48 6,479 2025-07-04, 12:26 PM
Last Post: SamM
  m3u not working WhisperingGhost 3 325 2025-06-22, 02:42 AM
Last Post: sub
  server service not running Brucek2839 1 210 2025-06-19, 01:17 PM
Last Post: mvallevand
  Windows could not start the NextPVR Service service on Local Computer Error 193:0xc1 Jimmyts100 7 6,105 2025-06-18, 06:26 PM
Last Post: jcole998
  Pending recordings not showing in web interface and NextPVR gadget not working... henryixV 4 577 2025-05-27, 08:29 PM
Last Post: henryixV
Photo NextTVPI and Titan Record Not Working N88yanks 18 1,436 2025-02-03, 09:21 PM
Last Post: N88yanks
  I can't start service daydreaming5 17 1,269 2024-12-08, 03:24 AM
Last Post: daydreaming5
  can't get http://localhost:8866/service=?method=channel.m3u JCDinPGH 15 1,798 2024-11-28, 03:20 AM
Last Post: JCDinPGH

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

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

Linear Mode
Threaded Mode