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 on Ubuntu 24.04 Server Running, Web interface not so much

 
  • 0 Vote(s) - 0 Average
NextPVR on Ubuntu 24.04 Server Running, Web interface not so much
JeffH
Offline

Junior Member

USA
Posts: 15
Threads: 2
Joined: Jan 2025
#1
2025-06-10, 05:08 PM
Hi,
 
I just installed NextPVR on a fresh install of Ubuntu 24.04. I didn't get any install errors and the server seems to be running fine:

Code:
jeff@NUC11PAHi7:/tmp$ service nextpvr-server status ● nextpvr-server.service - NextPVRServer     Loaded: loaded (/usr/lib/systemd/system/nextpvr-server.service; enabled; preset: enabled)     Active: active (running) since Tue 2025-06-10 11:43:50 CDT; 15min ago     Process: 23783 ExecStart=/opt/nextpvr/shell/server.sh start (code=exited, status=0/SUCCESS)   Main PID: 23785 (dotnet)       Tasks: 25 (limit: 37847)     Memory: 42.8M (peak: 44.2M)         CPU: 853ms     CGroup: /system.slice/nextpvr-server.service             └─23785 /opt/dotnet/dotnet /opt/nextpvr/system/NextPVRServer.dll Jun 10 11:43:48 NUC11PAHi7 systemd[1]: Starting nextpvr-server.service - NextPVRServer... Jun 10 11:43:50 NUC11PAHi7 server.sh[23783]: Starting server..Done. PID=23785 Jun 10 11:43:50 NUC11PAHi7 systemd[1]: Started nextpvr-server.service - NextPVRServer.

The problem is I get an HTTP 500 error trying to bring up the interface with http://127.0.0.1:8866/

I've tried it using both Firefox and Brave browsers.

I've tried it using the specific IP address of the machine it's installed on, but no joy.

Any tips?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 56,658
Threads: 995
Joined: May 2006
#2
2025-06-10, 05:11 PM
Stop the service and zip up the logs in /var/opt/nextpvr/logs and attach them.

Martin
JeffH
Offline

Junior Member

USA
Posts: 15
Threads: 2
Joined: Jan 2025
#3
2025-06-10, 05:43 PM (This post was last modified: 2025-06-10, 05:46 PM by JeffH.)
Here ya go - thanks!


Attached Files
.zip   logs.zip (Size: 1.81 KB / Downloads: 1)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 56,658
Threads: 995
Joined: May 2006
#4
2025-06-10, 06:27 PM
Not much to go on there. Does it work after a restart? Stick with Firefox for now too.

Martin
JeffH
Offline

Junior Member

USA
Posts: 15
Threads: 2
Joined: Jan 2025
#5
2025-06-10, 07:11 PM
Unfortunately restarting didn't help.

The backend started and is active after the restart, but still a 500 error in the browser.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 56,658
Threads: 995
Joined: May 2006
#6
2025-06-10, 07:24 PM
Ok, let's see if anything gets output to stdout. Stop the server and run this and then try the browser again

Code:
sudo -u nextpvr NEXTPVR_DATADIR_USERDATA=/var/opt/nextpvr/ /opt/dotnet/dotnet /opt/nextpvr/system/NextPVRServer.dll

Martin
JeffH
Offline

Junior Member

USA
Posts: 15
Threads: 2
Joined: Jan 2025
#7
2025-06-10, 08:44 PM (This post was last modified: 2025-06-10, 08:56 PM by JeffH.)
No joy - still a 500 error on the browser.  Looks like the command executed without errors.

Code:
jeff@NUC11PAHi7:~$ sudo -u nextpvr NEXTPVR_DATADIR_USERDATA=/var/opt/nextpvr/ /opt/dotnet/dotnet /opt/nextpvr/system/NextPVRServer.dll NEXTPVR_INSTALLDIR /opt/nextpvr/system/ NEXTPVR_DATADIR /opt/nextpvr/system/data/ NEXTPVR_DATADIR_USERDATA /var/opt/nextpvr/ [1] See LICENSE.txt for license information [1] No /var/opt/nextpvr/scripts/PreStartup.sh [1] Checking if upgrade required [1] master file is /opt/nextpvr/system/data/Config-master-dont-edit.xml [1] Doing database updates [1] Database: /var/opt/nextpvr/npvr.db3 [1] Version 7.0.1.241229 [1] Starting SAT>IP discovery [1] local address: 192.168.86.28 [1] CaptureSource.LoadAll() [1] [     {         "DeviceID": "10690590",         "LocalIP": "192.168.86.217",         "BaseURL": "http://192.168.86.217",         "DiscoverURL": "http://192.168.86.217/discover.json",         "LineupURL": "http://192.168.86.217/lineup.json"     } ] [1] Downloading from http://192.168.86.217/discover.json [1] Found HDHomeRun: 10690590 (2 tuners) [1] LineupURL: http://192.168.86.217:80/lineup.json [1] got discovery response [1] ... [1] HDHOMERUN_TAG_DEVICE_TYPE: 1 [1] HDHOMERUN_TAG_DEVICE_ID: 10690590 [1] HDHOMERUN_TAG_DEVICE_AUTH_STR [1] HDHOMERUN_TAG_BASE_URL: http://192.168.86.217:80 [1] HDHOMERUN_TAG_TUNER_COUNT: 2 [1] HDHOMERUN_TAG_LINEUP_URL: http://192.168.86.217:80/lineup.json [1] OSArchitecture: X64 [1] Is64BitProcess: True [1] With environment: LD_LIBRARY_PATH=/opt/nextpvr/system/DeviceHost/x64: [1] Local Devices: <devices> </devices> [1] SAT>IP discovery complete [1] update CAPTURE_SOURCE set name=@name, recorder_plugin_class='NShared.IPTVRecorder', enabled='Y', present='Y', priority=@priority where oid = 20 [1] update CAPTURE_SOURCE set name=@name, recorder_plugin_class='NShared.HDHomeRunRecorder', enabled='Y', present='Y', priority=@priority where oid = 21 [1] update CAPTURE_SOURCE set name=@name, recorder_plugin_class='NShared.HDHomeRunRecorder', enabled='Y', present='Y', priority=@priority where oid = 22 [1] CaptureSource.LoadAll() [1] update CAPTURE_SOURCE set name=@name, recorder_plugin_class='NShared.IPTVRecorder', enabled='Y', present='Y', priority=@priority where oid = 20 [1] update CAPTURE_SOURCE set name=@name, recorder_plugin_class='NShared.HDHomeRunRecorder', enabled='Y', present='Y', priority=@priority where oid = 21 [1] update CAPTURE_SOURCE set name=@name, recorder_plugin_class='NShared.HDHomeRunRecorder', enabled='Y', present='Y', priority=@priority where oid = 22 [1] CaptureSource.LoadAll() [1] Using in-progress RecordingService [1] RecordingService.Startup() [14] PowerManagement CancelWakeup (needs implementation) [15] ServiceLocatorThread() starting... [15] ServiceLocatorThread() Hostname:  NUC11PAHi7 [15] address: 192.168.86.28 [14] Requesting wake up for 'EPG-UPDATE' [EPG Update] at 6/11/2025 2:44 AM [14] PowerManagement ScheduleWakeup (needs implementation) [15] Waiting for broadcast [13] RecordingService starting... [13] Doing database vacuum [13] vacuuming done [9] Deleting web temp files [13] No /var/opt/nextpvr/scripts/PostStartup.sh [13] PurgeOldDeletes() [13] Loading recording schedule [13] PowerManagement CancelRecordingWakeupRequests (needs implementation) [1] Enabling web server response compression [1] Using webroot: /opt/nextpvr/system/wwwroot/ Hosting environment: Production Content root path: /home/jeff Now listening on: http://[::]:8866 Application started. Press Ctrl+C to shut down.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 56,658
Threads: 995
Joined: May 2006
#8
2025-06-10, 08:54 PM
Is there any message from journalctl?
JeffH
Offline

Junior Member

USA
Posts: 15
Threads: 2
Joined: Jan 2025
#9
2025-06-10, 09:12 PM
I typed journalctl into the terminal and it came back with a LOT of lines. I obviously don't know what I'm doing;-)

Is there a way to narrow down the output from journalctl?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 56,658
Threads: 995
Joined: May 2006
#10
2025-06-10, 09:39 PM
Maybe look at the last 100 lines with less

sudo journalctl -n 100 | less

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  nextpvr version 7.1 issues jnowski 4 158 2026-08-01, 12:30 AM
Last Post: jnowski
  Can't install new NextPVR verion 7.1.0 RAK 3 367 2026-06-18, 08:24 PM
Last Post: mvallevand
  SAT>IP server channels not found festinalente 10 831 2026-06-10, 01:44 PM
Last Post: mvallevand
  SAT>IP server not detected as a device festinalente 13 1,195 2026-05-20, 12:56 AM
Last Post: mvallevand
  Server working as normal but DVB-S scan finds No channels jcjefferies 6 820 2026-04-27, 08:39 PM
Last Post: mvallevand
  NextPVR refuses to start ballfam 3 597 2026-02-27, 03:16 PM
Last Post: ballfam
  Migrated to new server, now nextpvr cant find recordings WagMan 7 935 2026-02-26, 01:45 AM
Last Post: WagMan
  NextPVR server EPG problem on LibreElec jcjefferies 35 3,757 2025-12-02, 04:47 PM
Last Post: jcjefferies
  Schedules Direct "Server offline for maintenance" error WagMan 1 581 2025-11-30, 01:41 AM
Last Post: jimil
  NextPVR v7 Not retaining established SD source on EPG sources page acadng 12 2,770 2025-09-27, 01:50 AM
Last Post: acadng

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

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

Linear Mode
Threaded Mode