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 … 5 6 7 8 9 … 34 Next »
NextPVR on Ubuntu 22.04

 
  • 0 Vote(s) - 0 Average
NextPVR on Ubuntu 22.04
adwsail
Offline

Member

USA
Posts: 56
Threads: 5
Joined: Jan 2020
#21
2023-08-29, 04:24 PM
unfortunately i dont understand how dpkg does its thing with a *.deb file. Looking at the contents of the *.deb file it is VERY useful to check file permissions but I cant see any 'commands' to do anything. Its is the best picture of the file structure as it should be when installed. Can I manually place the files shown in the deb file tree in the appropriate folders?
Dale
Nextpvr, Hauppauge 955Q dual usb tuner, mc2xml with zap2it, Gigabyte H77N Wifi mini-itx, 240Gb ssd, i5-3570s, 8Gb ram, Ubuntu 22.04
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,087
Threads: 957
Joined: May 2006
#22
2023-08-29, 04:34 PM
Feel free to do what you want. I can't understand why it it not writing to /tmp and I am not about to change the way things works without a good reason. It didn't change for V6 and it does work for others.

Martin
adwsail
Offline

Member

USA
Posts: 56
Threads: 5
Joined: Jan 2020
#23
2023-08-29, 04:45 PM
Ok, thank you for your help and especially your time. I'll post updates if I can get it resolved.
Dale
Nextpvr, Hauppauge 955Q dual usb tuner, mc2xml with zap2it, Gigabyte H77N Wifi mini-itx, 240Gb ssd, i5-3570s, 8Gb ram, Ubuntu 22.04
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,087
Threads: 957
Joined: May 2006
#24
2023-08-29, 06:52 PM (This post was last modified: 2023-08-29, 06:59 PM by mvallevand.)
Good luck, maybe you locked down /tmp which you could check with

stat /tmp/

Access: (1777/drwxrwxrwt) Uid: ( 0/ root) Gid: ( 0/ root)

Instruction for a manual install are here https://github.com/sub3/NextPVR/wiki/Lin...al.install If you install dotnet to /opt/dotnet and unzip NPVR.zip to /opt/nextpvr/system instead of /home/user/NPVR the service might work.

Martin
adwsail
Offline

Member

USA
Posts: 56
Threads: 5
Joined: Jan 2020
#25
2023-08-30, 01:50 PM
Found the problem. The snap version of curl WILL NOT WORK FOR INSTALLING NPVR. The apt 'version' works flawlessly. I even did a complete machine wipe and tried the snapd version again with exactly the same results. The really good news is simply remove the snapd version, (sudo snap remove curl), then install the apt version,(sudo apt install curl) and run the script (sudo dpkg -i nextpvr-helper.deb). It installed perfectly, twice. Perhaps a warning for unsuspecting users that snapd curl will NOT work.
Dale
Nextpvr, Hauppauge 955Q dual usb tuner, mc2xml with zap2it, Gigabyte H77N Wifi mini-itx, 240Gb ssd, i5-3570s, 8Gb ram, Ubuntu 22.04
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,087
Threads: 957
Joined: May 2006
#26
2023-08-30, 02:32 PM (This post was last modified: 2023-08-30, 03:10 PM by mvallevand.)
OK thanks for the update and I will update the wiki. I actually read the stuff about curl confinement yesterday but since the wiki noted to use use apt I didn't think to ask how you installed it when you said it worked from the command line as sudo. I figure most users avoid snap for reasons like this.

Martin
adwsail
Offline

Member

USA
Posts: 56
Threads: 5
Joined: Jan 2020
#27
2023-08-30, 04:16 PM
im far from a skilled linux user but avoiding snapd installs is now mandatory in my world. The snapd version of curl has a problem writing to /tmp. It creates a folder under /tmp called snapd-tmp-npvr something so of course anything in a sub folder on tmp is never found. FWIW all the files that should have been in /tmp were in the /tmp/snapd-tmp-npvr folder, dpkg just couldnt, and shouldnt have found them. No if I could only remember how to set up to auto create xml.bat using zap2xml, its been awhile since I needed to install it and I cant seem to get the json/perl files installed, no directions. But thats another topic. Thank you again for your help.
Dale
Nextpvr, Hauppauge 955Q dual usb tuner, mc2xml with zap2it, Gigabyte H77N Wifi mini-itx, 240Gb ssd, i5-3570s, 8Gb ram, Ubuntu 22.04
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,087
Threads: 957
Joined: May 2006
#28
2023-08-30, 04:32 PM
I did some more checking and installed curl with snap and the command you said worked with curl didn't work for me. For me even standalone curl is writing to

/tmp/snap-private-tmp/snap.curl/tmp

I might change the installer to look for those rather than forcing the user to not use snap and save some support posts

Thanks for the lead.

Martin
adwsail
Offline

Member

USA
Posts: 56
Threads: 5
Joined: Jan 2020
#29
2023-08-30, 06:20 PM
Any time Martin, all your hard work on this project is appreciated. Glad to help.
Dale
Nextpvr, Hauppauge 955Q dual usb tuner, mc2xml with zap2it, Gigabyte H77N Wifi mini-itx, 240Gb ssd, i5-3570s, 8Gb ram, Ubuntu 22.04
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,087
Threads: 957
Joined: May 2006
#30
2023-08-30, 07:51 PM
Great thanks. There is a new deb installer that hopefully fixes the issue. If you have any free time, uninstall curl and reinstall the snap version temporarily and test and see if it works with your set tup. Remove dotnet-install.sh and NPVR.zip from /tmp (as sudo) and the see if it all goes well.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3


Possibly Related Threads…
Thread Author Replies Views Last Post
  NextPVR on Ubuntu 24.04 Server Running, Web interface not so much JeffH 15 527 2025-06-11, 05:43 PM
Last Post: mvallevand
  NextPVR can't open RAI (Italian main TV channels) links f2fg 17 3,684 2025-03-29, 10:15 AM
Last Post: alice_anto
  Guide data issue using NextPVR in a Proxmox LXC njc 10 1,255 2025-03-23, 01:40 PM
Last Post: njc
  NextPVR oddly limited to 7 tuners DaVinylSmith 4 656 2025-02-12, 02:49 PM
Last Post: DaVinylSmith
  NextPVR webserver not starting, prevents client from starting homemaisonbaile 28 1,991 2025-02-04, 05:23 PM
Last Post: mvallevand
  NextPVR 7 looses recordings after post processing ballfam 15 1,081 2024-12-20, 03:23 AM
Last Post: ballfam
  Colossus 2 and nextpvr Iriman 53 5,619 2024-12-16, 02:32 AM
Last Post: ehfortin
  Can't connect to http://127.0.0.1:8866/ on Ubuntu 20.04 crcrash 20 4,417 2024-11-11, 08:55 PM
Last Post: Mickey690
  NextPVR user1232 1 381 2024-11-09, 11:21 AM
Last Post: mvallevand
  How does NextPVR separate TV from VOD ? FrankBKK 8 1,049 2024-10-30, 06:17 AM
Last Post: sub

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

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

Linear Mode
Threaded Mode