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 »
Difficulty installing v5 on Raspberry Pi

 
  • 0 Vote(s) - 0 Average
Difficulty installing v5 on Raspberry Pi
davidbb
Offline

Junior Member

Posts: 2
Threads: 2
Joined: Jul 2019
#1
2019-08-01, 08:08 AM
I am having trouble installing V5 in a Raspberry Pi.
I followed instructions and get the following messages.
Can anyone help me interpret what is wrong as i am new to Raspbian and the Pi.
Thanks


commands:

pi@raspberrypi:~/NPVR $ cd NPVR
pi@raspberrypi:~/NPVR/NPVR $ chmod +x ./NextPVRServer
pi@raspberrypi:~/NPVR/NPVR $ cdmod +x ./DeviceHostLinux
bash: cdmod: command not found
pi@raspberrypi:~/NPVR/NPVR $ chmod +x ./DeviceHostLinux
pi@raspberrypi:~/NPVR/NPVR $ ./NextPVRServer
NEXTPVR_INSTALLDIR /home/pi/NPVR/NPVR/
NEXTPVR_DATADIR /home/pi/NPVR/NPVR/data/
NEXTPVR_DATADIR_USERDATA /home/pi/.NPVR-data/
[1] Checking if upgrade required
[1] master file is /home/pi/NPVR/NPVR/data/Config-master-dont-edit.xml
[1] Doing database updates
[1] Database: /home/pi/.NPVR-data/npvr.db3
[1] Version 5.0.0.190710
[1] CaptureSource.LoadAll()
[1] Unexpected error with HDHR discovery: System.Net.WebException: An exception occurred during a WebClient request. ---> System.TypeInitializationException: The type initializer for 'System.Net.Http.CurlHandler' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Http' threw an exception. ---> System.TypeInitializationException: The type initializer for 'HttpInitializer' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'System.Net.Http.Native': The specified module or one of its dependencies could not be found.
(Exception from HRESULT: 0x8007007E)
at Interop.Http.GetSslVersionDescription()
at Interop.HttpInitializer..cctor()
--- End of inner exception stack trace ---
at Interop.HttpInitializer.Initialize()
at Interop.Http..cctor()
--- End of inner exception stack trace ---
at Interop.Http.GetSupportedFeatures()
at System.Net.Http.CurlHandler..cctor()
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetResponse()
at System.Net.WebClient.GetWebResponse(WebRequest request)
at System.Net.WebClient.DownloadBits(WebRequest request, Stream writeStream)
--- End of inner exception stack trace ---
at System.Net.WebClient.DownloadBits(WebRequest request, Stream writeStream)
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadString(Uri address)
at NShared.Utility.HDHomeRun.Discover(String specificDeviceID)
[1] HDHR Discover
[1] ...
[1] HDHOMERUN_TAG_DEVICE_TYPE: 1
[1] HDHOMERUN_TAG_DEVICE_ID: 1251CD44
[1] HDHOMERUN_TAG_DEVICE_AUTH_STR
[1] HDHOMERUN_TAG_BASE_URL: http://192.168.1.59:80
[1] HDHOMERUN_TAG_TUNER_COUNT: 4
[1] HDHOMERUN_TAG_LINEUP_URL: http://192.168.1.59:80/lineup.json
/home/pi/NPVR/NPVR/DeviceHostLinux: error while loading shared libraries: libdvbv5.so.0: cannot open shared object file: No such file or directory
[1] Local Devices:
[1] CaptureSource.LoadAll()
[1] Using in-progress RecordingService
[1] RecordingService.Startup()
[8] ServiceLocatorThread() starting...
[8] ServiceLocatorThread() Hostname: raspberrypi
[8] address: 192.168.1.6
[8] Waiting for broadcast
[7] Requesting wake up for 'EPGWAKEUP' [EPG Update] at 8/1/19 2:44 AM
[7] PowerManagement ScheduleWakeup (needs implementation)
[7] Next EPG update time: 8/1/19 2:44 AM
[6] RecordingService starting...
[6] Doing database vacuum
[6] vacuuming done
[5] Deleting web temp files
[6] No /home/pi/.NPVR-data/scripts/PostStartup.sh
[6] PurgeOldDeletes()
[6] Loading recording schedule
[6] PowerManagement CancelRecordingWakeupRequests (needs implementation)
Segmentation fault
Ludron
Offline

Member

Posts: 83
Threads: 9
Joined: Jan 2011
#2
2019-08-05, 12:36 AM
I also get exact line about libdvbv5:confused:
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,819
Threads: 954
Joined: May 2006
#3
2019-08-05, 12:43 AM
Ludron, make sure you are running the currrent beta, and note that davidbb isn't

Martin
Ludron
Offline

Member

Posts: 83
Threads: 9
Joined: Jan 2011
#4
2019-08-06, 12:26 PM
I think that it is little more complex. NPVR should check integrity of every file inside own dir. Also require libdvbv5-dev?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,819
Threads: 954
Joined: May 2006
#5
2019-08-06, 12:41 PM
Since you don't understand the problem, I don't understand how you can make that comment. The previous versions of the zip file included a version of dotnet that had problems with libcurl and libssl that lead to the seg fault dotnet is now a separate install and that problem is avoided

Additionally sub doesn't like how the current libdvbv5 works with his code so he now includes another older copy with the release so DeviceHostLinux will work and libdvbv5-0 is not required. Previously it was a stated manual external install.

