2025-01-27, 08:21 PM
I had trouble installing dotnet 8 with the installer so using brew was easier for me, it just keep downloading aspnet etc. Other than that is just works here (on 15.2)
Martin
Martin
2025-01-27, 08:21 PM
I had trouble installing dotnet 8 with the installer so using brew was easier for me, it just keep downloading aspnet etc. Other than that is just works here (on 15.2)
Martin
2025-01-27, 08:41 PM
Weird. For me the dotnet installation was the smoothest part of the initial setup.
I had copied the user data from my default location running as a user /users/me/.npvr-data/ over to /var/opt/nextpvr and then changed the owner of the files to root:wheel and permissions to 644. I am going to try deleting these files and see what happens.
2025-01-28, 06:06 PM
Well, I deleted the contents of /var/opt/nextpvr/ and loaded the launchdaemon. The backend ran for a second and aborted, but in that second, it started populating /var/opt/nextpvr/
Quote:IntelMini:nextpvr allan$ ls -la During this time, it also did a bit of logging, which may be informative. This is the whole log: Quote:[...startup]
2025-01-28, 06:55 PM
That is all expected. Is your other instance running? If not maybe try brew with dotnet and use the right cask for v8
Martin
I was confused by the homebrew formulae, because they seemed to be indicating that dotnet 8 was only for apple silicon on sequoia.
Also, FYI, I actually did not exactly follow sub's instructions re installing dotnet. There was no installer in the ASP.NET Core Runtime 8.0.12 section, only binaries. I had no idea where the binaries belong, what their permissions should be, etc., so I used the SDK 8.0.405 installer instead. The notes said it included ASP.NET Core Runtime 8.0.12, and it worked fine. Once I identified where the binaries were installed, I deleted the sdk folders. Anyway, for the time being, I have gone back to using a launchagent (modified to the good with your refinements, btw, with the binaries now in /opt/nextpvr/system/ and using the NEXTPVR_DATADIR_USERDATA variable). I want to figure out why I'm having trouble with the launchdaemon, but I'm out of ideas at the moment. I'll probably take another crack at it next weekend. Any ideas are welcome, because I'd really like to make it work, in which case I will post detailed instructions.
2025-01-31, 12:30 AM
(This post was last modified: 2025-01-31, 01:26 AM by mvallevand.)
I am doing some maintenance on my machine to get ready for 15.3 and I noted a couple of things.
- Here is how dotnet got added to my settings when I created the launchdaeomon. Do you have that and is it enabled? - when I did the brew update to get dotnet 8.0.12 I noticed this message so I am not sure if that related to how you installed. There are regular updates so using brew makes sense to me. The casks are here https://github.com/isen-ng/homebrew-dotnet-sdk-versions and I used dotnet-sdk8 Code: Uninstalling the offical dotnet-sdk casks will remove the shared runtime dependencies, so you'll need to reinstall the particular version cask you want from this tap again for the `dotnet` command to work again. Martin
2025-01-31, 05:51 PM
Interesting. Mine is different, but evidently enabled. It is running, and has been running via a launchagent, for a month already, so I don't see how it's an issue with the installation. To be clear, I have not tried reinstalling with homebrew because the microsoft installer seems to have done the job and I am skittish about breaking something. I did not use an uninstaller related to the sdk - I just deleted the sdk folders in /usr/local/share/dotnet/ included in the full installation. I did this after I had been using the backend for a week or so, and there was no change in functionality.
The only substantive difference I can think of between what I have done and what you have done is that I ran various launchagents as a user before trying a launchdaemon as root, whereas you have always run as root. I'm wondering if it might be a cache thing. I have no idea how to clear dotnet caches, though, assuming there are dotnet caches. Maybe I will try a safe boot this weekend and give it another shot.
2025-01-31, 05:57 PM
One more thought: On mine - system settings:privacy and security:Files and Folders I have dotnet with access to external drive (where recordings are stored). Does yours have full disk access, or access to something else?
2025-01-31, 07:59 PM
Based on your post where it aborted on a bare install I don't think your issue is network drives.
Since there are regular updates to dotnet it still makes sense to use brew if you use it anyway rather then doing it manually as you described. Martin
I don't think my issue is that I have permitted dotnet to access an external drive. I was wondering whether it might be something I have not permitted, hence my question of whether your system settings:privacy and security:Files and Folders settings are different.
|
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
NextPVR is being shut down/shutting itself down | Allan | 32 | 2,218 |
2025-01-16, 04:29 PM Last Post: mvallevand |
|
Finding Multiple NextPVR's | GlowTube | 1 | 490 |
2024-11-06, 11:12 PM Last Post: mvallevand |
|
Is there a "start" command that can be used in the Terminal app? | Luisy44 | 2 | 632 |
2024-10-08, 07:56 PM Last Post: Luisy44 |
|
"NextPVR UI" App from Apple App Store | a_yank_for_yes | 3 | 1,647 |
2023-01-26, 07:25 PM Last Post: sub |
|
NextPVR on M1 Mac? | timbo3344 | 36 | 11,860 |
2022-10-17, 03:36 AM Last Post: sub |
|
NextPVR SSD filling up | cookrd1 | 2 | 1,751 |
2020-11-12, 03:05 PM Last Post: cookrd1 |
|
NextPVR install on a iMac running Catalina | Edford | 5 | 4,963 |
2020-07-31, 10:49 PM Last Post: Edford |
|
Terminal Window | jchhenderson | 8 | 3,905 |
2019-12-04, 06:41 PM Last Post: mvallevand |