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 2 3 4 5 … 34 Next »
Can't connect to http://127.0.0.1:8866/ on Ubuntu 20.04

 
  • 0 Vote(s) - 0 Average
Can't connect to http://127.0.0.1:8866/ on Ubuntu 20.04
donbrew
Offline

Member

Posts: 120
Threads: 22
Joined: Mar 2014
#11
2022-08-17, 02:26 AM
The installer set the dotnet permissions to 744 (IIRCC). I guess just setting to 754 would have worked.
It was basically set for root only execute since it was installed with sudo.

In re reading the original post I see that the error there was "no such file" mine was "no permission". So, not the same problem, but this thread led me to my solution.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,953
Threads: 956
Joined: May 2006
#12
2022-08-17, 02:31 AM
Did you install as the root userid? That is not supported.

Martin
donbrew
Offline

Member

Posts: 120
Threads: 22
Joined: Mar 2014
#13
2022-08-17, 03:55 AM
I tried to, but it stopped because it is not supported so I started over as a regular user using sudo like the directions say. I did not purge though. I guess when I tried to install as root some stuff got left behind.

Fixed now
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,953
Threads: 956
Joined: May 2006
#14
2022-08-17, 06:22 PM
I tried as sudo su (on Ubuntu) and the permissions where fine, 755

The commands that the installer runs when dpkg is sudo

Code:
curl -L https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.sh -o /tmp/dotnet-install.sh
/tmp/dotnet-install.sh --channel 2.2 --runtime dotnet -InstallDir /opt/dotnet

Maybe change the InstallDir to test on another folder and see what happens on your distro.

Martin
Mickey690
Offline

Junior Member

Canada
Posts: 3
Threads: 0
Joined: Nov 2024
#15
2024-11-10, 11:47 PM
Hi

I'm having a similar issue on Ubuntu 24.04.1LTS

The service is running but when trying to open the webapp 127.0.0.1:8866 I just get wepage not found.