If you use the deb install dvb-tools (which has libdvbv5-0 as a dependency) and libdvbv5-0 are installed as recommended programs for reference scanning comparison.

Martin
Ludron
Offline

Member

Posts: 83
Threads: 9
Joined: Jan 2011
#6
2019-08-06, 01:07 PM
It is also entirely possible that OP may have corrupt SD card and it should be possible to detect such situation.
Quote:Additionally sub doesn't like how the current libdvbv5 works with his code so he now includes another older copy with the release so DeviceHostLinux will work and libdvbv5-0 is not required. Previously it was a stated manual external install.
Custom kernel and image like in case of Ray?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,819
Threads: 954
Joined: May 2006
#7
2019-08-06, 02:31 PM
Everything in the original post points to known issues. Don't make things harder then they need to. I don't believe it is NextPVR s role to validate the integrity of a file system.

Until the op comes back I consider this closed.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,648
Threads: 767
Joined: Nov 2003
#8
2019-08-06, 06:17 PM
mvallevand Wrote:Additionally sub doesn't like how the current libdvbv5 works with his code so he now includes another older copy with the release so DeviceHostLinux will work and libdvbv5-0 is not required. Previously it was a stated manual external install.
That's not correct - it's not because I don't like how the current libdvbv5 works that I'm including an older copy...I'm just including the version it was built against, because the v4l project seem to be a bit prone to changing the interfaces, causing segmentation faults. Including the version it expects allows me to avoid the segmentation faults caused by surprise interface changes (now or in the future). The specific versions I'm building against are the current versions available in the Linux distributions I'm using. I'll continue to upgrade libdvbv5 included with nextpvr as new versions become available on my build machines.

Unrelated, I commented that the dvb tuners seem to be working really badly on a RPi4, including with the official tools like dvbv5-scan etc (and I wasn't sure if this was related to USB issues with this device, or buggy early RPi4 support in the kernel, or issue with the latest libdvbv5). This did not cause me to use an old version.
Ludron
Offline

Member

Posts: 83
Threads: 9
Joined: Jan 2011
#9
2019-08-08, 12:34 PM (This post was last modified: 2019-08-08, 12:47 PM by Ludron.)
In other threads we can see that NPVR will detect tuners even in case when user is not member of video group.

In this case DeviceHost will return same message even if I copy DeviceHost to parent dir without .so.0 file(so it makes no difference whether that file is present or not).

On the other hand, mini SAT>IP server will run without problem and initialize tuner.

Quote:The loader never checks the current directory for shared objects unless it is explicitly directed to via $LD_LIBRARY_PATH. See the ld.so(8) man page for more details.

mvallevand Wrote:Since you don't understand the problem, I don't understand how you can make that comment.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,819
Threads: 954
Joined: May 2006
#10
2019-08-08, 12:48 PM
Ludron Wrote:In this case DeviceHost will return same message even if I copy DeviceHost to parent dir without .so.0 file(so it makes no difference whether that file is present or not).

Please upload your logs and we can check the message.

Quote:In other threads we can see that NPVR will detect tuners even in case when user is not member of video group.

In my default Debian setup my v4l and dvb devices are not world readable but individual installations can have different permissions.

Code:
martin@lenovo:~$ ls -lt /dev/video*

crw-rw---- 1 root video 81, 1 Aug  4 21:58 /dev/video1
crw-rw---- 1 root video 81, 0 Aug  4 21:58 /dev/video0

martin@lenovo:~$ ls -lt /dev/dvb/adapter0/
total 0
crw-rw---- 1 root video 212, 3 Aug  4 21:58 frontend0
crw-rw---- 1 root video 212, 0 Aug  4 21:58 demux0
crw-rw---- 1 root video 212, 2 Aug  4 21:58 net0
crw-rw---- 1 root video 212, 1 Aug  4 21:58 dvr0

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
  New Version Not Installing TheKenR 3 513 2025-01-04, 10:50 PM
Last Post: mvallevand
  Raspberry Pi 3 Linux Stretch Upgrade success markosjal 1 552 2023-05-20, 05:15 PM
Last Post: sub
  NextPVR on Raspberry Pi 400 snow 1 1,096 2023-02-03, 09:12 AM
Last Post: mvallevand
  Raspberry pi and VLC streamer help buntay20 1 675 2022-08-23, 07:25 AM
Last Post: sub
  Error installing NextPVR on Linux Mint 21 ag100pct 9 1,932 2022-08-17, 02:01 AM
Last Post: mvallevand
  Dvbv5 workaround for Raspberry Pi? dirklangohr 12 2,320 2022-03-06, 10:18 AM
Last Post: dirklangohr
  Raspberry Pi 4 & Hauppauge 950Q - Stuck on Live TV jogeedaklown 2 905 2022-01-06, 04:26 PM
Last Post: jogeedaklown
  Raspberry Pi 4 in USA with OTA ATSC MattDuffy 27 5,795 2021-03-17, 01:52 AM
Last Post: MattDuffy
  Raspberry PI 4 - NextPVR ver 5.1.0.201216 crashes LilyWhites1882 2 1,331 2021-03-05, 04:20 PM
Last Post: LilyWhites1882
  ubuntu raspberry kodi nextpvr help wanted Jack 1 1,058 2020-10-27, 08:20 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode