NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
« Previous 1 … 3 4 5 6 7 … 37 Next »
NextPVR webserver not starting, prevents client from starting

 
  • 0 Vote(s) - 0 Average
NextPVR webserver not starting, prevents client from starting
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 56,664
Threads: 996
Joined: May 2006
#11
2025-02-03, 05:00 PM (This post was last modified: 2025-02-03, 05:01 PM by mvallevand.)
I have no explanation either. I will try an old Chromebox I have to see but I think we need sub, the author of NextPVR needs to help explain where the servers could be failing processing the request.

Martin
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 56,664
Threads: 996
Joined: May 2006
#12
2025-02-03, 05:20 PM
It starts up fine on my older Chromebox.

What locale etc are you running?

Martin
homemaisonbaile
Offline

Junior Member

France
Posts: 13
Threads: 1
Joined: Feb 2025
#13
2025-02-03, 07:02 PM
This is the output of locale.

Code:
LivingRoom:~ # locale LANG=C.UTF-8 LC_CTYPE="C.UTF-8" LC_NUMERIC="C.UTF-8" LC_TIME="C.UTF-8" LC_COLLATE="C.UTF-8" LC_MONETARY="C.UTF-8" LC_MESSAGES="C.UTF-8" LC_PAPER="C.UTF-8" LC_NAME="C.UTF-8" LC_ADDRESS="C.UTF-8" LC_TELEPHONE="C.UTF-8" LC_MEASUREMENT="C.UTF-8" LC_IDENTIFICATION="C.UTF-8" LC_ALL=

And this is whats in "Settings > Interface > Regional"
Code:
Language - English Character set - Default Virtual keyboard layouts - English QWERTY Region default format - Central Europe Timezone country - France Timezone - Europe/Paris Short date format - Regional (03-03-2025 (DD-MM-YYYY)) Long date format - Regional (Monday, 3 February 2025 (DDDD, D MMMM YYYY)) Time format - Regional (19:57:26 (H:mm:ss))
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 56,664
Threads: 996
Joined: May 2006
#14
2025-02-03, 07:32 PM
No regional settings didn't change anything, sub will need to step in.

Martin
homemaisonbaile
Offline

Junior Member

France
Posts: 13
Threads: 1
Joined: Feb 2025
#15
2025-02-03, 07:42 PM
Alright, thanks for all the help Martin. Should I just wait here for sub or should I contact him somewhere?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 108,484
Threads: 784
Joined: Nov 2003
#16
2025-02-03, 08:30 PM
You could possibly try setting an "ASPNETCORE_ENVIRONMENT=Development" environment variable, then run the server manually, and see if you get a stack trace when attempting the curl command.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 56,664
Threads: 996
Joined: May 2006
#17
2025-02-03, 08:46 PM (This post was last modified: 2025-02-03, 09:58 PM by mvallevand.)
Here is the command line for that

Code:
ASPNETCORE_ENVIRONMENT=Development NEXTPVR_DATADIR_USERDATA=/storage/.kodi/userdata/addon_data/service.nextpvr/config/ dotnet NextPVRServer.dll

Unfortunately when I set that I don't get any extra logging of what is going on He is not even getting that message last message so it is pretty early in the run.

Code:
Hosting environment: Development Content root path: /storage/.kodi/addons/service.nextpvr/nextpvr-bin Now listening on: http://[::]:8866 Application started. Press Ctrl+C to shut down. [7] Got request [172.16.3.3]: /index.html
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 108,484
Threads: 784
Joined: Nov 2003
#18
2025-02-03, 09:54 PM
Honestly, I'm not really sure what to suggest. There isn't much info to go on with what we've seen so far.
homemaisonbaile
Offline

Junior Member

France
Posts: 13
Threads: 1
Joined: Feb 2025
#19
2025-02-04, 09:30 AM (This post was last modified: 2025-02-04, 10:32 AM by homemaisonbaile.)
I do get more feedback on the remote with ASPNETCORE_ENVIRONMENT=Development, hopefully this is what you would be looking for. No update on the server upon connection.

Code:
C:\Users\admin>curl -v http://192.168.1.100:8866/ *  Trying 192.168.1.100:8866... * Connected to 192.168.1.100 (192.168.1.100) port 8866 > GET / HTTP/1.1 > Host: 192.168.1.100:8866 > User-Agent: curl/8.9.1 > Accept: */* > * Request completely sent off < HTTP/1.1 500 Internal Server Error < Content-Type: text/plain; charset=utf-8 < Date: Tue, 04 Feb 2025 09:26:42 GMT < Server: Kestrel < Transfer-Encoding: chunked < System.Security.Cryptography.CryptographicException: An error occurred while trying to encrypt the provided data. Refer to the inner exception for more information. ---> System.Xml.XmlException: Root element is missing.   at System.Xml.XmlTextReaderImpl.Throw(Exception e)   at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()   at System.Xml.XmlReader.MoveToContent()   at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)   at System.Xml.Linq.XElement.Load(Stream stream, LoadOptions options)   at Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.ReadElementFromFile(String fullPath)   at Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.GetAllElementsCore()+MoveNext()   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)   at Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.GetAllElements()   at Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.GetAllKeys()   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.CreateCacheableKeyRingCore(DateTimeOffset now, IKey keyJustAdded)   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.GetCurrentKeyRingCore(DateTime utcNow, Boolean forceRefresh)   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Protect(Byte[] plaintext)   --- End of inner exception stack trace ---   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Protect(Byte[] plaintext)   at Microsoft.AspNetCore.Session.CookieProtection.Protect(IDataProtector protector, String data)   at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context) HEADERS ======= Accept: */* Host: 192.168.1.100:8866 User-Agent: curl/8.9.1 * Connection #0 to host 192.168.1.100 left intact
homemaisonbaile
Offline

Junior Member

France
Posts: 13
Threads: 1
Joined: Feb 2025
#20
2025-02-04, 10:31 AM (This post was last modified: 2025-02-04, 10:33 AM by homemaisonbaile.)
Edit: mistaken post, was attempting to edit my previous post on mobile
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  nextpvr version 7.1 issues jnowski 4 167 2026-08-01, 12:30 AM
Last Post: jnowski
  Can't install new NextPVR verion 7.1.0 RAK 3 372 2026-06-18, 08:24 PM
Last Post: mvallevand
  "Other Web Client" on two Pi's GlowTube 8 554 2026-06-17, 04:41 PM
Last Post: GlowTube
  NextPVR refuses to start ballfam 3 598 2026-02-27, 03:16 PM
Last Post: ballfam
  Migrated to new server, now nextpvr cant find recordings WagMan 7 936 2026-02-26, 01:45 AM
Last Post: WagMan
  NextPVR server EPG problem on LibreElec jcjefferies 35 3,760 2025-12-02, 04:47 PM
Last Post: jcjefferies
  NextPVR v7 Not retaining established SD source on EPG sources page acadng 12 2,771 2025-09-27, 01:50 AM
Last Post: acadng
  LibreElec NextPVR Server problem jcjefferies 9 2,381 2025-09-23, 04:31 PM
Last Post: jcjefferies
  There is no playthrough on the NextPVR server, nor is there any playback when connect kfmf 2 970 2025-09-20, 09:07 PM
Last Post: sub
  NextPVR can't open RAI (Italian main TV channels) links f2fg 18 10,765 2025-07-05, 10:10 AM
Last Post: alice_anto

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

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

Linear Mode
Threaded Mode