NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Information Community Announcements v
1 2 3 4 5 … 56 Next »
Linux nextpvr-helper.deb installer

Thread Closed 
 
  • 1 Vote(s) - 5 Average
Linux nextpvr-helper.deb installer
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#1
2019-08-03, 12:22 AM
Today sub released a beta version of a Debian based installer for NextPVR v5.  This should work on any apt based linux including Ubuntu, Debian, Mint, Raspian and Armbian that use systemd for services.

This installer should do download all the requirements for running NextPVRServer and create a service to control the server.  The server runs as user nextpvr as a security issue.

1. To download and install the .deb file

curl https://nextpvr.com/nextpvr-helper.deb -O

If you don't have curl installed you will need to run the following, it will be needed in the installer.

sudo apt install curl

sudo apt install ./nextpvr-helper.deb --install-recommends

the ./ is important 

2. To update to a new version of nextpvr

sudo dpkg -i nextpvr-helper.deb

I will announce new versions of the deb in this thread

3. To uninstall the program files (except dotnet)

sudo apt remove nextpvr-helper

to remove the npvr.db3 database config files etc

sudo apt purge nextpvr-helper

and finally to remove any dependencies

sudo apt purge nextpvr-helper
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#2
2019-08-03, 12:25 AM
The installer creates a server that is run automatically after the install

1. Check status sudo not required

service nextpvr-server status

2. Stop server

sudo service nextpvr-server stop

3. start server

sudo service nextpvr-server start
or
sudo service nextpvr-server restart

4. to have server not start automatically

sudo systemctl disable nextpvr-server
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#3
2019-08-03, 12:33 AM
Note that nextpvr-server runs with username nextpvr and all recording folders set up for use by the service not on a share need to be set up for the appropriate permission for use by either nextpvr or configured for video group members

#allow access to video group
chgrp video folder

#give video group write permission
chmod +775 folder

# new file create with video group
chmod g+s folder

# give write access to video group
setfacl -d -m g::rwX folder

The .deb file includes a script to help set these. Here example usage

Code:
sudo /opt/nextpvr/shell/nextpvr-recording.sh /videos/livetv
sudo /opt/nextpvr/shell/nextpvr-recording.sh /videos/recordings
sudo /opt/nextpvr/shell/nextpvr-recording.sh /movies

If you don't want to give access to the video group you will need to chown for the folder to the nextpvr user and you can ignore the group settings.

Martin
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#4
2019-08-07, 08:04 PM
Sub, has uploaded the new version of the .deb installer with the following sha256 chksm

b54599af37c8ba56e02696e2ed28c8f1312bfe2416350df1ec73396885c96453 nextpvr-helper.deb

This version makes unzip a requirement for and changes permissions on the recordings folder. A script is also included to helps set this permission. I have updated the previous post on permissions with more information.

Please post support questions in the linux subforum https://forums.nextpvr.com/forumdisplay.php?67-Linux

Martin
CDinger
Offline

Member

Posts: 151
Threads: 30
Joined: Aug 2016
#5
2019-08-26, 02:02 PM
Martin,

Is there any plan to have Nextend available on Linux?

Craig
Graham
Offline

Posting Freak

UK
Posts: 4,057
Threads: 102
Joined: Dec 2005
#6
2019-08-26, 02:19 PM
CDinger Wrote:Is there any plan to have Nextend available on Linux?

Not only plans but also actions ... https://forums.nextpvr.com/showthread.ph...post539073
CDinger
Offline

Member

Posts: 151
Threads: 30
Joined: Aug 2016
#7
2019-08-27, 03:01 AM
Graham Wrote:Not only plans but also actions ... https://forums.nextpvr.com/showthread.ph...post539073


Awesome....sorry I missed seeing it but thanks for pointing it out. I've been using tvheadend because I needed something to work with Ubuntu. Now I have my NextPVR.Big Grin

Craig
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#8
2019-10-06, 06:56 PM
Sub, has uploaded the new version of the .deb installer with the following sha256 checksum

2ea63cbf4bc916b5206b24351687d3c2bc9a74fcd7b2e050d82fb33aebd9a8e8  nextpvr-helper.deb

This version supports the new forum move of the NPVR.zip to the https sever.   Additionally libc6-dev is now a recommended update as it is currently required for UI client mode (nlite and knewc).

Please post support questions in the linux subforum https://forums.nextpvr.com/forumdisplay.php?67-Linux

Martin
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#9
2019-11-04, 08:26 PM
New update for a change in the URL to the dotnet runtime installer script

SHA256: 3623815B9C3FB2721AADAC6FD1142DBBB66A81FB4A2CBEF670EC286B23683162  nextpvr-helper.deb

Sub's NPVR.zip linux distribution should be ok now.

If you have questions post in the v5 linux support forum.

Martin
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#10
2019-12-13, 11:30 PM
Beginning now with NextPVR version 5.0.1 a new version of the deb installer is required. Please delete any old copies of nextpvr-help.deb (version 1.0) you have, if you use it you will corrupt your system and I likely will not even start, and then follow the download instructions in post #1.

You should double check that the checksum is the new version

2f9ee05e75fd419da9e968b0e2a807b852aa7e4b883e857aee1e3504f50ef8b1 nextpvr-helper.deb

or confirm that it is version 1.1 with

dpkg-deb -I nextpvr-helper.deb

Of note in this release

- removes /opt/nextpvr/system when upgrading from 1.0, data folders stay the same
- only for dotnet 3.1 NPVR.zip cannot downgrade
- installs netcore and aspnetcore required for 5.0.1+ on linux
- does not delete old versions of dotnet from /opt/dotnet/shared/Microsoft.NETCore.App
- adds system role to nextpvr account
- added a version check to reduce issues in the future

If you want to be extra cautious before the upgrade stop the server and rename the /opt/system/nextpvr folder and then install.

If you have questions post in the v5 linux support forum.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (4): 1 2 3 4 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  LineUp for NextPvr PRBUK 1 2,832 2023-12-04, 03:17 PM
Last Post: PRBUK
  OlSkool skin for NextPVR v6 Jaggy 3 1,997 2023-07-16, 05:26 PM
Last Post: sub
  Linux, LibreElec and CoreElec mvallevand 1 1,996 2023-01-01, 01:29 PM
Last Post: mvallevand
  Roku NextPVR Channel mvallevand 7 7,967 2022-11-28, 12:10 AM
Last Post: mvallevand
  Generate NextPVR import XML from recorded TV .wtv files from WMC Jimixter 5 5,250 2021-05-06, 03:34 PM
Last Post: a1blues
  Pluto TV and Filmon for NextPVR mvallevand 2 3,883 2020-12-23, 05:19 PM
Last Post: mvallevand
  Generate missing thumbnails for video files imported into NextPVR Jimixter 0 2,568 2019-12-16, 07:28 PM
Last Post: Jimixter
  New NextPVR client for Raspberry Pi 2 and 3. fred250 40 24,499 2019-11-05, 10:28 PM
Last Post: bobphoenix
  Plex Channel for NextPVR psycik 289 173,868 2018-01-14, 04:17 AM
Last Post: psycik
  New LG and Samsung NextPVR Web Smart TV App available for beta testing. fred250 388 135,655 2017-04-10, 10:46 AM
Last Post: fred250

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

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

Linear Mode
Threaded Mode