NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support macOS v
1 2 3 4 Next »
How to run NextPVR as a process (without the terminal)

 
  • 0 Vote(s) - 0 Average
How to run NextPVR as a process (without the terminal)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 56,384
Threads: 995
Joined: May 2006
#31
2026-03-27, 12:40 AM
Yes dscl

Code:
sudo dscl . -create /Users/nextpvr
sudo dscl . -create /Users/nextpvr UserShell /usr/bin/false
sudo dscl . -create /Users/nextpvr RealName "NextPVR"
sudo dscl . -create /Users/nextpvr UniqueID 501
sudo dscl . -create /Users/nextpvr PrimaryGroupID 20
sudo dscl . -create /Users/nextpvr NFSHomeDirectory /var/empty

No home folder I use /var/nextpvr/recordings for recordings. and I use the plist to point to /var/opt/nextpvr with the data files as discussed before.
Allan
Offline

Member

Canada
Posts: 129
Threads: 12
Joined: Dec 2024
#32
2026-03-27, 03:03 PM (This post was last modified: 2026-03-27, 03:29 PM by Allan.)
Creating a nextpvr user is what I was missing when I was struggling to get the launchdaemon to work. My workaround did the job, but I think your method is more orderly.

One thing: 501 is the UID that the OS assigns to the first interactive user when a new mac is set up. Each subsequent interactive user set up in users and groups gets the next number (502, 503, etc.). I am guessing that 501 was available because you deleted the user that initially had that UID. In most cases, assigning UniqueID 501 would not work. I don't know what would happen, probably an innocuous failure with an error message, but its possible it would break the active 501 user.

I believe that 1000 and up are the UIDs that are conventionally assigned to this kind of user. Out of curiosity, does nextpvr user show up in users and groups?

For the information of anyone who wants to determine what UIDs are available, the command to list all users and their UIDs is:
dscl . -list /Users UniqueID
or just existing UIDs in the 1000 range:
dscl . -list /Users UniqueID | grep 1...
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 56,384
Threads: 995
Joined: May 2006
#33
2026-03-27, 04:00 PM
I just picked the next system user on my machine but it could be any 500 level

Martin
asaxton
Offline

Junior Member

United States
Posts: 22
Threads: 2
Joined: Jun 2026
#34
2026-06-25, 06:26 PM (This post was last modified: 2026-06-25, 06:42 PM by asaxton.)
i actually had NextPVR running yesterday, but not configured correctly. I've since installed TabloTV (finaly in the right place) and I can't get NextPVR to run at all! To try to correct things, I. moved NPVR, as recommended, to /opt/nextpvr/system to no avail. I also tried deleting the folder ~/.NPVR-data for good measure to start over. Alas, I'm stuck! Attached is the Terminal results from running via dotnet ./NextPVRServer.dll

Thanks,

Tony

Okay, I figured it out. I needed to restart again!


Attached Files
.zip   NextPVR text.txt.zip (Size: 2.17 KB / Downloads: 2)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 56,384
Threads: 995
Joined: May 2006
#35
2026-06-25, 06:37 PM
You can't just install NextPVR to a protected folder and expect it to run. You have to decide what you want to do have a stable service or something that runs as a user. For a service you need to follow the steps in this thread exactly and confirm it works ignoring the TabloTV device.

Martin
Allan
Offline

Member

Canada
Posts: 129
Threads: 12
Joined: Dec 2024
#36
2026-06-25, 06:41 PM
Looks like you are munging different installation/running methods - the one at the link below and the one on sub's installation page. They have some commonalities, but you have to pick one or the other.

I suggest you start over and follow the instructions in https://forums.nextpvr.com/showthread.ph...#pid606585

Martin's and my subsequent comments pertain to that method.

No idea what TabloTV is, or how it may have impacted your installation.
asaxton
Offline

Junior Member

United States
Posts: 22
Threads: 2
Joined: Jun 2026
#37
2026-06-25, 06:45 PM
Yes. I did that, but failed to restart afterward. It's running now, but I still have a ways to go…

Tony
Allan
Offline

Member

Canada
Posts: 129
Threads: 12
Joined: Dec 2024
#38
2026-06-25, 07:51 PM
(2026-06-25, 06:45 PM)asaxton Wrote: Yes. I did that, but failed to restart afterward. It's running now, but I still have a ways to go…

Tony

If you followed the instructions, you would not be starting up by using this terminal command: dotnet ./NextPVRServer.dll
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): « Previous 1 2 3 4


Possibly Related Threads…
Thread Author Replies Views Last Post
  NextPVR is being shut down/shutting itself down Allan 32 7,774 2025-01-16, 04:29 PM
Last Post: mvallevand
  Finding Multiple NextPVR's GlowTube 1 1,787 2024-11-06, 11:12 PM
Last Post: mvallevand
  Is there a "start" command that can be used in the Terminal app? Luisy44 2 2,119 2024-10-08, 07:56 PM
Last Post: Luisy44
  "NextPVR UI" App from Apple App Store a_yank_for_yes 3 3,428 2023-01-26, 07:25 PM
Last Post: sub
  NextPVR on M1 Mac? timbo3344 36 20,026 2022-10-17, 03:36 AM
Last Post: sub
  NextPVR SSD filling up cookrd1 2 2,705 2020-11-12, 03:05 PM
Last Post: cookrd1
  NextPVR install on a iMac running Catalina Edford 5 6,628 2020-07-31, 10:49 PM
Last Post: Edford
  Terminal Window jchhenderson 8 5,455 2019-12-04, 06:41 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