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 … 30 31 32 33 34 Next »
Error after latest update

 
  • 0 Vote(s) - 0 Average
Error after latest update
Ranbato
Offline

Member

Utah
Posts: 80
Threads: 8
Joined: Nov 2018
#1
2019-10-06, 07:14 PM
I downloaded the latest NPVR.zip file this morning since I saw that there was a new one.
Since then it always fails to record with the following error:
Have received 0 bytes from rtp source

There is an error on startup, but I don't know what might have changed to cause it.
Also, even after downloading and unzipping the latest zip, the UI still shows: Version: 5.0.0.190916  (5.0.0.191006 is available for download)

Attached logs.  I don't see anywhere it connecting to the actual IP of my tuners, but I don't have the old logs to compare to when it was working.  May have to revert to see what changed.


Attached Files
.zip   logs-20191006-1857.zip (Size: 41.96 KB / Downloads: 4)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,221
Threads: 958
Joined: May 2006
#2
2019-10-06, 07:23 PM
Since you didn't use the .deb installer you need to make sure your manual upgrade follows the correct steps (or maybe you meant to post in the docker forum based on the folder names you use?).

Martin
Ranbato
Offline

Member

Utah
Posts: 80
Threads: 8
Joined: Nov 2018
#3
2019-10-06, 07:50 PM (This post was last modified: 2019-10-06, 07:51 PM by Ranbato. Edit Reason: Added attachment this time )
I posted here because I'm using a custom docker image to enable hardware encoding with ffmpeg so I suspect it is closer to Linux.  I could try the .deb, but I thought I read there are some issues with it in the current release.
I did find that I had the data dir incorrect, but even after correcting that I'm getting the same error.
For reference, here is how I'm setting up the image and another set of logs.

Code:
FROM jrottenberg/ffmpeg:4.1-vaapi AS base

#https://docs.microsoft.com/en-us/dotnet/core/linux-prerequisites?tabs=netcore22
#https://github.com/jrottenberg/ffmpeg/blob/master/azure-pipelines.yml


RUN apt-get update -y && \
    apt-get install -y --no-install-recommends unzip zip curl mediainfo libc6 libgdiplus hdhomerun-config kodi-pvr-hdhomerun liblttng-ust0 libcurl4 libssl1.0.0 libkrb5-3 zlib1g libicu60 && \
    rm -rf /var/lib/apt/lists/*


RUN curl https://dot.net/v1/dotnet-install.sh -O \
&& chmod +x ./dotnet-install.sh \
&& ./dotnet-install.sh -Channel 2.2 -Runtime dotnet -InstallDir /usr/share/dotnet \
&& ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet

RUN mkdir /app && cd /app
WORKDIR /app
RUN curl https://nextpvr.com/beta/linux/NPVR.zip -O
#COPY ./NPVR.zip /app/NPVR.zip
RUN unzip NPVR.zip


RUN find . -name DeviceHostLinux -exec chmod 755 {} \;


## cleanup


ENV  LD_LIBRARY_PATH=/usr/local/lib
ENV  ASPNETCORE_URLS=http://+:80
ENV  DOTNET_RUNNING_IN_CONTAINER=true
ENV  DOTNET_VERSION=2.2.7
ENV NEXTPVR_DATADIR=/app/data/
ENV NEXTPVR_DATADIR_USERDATA=/config/
ENV KODI_MEDIA=/kodi/

CMD         ["/app/NextPVRServer.dll"]
ENTRYPOINT  ["dotnet"]

I believe I have every prerequisite in the apt-get install line.


Attached Files
.zip   logs-20191006-1948.zip (Size: 129.35 KB / Downloads: 2)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,823
Threads: 769
Joined: Nov 2003
#4
2019-10-06, 08:02 PM
With your legacy HDHomeRun, can you tell what frequency etc it's tuned to, and where it's sending the network data? ie, you might be able to see this in HDHomeRun Settings, or via the web app on the device or similar.

I'd check it's setting the frequencies, and setting the network target correctly. It looks like it is in the logs, but hard for me to know for sure.
Ranbato
Offline

Member

Utah
Posts: 80
Threads: 8
Joined: Nov 2018
#5
2019-10-06, 11:37 PM
I have figured out at least 1 problem: my HDHR devices were unplugged yesterday and so their IP addresses changed. Despite the correct IPs in the logs, NPVR was trying to record from the old IP addresses when streaming. Once I changed the values in the database to the new IP addresses, everything is working once more.

It is a bug that the IP addresses in the db aren't being updated at startup.

I'll go back through my troubleshooting and unwind it to see if there was anything else besides my initial directory goof up.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,823
Threads: 769
Joined: Nov 2003
#6
2019-10-06, 11:53 PM
(2019-10-06, 11:37 PM)Ranbato Wrote: I have figured out at least 1 problem: my HDHR devices were unplugged yesterday and so their IP addresses changed. Despite the correct IPs in the logs, NPVR was trying to record from the old IP addresses when streaming. Once I changed the values in the database to the new IP addresses, everything is working once more.

It is a bug that the IP addresses in the db aren't being updated at startup.
I've added logic to do this for the next build.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,221
Threads: 958
Joined: May 2006
#7
2019-10-07, 12:06 AM
It's too bad this logic has to be at startup. In a v4 post I mentioned that I leave my HDHR's unplugged often enough that I can miss recording if I forget to restart the server. The same issue could come up if the IP changes in the lifetime of the server.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,823
Threads: 769
Joined: Nov 2003
#8
2019-10-07, 12:22 AM
Now you’re just being greedy Big Grin
Ranbato
Offline

Member

Utah
Posts: 80
Threads: 8
Joined: Nov 2018
#9
2019-10-07, 12:23 PM
I guess the IP discovery method could run just before a recording starts. If there are long timeouts involved, maybe schedule it x minutes before the next recording.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,221
Threads: 958
Joined: May 2006
#10
2019-10-07, 12:42 PM
For my case there is a bug in the rescan (at least in previous v5 versions) that I identified to sub. My device gets marked as disabled and the rescan enables it but I need to no d restart to get it back.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 3 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Linux Command Line To Initiate SchedulesDirect EPG Update LinuxDVR 1 451 2025-04-13, 06:35 PM
Last Post: mvallevand
  update of the media database kfmf 9 1,051 2024-11-17, 12:09 PM
Last Post: mvallevand
  latest update superray2 7 997 2024-11-08, 02:16 PM
Last Post: superray2
  How to verify the latest version number GlowTube 2 836 2024-09-13, 05:22 PM
Last Post: mvallevand
  No device listed -- error saving capture source: SQLite Error 1: 'no such column: −1' skrottapple 46 6,065 2024-04-13, 10:27 PM
Last Post: skrottapple
  Different Errors depending on channel (no tuner found/transcoding Error) idefixrc 3 1,004 2023-11-21, 12:45 PM
Last Post: mvallevand
  Nextpvr unaccessable from Jellyfin with 401 error Simonzzzz 5 1,587 2023-11-20, 10:28 AM
Last Post: Simonzzzz
  Recording length error VCR58 20 2,920 2023-11-12, 11:46 PM
Last Post: mvallevand
  "Unexpected error scanning for other devices" BlackJack 2 926 2023-07-15, 03:03 PM
Last Post: BlackJack
  HTTP ERROR 500 PJosses 17 2,478 2023-02-16, 05:17 PM
Last Post: PJosses

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

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

Linear Mode
Threaded Mode