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 … 95 96 97 98 99 … 101 Next »
Windows service

 
  • 0 Vote(s) - 0 Average
Windows service
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,845
Threads: 177
Joined: Aug 2016
#1
2019-09-16, 04:29 AM
I used power shell as admin to create a service as follows...

PS C:\WINDOWS\system32> sc.exe create NextPVRService binPath= " C:\Program Files\NPVR\NextPVRService.exe"
[SC] CreateService SUCCESS

Then browsed the Services explorer and found the service that was created but when I started it I got an "Error 87: Parameter is incorrect"

Obviously, I'm doing something wrong. I also tried just double clicking on NextPVRService.exe but that gave me an error saying that I needed to install the service first.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#2
2019-09-16, 06:39 AM
Did you run the installservice.bat file as admin? It does the required steps.

If you literally ran what you posted above instead, there is a couple of spaces there in funny places, and that wont set it to auto start.
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,845
Threads: 177
Joined: Aug 2016
#3
2019-09-16, 11:34 AM
I ran the .bat file and the service started. It works locally, but when I try on another PC on the network I get a page not found error. FYI, I use port 8867. When I run NextPVRServer.exe it will work remotely.
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,845
Threads: 177
Joined: Aug 2016
#4
2019-09-16, 03:33 PM
Just for fun I tried the Android app outside my LAN with NoIP and surprisingly it connected to my server running the v5 service! I haven't tried Kodi on a remote PC on my LAN but I'm guessing it will work.

So far it's just the web browser that isn't connecting remotely.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#5
2019-09-16, 05:10 PM
Does it make any difference if you explicitly used "index.html" on the url? (ie, http://ip:8866/index.html instead of http://ip:8866/)
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,845
Threads: 177
Joined: Aug 2016
#6
2019-09-16, 05:27 PM
Yes that worked, thanks!
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#7
2019-09-16, 06:13 PM
Great.

You shouldn't have had to have done that, but I've seen some occurrences of people needing to.
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,845
Threads: 177
Joined: Aug 2016
#8
2019-09-17, 01:27 PM
sub Wrote:...You shouldn't have had to have done that, but I've seen some occurrences of people needing to.

For me, I have only needed to add "/index.html" when v5 is running as a service.

I have also found that any valid page link (like guide.html, channels.html, etc.) will work too.
IndyUser
Offline

Junior Member

Posts: 4
Threads: 1
Joined: Jul 2019
#9
2019-09-29, 03:47 PM
I'm also seeing the issue with having to add "/index.html"

If it matters, the host OS is Windows Server 2019
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  NPVR Windows recordings folder cleanup.... Colincam 21 3,051 2025-04-16, 07:38 PM
Last Post: mvallevand
  Windows 24H2 - Can't install Hauppage Drivers Lao Pan 6 1,392 2025-04-04, 04:49 AM
Last Post: seattlefog
  Freezing/Buffering on Windows 11 (NPVR app only) nextpvrnoob 64 8,065 2025-02-21, 07:52 PM
Last Post: mvallevand
  DVB-T210 August USB Freeview HD TV Stick Windows 10 16brae 6 461 2025-01-17, 03:20 AM
Last Post: jimil
  I can't start service daydreaming5 17 914 2024-12-08, 03:24 AM
Last Post: daydreaming5
  Windows Client not receiving class messages ElihuRozen 1 266 2024-12-01, 06:55 PM
Last Post: sub
  can't get http://localhost:8866/service=?method=channel.m3u JCDinPGH 15 1,144 2024-11-28, 03:20 AM
Last Post: JCDinPGH
  [Failed: Channel not found. Deleted?] and Service Restart jobby99 5 490 2024-11-25, 08:01 PM
Last Post: mvallevand
  NextPVR latest version service crash three6zerocool 9 890 2024-11-13, 12:18 PM
Last Post: mvallevand
  unhandled exception causing service to crash jobby99 4 375 2024-11-08, 10:24 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode