NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
1 2 3 4 5 … 34 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: 53,205
Threads: 958
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: 53,205
Threads: 958
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: 53,205
Threads: 958
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: 53,205
Threads: 958
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: 53,205
Threads: 958
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
  How to get Hauppage firmware running on Linux Mint Higgo 9 638 2025-07-09, 07:50 AM
Last Post: Higgo
  NextPVR can't open RAI (Italian main TV channels) links f2fg 18 4,175 2025-07-05, 10:10 AM
Last Post: alice_anto
  Extras Tuners Not Loading on NextPVR 3.1 Linux Install Siftingice 1 169 2025-07-03, 12:12 AM
Last Post: mvallevand
  Extras Tuners Not Loading on NextPVR 3.1 Linux Install Siftingice 0 105 2025-07-03, 12:02 AM
Last Post: Siftingice
  Server crash changing channels VCR58 7 963 2025-03-27, 03:17 PM
Last Post: VCR58
  Guide data issue using NextPVR in a Proxmox LXC njc 10 1,467 2025-03-23, 01:40 PM
Last Post: njc
  NextPVR oddly limited to 7 tuners DaVinylSmith 4 791 2025-02-12, 02:49 PM
Last Post: DaVinylSmith
  NextPVR webserver not starting, prevents client from starting homemaisonbaile 28 2,521 2025-02-04, 05:23 PM
Last Post: mvallevand
  Kodi Addon not connecting on server if vpn on sgar75 1 459 2025-01-27, 12:44 PM
Last Post: mvallevand
  NextPVR 7 looses recordings after post processing ballfam 15 1,361 2024-12-20, 03:23 AM
Last Post: ballfam

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

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

Linear Mode
Threaded Mode