Code:
nextpvr-server.service - NextPVRServer
     Loaded: loaded (/usr/lib/systemd/system/nextpvr-server.service; enabled; p>
     Active: active (running) since Sun 2024-11-10 16:37:47 MST; 6min ago
    Process: 562403 ExecStart=/opt/nextpvr/shell/server.sh start (code=exited, >
   Main PID: 562406 (dotnet)
      Tasks: 25 (limit: 18941)
     Memory: 46.5M (peak: 47.3M)
        CPU: 1.314s
     CGroup: /system.slice/nextpvr-server.service
             └─562406 /opt/dotnet/dotnet /opt/nextpvr/system/NextPVRServer.dll

Nov 10 16:37:45 Server systemd[1]: Starting nextpvr-server.service - NextPV>
Nov 10 16:37:47 Server server.sh[562403]: Starting server..Done. PID=562406
Nov 10 16:37:47 Server systemd[1]: Started nextpvr-server.service - NextPVR>

I have removed it fully using the uninstall instructions and re-installed. I have also tried the docker method with the same results (although I don't have any experience with docker).
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,953
Threads: 956
Joined: May 2006
#16
2024-11-11, 12:45 AM (This post was last modified: 2024-11-11, 12:46 AM by mvallevand.)
It's not the same problem at all your server is active. However I have no experience as yet with 24.04 i like LTS versions.

Are you running a desktop Linux and trying to use the same machine? If not you need to use the IP of your server. If it is from the desktop
from the command line check your firewall and any VPN you have running and then you can try the following and see if the return data or an error

Code:
curl -v  http://127.0.0.1:8866/
curl -v  http://localhost:8866/
curl -v  http://[::1]:8866/

run

sudo service nextpvr-server stop

then

cd ~
zip logs4nextpvr /var/opt/nextpvr/logs

and upload the created zip file.

Martin
Mickey690
Offline

Junior Member

Canada
Posts: 3
Threads: 0
Joined: Nov 2024
#17
2024-11-11, 04:23 PM
This version is an LTS

I did all the things you suggested each gave an error. It is a desktop environment i'm running. I have forwarded the port on my router the same as I do for Sonarr, radarr etc. There is no firewall running on the machine I checked that first. I don't run a VPN on the machine either.

Code:
User@Server:~$ curl -v  http://127.0.0.1:8866/
*   Trying 127.0.0.1:8866...
* Connected to 127.0.0.1 (127.0.0.1) port 8866
> GET / HTTP/1.1
> Host: 127.0.0.1:8866
> User-Agent: curl/8.5.0
> Accept: */*
>
< HTTP/1.1 500 Internal Server Error
< Content-Length: 0
< Date: Mon, 11 Nov 2024 16:06:55 GMT
< Server: Kestrel
<
* Connection #0 to host 127.0.0.1 left intact
User@Server:~$ curl -v  http://localhost:8866/
* Host localhost:8866 was resolved.
* IPv6: ::1
* IPv4: 127.0.0.1
*   Trying [::1]:8866...
* Connected to localhost (::1) port 8866
> GET / HTTP/1.1
> Host: localhost:8866
> User-Agent: curl/8.5.0
> Accept: */*
>
< HTTP/1.1 500 Internal Server Error
< Content-Length: 0
< Date: Mon, 11 Nov 2024 16:07:12 GMT
< Server: Kestrel
<
* Connection #0 to host localhost left intact
User@Server:~$ curl -v  http://[::1]:8866/
*   Trying [::1]:8866...
* Connected to ::1 (::1) port 8866
> GET / HTTP/1.1
> Host: [::1]:8866
> User-Agent: curl/8.5.0
> Accept: */*
>
< HTTP/1.1 500 Internal Server Error
< Content-Length: 0
< Date: Mon, 11 Nov 2024 16:07:25 GMT
< Server: Kestrel
<
* Connection #0 to host ::1 left intact


Attached Files
.zip   logs4nextpvr.zip (Size: 192 bytes / Downloads: 4)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,953
Threads: 956
Joined: May 2006
#18
2024-11-11, 05:57 PM
Sorry I was confused, I am running 24.04 with no issues

Do you remember if the original install finished, some people of trouble when either the run as root or have when they install from there home folder and not tmp and get an apt error  Since there are no logs it files it could be permission error given the 500 error

From the same .deb pack try running  sudo dpkg -i ./nextpvr-help.deb

Martin
satforall
Offline

Member

Ireland
Posts: 149
Threads: 3
Joined: Aug 2022
#19
2024-11-11, 07:00 PM
Some other service is grabbing port 80. Run

netstat -a | less

to find out what.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,953
Threads: 956
Joined: May 2006
#20
2024-11-11, 07:12 PM
NextPVR doesn't use port 80, tcp 8866 (configurable) which is connecting and udp 16891 (can be disabled). If the server couldn't be started I would still expect a log to be written.

Marti
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Ubuntu Server /nextpvr/ emby dedwards 1 685 2023-12-09, 02:21 PM
Last Post: mvallevand
  Ubuntu 22.04 - NextPVR Scan Issues (Singapore DVBT2) idefixrc 2 809 2023-11-10, 01:06 AM
Last Post: idefixrc
  NextPVR on Ubuntu 22.04 adwsail 29 4,284 2023-08-30, 07:51 PM
Last Post: mvallevand
  EPG Not Updating on Fresh Ubuntu Install Frustrated Aussie 4 1,521 2023-03-24, 12:12 AM
Last Post: Frustrated Aussie
  HTTP ERROR 500 PJosses 17 2,081 2023-02-16, 05:17 PM
Last Post: PJosses
  Ubuntu 22.04 - can't install NextPVR PJosses 4 2,008 2022-11-10, 08:12 PM
Last Post: PJosses
  Is there a way to install the previous version on Ubuntu 20.04? cptrohn 2 1,173 2022-10-10, 10:16 PM
Last Post: cptrohn
  Initial Installation on Ubuntu 22.04 martini 2 1,556 2022-09-26, 05:01 PM
Last Post: sub
  Can't connect to http://127.0.0.1:8866/ on Xubuntu 22.04 rakircher 62 7,712 2022-07-08, 02:36 AM
Last Post: sub
  Change 8866 port? Abdul Rauuf 2 932 2022-06-28, 03:06 AM
Last Post: Abdul Rauuf

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

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

Linear Mode
Threaded Mode