2019-12-06, 11:38 PM
Hi,
I have a headless Raspberry Pi 4 running the latest/greatest.
raspi-config is setup to wait for network before boot.
configured NextPVR device is IPTV only (m3u/xml)
on bootup of the server, if I check status I see an error:
- Unhandled Exception: System.Net.Sockets.SocketException: Network is unreachable
If I perform a:
- sudo service nextpvr-server restart
the service shows running OK. Failed log below.
Is there a config I am missing to allow the service to start upon device boot without intervention?
Thank you, I am very much enjoying setting this up and using it!
-Adam
Full failed log:
pi@NextPVR:~ $ service nextpvr-server status
nextpvr-server.service - NextPVRServer
Loaded: loaded (/usr/lib/systemd/system/nextpvr-server.service; enabled; vendor preset: enabled)
Active: failed (Result: signal) since Fri 2019-12-06 18:08:52 EST; 12min ago
Process: 323 ExecStart=/opt/nextpvr/shell/server.sh start (code=exited, status=0/SUCCESS)
Main PID: 371 (code=killed, signal=ABRT)
Dec 06 18:08:52 NextPVR server.sh[323]: Unhandled Exception: System.Net.Sockets.SocketException: Network is unreachable
Dec 06 18:08:52 NextPVR server.sh[323]: at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(Socket
Dec 06 18:08:52 NextPVR server.sh[323]: at System.Net.Sockets.Socket.SendTo(Byte[] buffer, Int32 offset, Int32 size, Sock
Dec 06 18:08:52 NextPVR server.sh[323]: at NShared.Utility.HDHomeRun.Discover(String specificDeviceID)
Dec 06 18:08:52 NextPVR server.sh[323]: at NShared.HDHomeRunRecorder.GetPresentDevices()
Dec 06 18:08:52 NextPVR server.sh[323]: at NShared.Visible.CaptureSource.UpdateDevices(ICaptureSourceUpdateStatus callbac
Dec 06 18:08:52 NextPVR server.sh[323]: at NShared.RecordingService..ctor()
Dec 06 18:08:52 NextPVR server.sh[323]: at NPVR5.Program.Main(String[] args)
Dec 06 18:08:52 NextPVR systemd[1]: nextpvr-server.service: Main process exited, code=killed, status=6/ABRT
Dec 06 18:08:52 NextPVR systemd[1]: nextpvr-server.service: Failed with result 'signal'.
I have a headless Raspberry Pi 4 running the latest/greatest.
raspi-config is setup to wait for network before boot.
configured NextPVR device is IPTV only (m3u/xml)
on bootup of the server, if I check status I see an error:
- Unhandled Exception: System.Net.Sockets.SocketException: Network is unreachable
If I perform a:
- sudo service nextpvr-server restart
the service shows running OK. Failed log below.
Is there a config I am missing to allow the service to start upon device boot without intervention?
Thank you, I am very much enjoying setting this up and using it!
-Adam
Full failed log:
pi@NextPVR:~ $ service nextpvr-server status
nextpvr-server.service - NextPVRServer
Loaded: loaded (/usr/lib/systemd/system/nextpvr-server.service; enabled; vendor preset: enabled)
Active: failed (Result: signal) since Fri 2019-12-06 18:08:52 EST; 12min ago
Process: 323 ExecStart=/opt/nextpvr/shell/server.sh start (code=exited, status=0/SUCCESS)
Main PID: 371 (code=killed, signal=ABRT)
Dec 06 18:08:52 NextPVR server.sh[323]: Unhandled Exception: System.Net.Sockets.SocketException: Network is unreachable
Dec 06 18:08:52 NextPVR server.sh[323]: at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(Socket
Dec 06 18:08:52 NextPVR server.sh[323]: at System.Net.Sockets.Socket.SendTo(Byte[] buffer, Int32 offset, Int32 size, Sock
Dec 06 18:08:52 NextPVR server.sh[323]: at NShared.Utility.HDHomeRun.Discover(String specificDeviceID)
Dec 06 18:08:52 NextPVR server.sh[323]: at NShared.HDHomeRunRecorder.GetPresentDevices()
Dec 06 18:08:52 NextPVR server.sh[323]: at NShared.Visible.CaptureSource.UpdateDevices(ICaptureSourceUpdateStatus callbac
Dec 06 18:08:52 NextPVR server.sh[323]: at NShared.RecordingService..ctor()
Dec 06 18:08:52 NextPVR server.sh[323]: at NPVR5.Program.Main(String[] args)
Dec 06 18:08:52 NextPVR systemd[1]: nextpvr-server.service: Main process exited, code=killed, status=6/ABRT
Dec 06 18:08:52 NextPVR systemd[1]: nextpvr-server.service: Failed with result 'signal'.