NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support v
« Previous 1 … 8 9 10 11 12 44 Next »
Upgrading from v5 to v6 on Linux

 
  • 0 Vote(s) - 0 Average
Upgrading from v5 to v6 on Linux
ryspencer
Offline

Member

US
Posts: 58
Threads: 3
Joined: Mar 2020
#51
2023-05-05, 12:00 AM
Thanks Martin,

Removed all the dotnet directories, reinstalled the package. dotnet folder is there showing only the 6.0.16 version, install ran fine and server stated it was up and running.

No new logs written, but still same behavior - no access.

tried the localhost from the command line - same. Very confused.

pi@NextPVRSVR:~ $ service nextpvr-server status
● nextpvr-server.service - NextPVRServer
Loaded: loaded (/lib/systemd/system/nextpvr-server.service; enabled; vendo>
Active: inactive (dead) since Thu 2023-05-04 19:52:00 EDT; 40s ago
Process: 1746 ExecStart=/opt/nextpvr/shell/server.sh start (code=exited, st>
CPU: 50ms

May 04 19:51:58 NextPVRSVR systemd[1]: Starting NextPVRServer...
May 04 19:51:58 NextPVRSVR server.sh[1746]: Starting server..
May 04 19:51:58 NextPVRSVR server.sh[1748]: /opt/nextpvr/shell/server.sh: line >
May 04 19:52:00 NextPVRSVR server.sh[1746]: Done. PID=
May 04 19:52:00 NextPVRSVR systemd[1]: nextpvr-server.service: Succeeded.
May 04 19:52:00 NextPVRSVR systemd[1]: Started NextPVRServer.

pi@NextPVRSVR:~ $ curl -v http://localhost:8866
* Trying ::1:8866...
* connect to ::1 port 8866 failed: Connection refused
* Trying 127.0.0.1:8866...
* connect to 127.0.0.1 port 8866 failed: Connection refused
* Failed to connect to localhost port 8866: Connection refused
* Closing connection 0
curl: (7) Failed to connect to localhost port 8866: Connection refused
pi@NextPVRSVR:~ $
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,370
Threads: 963
Joined: May 2006
#52
2023-05-05, 12:09 AM
The important test now is not running NextPVR it is checking dotnet

/opt/dotnet/dotnet --list-runtimes

If that fails try a manual install to check for errors but don't reboot since the dotnet installer while be removed.

Code:
sudo rm -r /opt/dotnet
sudo /tmp/dotnet-install.sh -c 6.0 --runtime aspnetcore -InstallDir /opt/dotnet

Then test again.
/opt/dotnet/dotnet --list-runtimes

Martin
ryspencer
Offline

Member

US
Posts: 58
Threads: 3
Joined: Mar 2020
#53
2023-05-05, 12:16 AM
pi@NextPVRSVR:~ $ sudo /tmp/dotnet-install.sh -c 6.0 --runtime aspnetcore -InstallDir /opt/dotnet
dotnet-install: Attempting to download using aka.ms link https://dotnetcli.azureedge.net/dotnet/a...m64.tar.gz
dotnet-install: Extracting zip from https://dotnetcli.azureedge.net/dotnet/a...m64.tar.gz
dotnet-install: Installed version is 6.0.16
dotnet-install: Adding to current process PATH: `/opt/dotnet`. Note: This change will be visible only when sourcing script.
dotnet-install: Note that the script does not resolve dependencies during installation.
dotnet-install: To check the list of dependencies, go to https://learn.microsoft.com/dotnet/core/install, select your operating system and check the "Dependencies" section.
dotnet-install: Installation finished successfully.
pi@NextPVRSVR:~ $ /opt/dotnet/dotnet --list-runtimes
bash: /opt/dotnet/dotnet: No such file or directory
pi@NextPVRSVR:~ $
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,370
Threads: 963
Joined: May 2006
#54
2023-05-05, 12:20 AM
What do you see with

ls -la /opt
and
ls -la /opt/dotnet

Martin
ryspencer
Offline

Member

US
Posts: 58
Threads: 3
Joined: Mar 2020
#55
2023-05-05, 12:21 AM
pi@NextPVRSVR:~ $ ls -la /opt
total 20
drwxr-xr-x 5 root root 4096 May 4 20:15 .
drwxr-xr-x 18 root root 4096 May 4 20:14 ..
drwxr-xr-x 4 root root 4096 May 4 20:15 dotnet
drwxr-xr-x 4 root root 4096 May 4 20:14 nextpvr
drwxr-xr-x 3 root root 4096 Oct 30 2021 pigpio
pi@NextPVRSVR:~ $ ls -la /opt/dotnet
total 296
drwxr-xr-x 4 root root 4096 May 4 20:15 .
drwxr-xr-x 5 root root 4096 May 4 20:15 ..
-rwxr-xr-x 1 root root 199352 May 4 20:15 dotnet
drwxr-xr-x 3 root root 4096 May 4 20:15 host
-rw-r--r-- 1 root root 1116 May 4 20:15 LICENSE.txt
drwxr-xr-x 4 root root 4096 May 4 20:15 shared
-rw-r--r-- 1 root root 78479 May 4 20:15 ThirdPartyNotices.txt
pi@NextPVRSVR:~ $
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,370
Threads: 963
Joined: May 2006
#56
2023-05-05, 12:25 AM
All good, are the package your distro complete current?

sudo apt update
sudo apt install

Martin
ryspencer
Offline

Member

US
Posts: 58
Threads: 3
Joined: Mar 2020
#57
2023-05-05, 12:26 AM
I ran those before I started the upgrade, but running again shows current:

pi@NextPVRSVR:~ $ sudo apt update
Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
pi@NextPVRSVR:~ $ sudo apt install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@NextPVRSVR:~ $
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,370
Threads: 963
Joined: May 2006
#58
2023-05-05, 12:32 AM
Ok I didn't test with raspian legacy I used raspberry OS but I wouldnt' think that matters

Perhaps try install from the repo

sudo apt install aspnetcore-runtime-6.0

and assuming it runs try

dotnet --list-runtimes
and
/opt/dot/dotnet --list-runtimes
ryspencer
Offline

Member

US
Posts: 58
Threads: 3
Joined: Mar 2020
#59
2023-05-05, 12:35 AM
pi@NextPVRSVR:~ $ sudo apt install aspnetcore-runtime-6.0
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package aspnetcore-runtime-6.0
E: Couldn't find any package by glob 'aspnetcore-runtime-6.0'
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,370
Threads: 963
Joined: May 2006
#60
2023-05-05, 12:36 AM (This post was last modified: 2023-05-05, 12:51 AM by mvallevand.)
If it doesn't install you would need

Code:
curl https://packages.microsoft.com/config/debian/11/packages-microsoft-prod.deb -o packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb

and try again.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (9): « Previous 1 … 4 5 6 7 8 9 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Linux Ending Tuner Recording Early For New Recording Despite Idle Tuners Available LinuxDVR 5 1,387 2022-11-18, 09:30 PM
Last Post: mvallevand
  Linux nrecord.log - Commit Log Writes Immediately Not Delayed Buffer Writer LinuxDVR 10 2,160 2022-11-14, 10:02 PM
Last Post: sub
  Q's about hardware requirements and Linux johnm0101 6 2,040 2022-11-06, 12:40 PM
Last Post: NumberFive
  Windows and Linux communicating NinthWave 3 1,411 2021-10-07, 03:50 PM
Last Post: sub
  Upgrading m3u? mwkurt 3 1,275 2020-12-12, 01:20 PM
Last Post: mvallevand
  Can't detect Hauppage 950Q [Linux] thejollyreaper 5 1,862 2020-08-27, 07:24 PM
Last Post: mvallevand
  Channel Order on Linux Englishman 13 4,409 2020-06-04, 01:56 AM
Last Post: sub
  upgrading to version 5.0 MaxOne72 10 3,157 2020-04-30, 02:15 AM
Last Post: sub
  EPG /Docker/Linux/Window Paulo 14 5,398 2020-01-14, 11:27 PM
Last Post: Paulo

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

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

Linear Mode
Threaded Mode