NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Other Clients v
« Previous 1 2 3 Next »
Windows Linux subsystem

 
  • 0 Vote(s) - 0 Average
Windows Linux subsystem
glue
Offline

Junior Member

New Zealand
Posts: 32
Threads: 3
Joined: Aug 2020
#1
2020-08-22, 08:32 PM
Not sure where to post this but ill try here,
Windows 10 linux subsystem  running ubuntu 20.04.1 lts, when installing the nextpver-helper.deb i  get this

Code:
Setting up ffmpeg (7:4.2.4-1ubuntu0.1) ...
Setting up nextpvr-helper (1.4) ...
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
nextpvr-server: unrecognized service
dpkg: error processing package nextpvr-helper (--configure):
installed nextpvr-helper package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.31-0ubuntu9) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for libgdk-pixbuf2.0-0:amd64 (2.40.0+dfsg-3) ...
Errors were encountered while processing:
nextpvr-helper
E: Sub-process /usr/bin/dpkg returned an error code (1)

so form what i understand (not a lot) is that since its subsystem systemd can't be set to run on pid1
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 45,309
Threads: 865
Joined: May 2006
#2
2020-08-22, 09:04 PM
I would have posted in linux since you are using the deb installer.

I just tried to install it and it looks like the message you are seeing is the same I see here. The reason is WSL2 doesn't have the required systemctl subsytem installed that the deb installer uses.

It will however have installed everything needed for a manual run /home/userid/.NPVR-data

So if you want to run it as a command user

/opt/dotnet/dotnet /opt/nextpvr/system/NextPVRServer.dll

should work. Don't use 8866 if you are running NextPVR on the Windows host.

Other then that I will say the deb installer is not supported on the WSL2 sub system and I see no real reason to add the support.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 102,394
Threads: 741
Joined: Nov 2003
#3
2020-08-22, 09:41 PM
(2020-08-22, 09:04 PM)mvallevand Wrote: It will however have installed everything needed for a manual run /home/userid/.NPVR-data

So if you want  to run it as a command user

/opt/dotnet/dotnet /opt/nextpvr/system/NextPVRServer.dll

should work.  Don't use 8866 if you are running NextPVR on the Windows host.
It'll be interesting to hear if it works. It should work when manually run that way, and should be ok for network tuners or IPTV.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 45,309
Threads: 865
Joined: May 2006
#4
2020-08-22, 10:24 PM (This post was last modified: 2020-08-22, 10:24 PM by mvallevand.)
Yes it works with IPTV and HDHR devices no real issues with ffmpeg etc.

Martin
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 45,309
Threads: 865
Joined: May 2006
#5
2020-08-23, 01:43 AM
This might work on a WSL2 Ubuntu/Debian setup after the failure

Copy this as /etc/init.d/nextpvr-server

Code:
#!/bin/bash
cd /opt/nextpvr/system
sudo -u nextpvr  NEXTPVR_DATADIR_USERDATA="/var/opt/nextpvr/" /opt/nextpvr/shell/server.sh $1

sudo service nextpvr-helper {start|stop|restart|status} should work and it can run in the background

again the port has to be different from a Windows port.

Other than getting your feet wet for linux there should not be a reason to use this instead of the standard Windows install.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Windows based client as front-end to Linux Server vintdiesel 6 2,424 2019-12-03, 06:24 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