2025-01-31, 10:40 PM
I followed your instructions and if you didn't say to do it, I didn't do it but I checked and no I don't have anything for dotnet or most applications there.
Martin
Martin
|
2025-01-31, 10:40 PM
I followed your instructions and if you didn't say to do it, I didn't do it but I checked and no I don't have anything for dotnet or most applications there.
Martin
I would expect it to be under "microsoft", which is how I understand system settings sees dotnet on your machine. Stuff shows up by itself (but the OS either prompts you to permit access - in the case of full disk access, for instance - or tells you something is running in the background - in the case of background items).
2025-02-03, 12:05 AM
I got prompted which added that first background access screen but nothing is in Files & Folder
Martin
2025-02-03, 11:42 PM
Still hitting a wall on running as root. Weirder - I can put the plist into launchdaemons and use the launchctl load command without sudo (running as my user) and it runs fine (although it barks that this should not be in the launchagents folder). If I try sudo launchctl load, however - with everything else the same - I get "exited due to SIGABRT | sent by dotnet[1429], ran for 167ms".
I am baffled.
2025-02-04, 04:02 PM
Just on a wild hunch after a problem today what do you have with
sudo ls -lt /var/root/.aspnet/ sudo ls -lt /var/root/.aspnet/DataProtection-Keys Maybe the file wasn't created fory you. In user mode you will see them in ~/.aspnet Martin
Not such a wild hunch!
Quote:ls ~/.aspnet Whereas: Quote:ls -lt /var/root/.aspnet/ However, copying the contents of ~/.aspnet to /var/root/.aspnet/ did nothing (still "exited due to SIGABRT"). Quote:drwxr-xr-x 4 root wheel 128 4 Feb 16:11 . permissions of the key in the DataProtection-Keys directory is set to 600 I'm hoping that copying is not the way to fix this and there was some other thing I'm supposed to do. BTW, I also have an invisible dotnet folder in my user directory. No such directory in /var/root
Solved! I now have nextpvr launching and running when my computer boots up, without logging into a user account.
The launchdaemon works if I add a username key with my user name. When this worked, I deleted the .aspnet and .dotnet folders from /var/root/ with no negative effect - not surprising, mind you, because nextpvr is now accessing my home folder for settings, etc. and should not be looking in the root user directory for anything. I'm going to experiment with it for a bit and will then post new, detailed instructions to replace the instructions for a launchagent in the first message. In the interim, if anyone is trying to run it using a launchdaemon, and is using an external drive for their recordings, please note that external drives do not, by default, mount until you log in to a user account. For the easy fix to change that default behaviour, see this post https://gist.github.com/jabenninghoff/f1...73f5d15819
My backend has been running reliably for over a year using a launchdaemon. NPVR launches when my computer boots up, without logging into a user account. NPVR restarts if dotnet crashes. Key points:
I hope that's everything.
Yesterday, 08:15 PM
Thanks for writing that up. I was doing some nextpvr development on macOS and didn't remember how to stop or start the server to do an update so it was very handy.
Note with plist I use it just like Linux with the files in /var/opt/nextpvr so no invisible .NPVR folder. I created a special nextpvr user too. You made a note about external drives and maybe just add that if you want a network drive you need to give extra security to dotnet in privacy and security. Martin (Yesterday, 08:15 PM)mvallevand Wrote: …Did you just create that user in users and groups or did you use dscl? Did you configure the user to use /opt/nextpvr as home folder? I have updated instructions re: network share. |
|
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
| NextPVR is being shut down/shutting itself down | Allan | 32 | 6,986 |
2025-01-16, 04:29 PM Last Post: mvallevand |
|
| Finding Multiple NextPVR's | GlowTube | 1 | 1,577 |
2024-11-06, 11:12 PM Last Post: mvallevand |
|
| Is there a "start" command that can be used in the Terminal app? | Luisy44 | 2 | 1,917 |
2024-10-08, 07:56 PM Last Post: Luisy44 |
|
| "NextPVR UI" App from Apple App Store | a_yank_for_yes | 3 | 3,142 |
2023-01-26, 07:25 PM Last Post: sub |
|
| NextPVR on M1 Mac? | timbo3344 | 36 | 18,380 |
2022-10-17, 03:36 AM Last Post: sub |
|
| NextPVR SSD filling up | cookrd1 | 2 | 2,480 |
2020-11-12, 03:05 PM Last Post: cookrd1 |
|
| NextPVR install on a iMac running Catalina | Edford | 5 | 6,291 |
2020-07-31, 10:49 PM Last Post: Edford |
|
| Terminal Window | jchhenderson | 8 | 5,106 |
2019-12-04, 06:41 PM Last Post: mvallevand |
|