2024-04-11, 09:31 PM
I see, my mistake. I'll leave it in their hands.
Sure, here's the journal after trying to start it again:
I had to install sqlite3 first though. I hope that wasn't a dependency.
> I strongly suspect the -1 is a return code
So do I, but judging from the linked answer on SO I believe it's a return code for something other than the sqlite query (the question demonstrates that that's where the erroneous column name is in the error message), that's being saved in a variable and used as a literal, but since it's prefixed with a hyphen-minus is instead interpreted as a column name. Just guessing.
Sure, here's the journal after trying to start it again:
Code:
apr 12 01:16:40 k55a systemd[1]: Starting nextpvr-server.service - NextPVRServer...
apr 12 01:16:41 k55a server.sh[13208]: Starting server..
apr 12 01:16:41 k55a server.sh[13210]: Unhandled exception. System.InvalidOperationException: The data is NULL at ordinal 1. This method can't be cal>
apr 12 01:16:41 k55a server.sh[13210]: at Microsoft.Data.Sqlite.SqliteValueReader.GetString(Int32 ordinal)
apr 12 01:16:41 k55a server.sh[13210]: at Microsoft.Data.Sqlite.SqliteDataReader.GetString(Int32 ordinal)
apr 12 01:16:41 k55a server.sh[13210]: at NShared.IPTVRecorder.GetPresentDevices()
apr 12 01:16:41 k55a server.sh[13210]: at NShared.Visible.CaptureSource.UpdateDevices(ICaptureSourceUpdateStatus callback)
apr 12 01:16:41 k55a server.sh[13210]: at NShared.RecordingService..ctor()
apr 12 01:16:41 k55a server.sh[13210]: at NPVR.Program.Main(String[] args)
apr 12 01:16:42 k55a server.sh[13208]: Done. PID=13210
apr 12 01:16:42 k55a systemd[1]: Started nextpvr-server.service - NextPVRServer.
apr 12 01:16:43 k55a systemd[1]: nextpvr-server.service: Main process exited, code=dumped, status=6/ABRT
apr 12 01:16:43 k55a systemd[1]: nextpvr-server.service: Failed with result 'core-dump'.
apr 12 01:17:10 k55a systemd[1]: Starting nextpvr-server.service - NextPVRServer...
apr 12 01:17:10 k55a server.sh[13293]: Starting server..
apr 12 01:17:10 k55a server.sh[13295]: Unhandled exception. System.InvalidOperationException: The data is NULL at ordinal 1. This method can't be cal>
apr 12 01:17:10 k55a server.sh[13295]: at Microsoft.Data.Sqlite.SqliteValueReader.GetString(Int32 ordinal)
apr 12 01:17:10 k55a server.sh[13295]: at Microsoft.Data.Sqlite.SqliteDataReader.GetString(Int32 ordinal)
apr 12 01:17:10 k55a server.sh[13295]: at NShared.IPTVRecorder.GetPresentDevices()
apr 12 01:17:10 k55a server.sh[13295]: at NShared.Visible.CaptureSource.UpdateDevices(ICaptureSourceUpdateStatus callback)
apr 12 01:17:10 k55a server.sh[13295]: at NShared.RecordingService..ctor()
apr 12 01:17:10 k55a server.sh[13295]: at NPVR.Program.Main(String[] args)
apr 12 01:17:12 k55a server.sh[13293]: /opt/nextpvr/shell/server.sh: rad 23: 13295 Avbruten (SIGABRT) (minnesutskrift skapad) /opt/dotnet/dotnet>
apr 12 01:17:12 k55a server.sh[13293]: Done. PID=
apr 12 01:17:12 k55a systemd[1]: nextpvr-server.service: Deactivated successfully.
apr 12 01:17:12 k55a systemd[1]: Started nextpvr-server.service - NextPVRServer.
I had to install sqlite3 first though. I hope that wasn't a dependency.
> I strongly suspect the -1 is a return code
So do I, but judging from the linked answer on SO I believe it's a return code for something other than the sqlite query (the question demonstrates that that's where the erroneous column name is in the error message), that's being saved in a variable and used as a literal, but since it's prefixed with a hyphen-minus is instead interpreted as a column name. Just guessing.