NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support v
« Previous 1 … 5 6 7 8 9 … 43 Next »
Suddenly can't login to web app

 
  • 0 Vote(s) - 0 Average
Suddenly can't login to web app
SamM
Offline

Member

United States
Posts: 102
Threads: 28
Joined: Jun 2020
#21
2020-07-28, 11:49 PM (This post was last modified: 2020-07-28, 11:51 PM by SamM.)
I've rebooted several times. I tried Chrome, nothing seems to work. I take it the log files don't reveal anything? Maybe I need to install v.4?
sm
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,777
Threads: 954
Joined: May 2006
#22
2020-07-29, 12:03 AM
In Chrome if you open developer mode with F12 and type http://localhost:8866/ do you seen any error messages?

F12 again will turn it off

Martin
SamM
Offline

Member

United States
Posts: 102
Threads: 28
Joined: Jun 2020
#23
2020-07-29, 12:24 AM (This post was last modified: 2020-07-29, 12:58 AM by SamM.)
I don't see anything that looks like errors to me. See attached - it's what I see after attempting login. If I reinstall it, do I need to use the default login?
sm

PS I tried the default login, and IT WORKED. Somehow it reverted back to default login. What can cause this (I didn't reinstall).
sm

PPS Ok, so I updated to 5.0.7. And had to redo some of my settings. Is this to be expected every time it's updated to the new version?
sm


Attached Files Thumbnail(s)
   
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#24
2020-07-29, 01:23 AM
(2020-07-29, 12:24 AM)SamM Wrote: PS I tried the default login, and IT WORKED. Somehow it reverted back to default login. What can cause this (I didn't reinstall).
sm
If somehow your config.xml is corrupted (like you machine powered off while writing to it, or bad disk), it can restore to a default copy of the config file.

Quote:PPS Ok, so I updated to 5.0.7. And had to redo some of my settings. Is this to be expected every time it's updated to the new version?
sm
No, settings are retained between updates, and you normally wouldn't have to redo any settings. If you config.xml has been recreated though, this could explain some settings returning to their defaults, and needing to be reset.
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#25
2020-07-29, 10:34 AM (This post was last modified: 2020-07-29, 10:35 AM by Graham.)
(2020-07-29, 01:23 AM)sub Wrote:
(2020-07-29, 12:24 AM)SamM Wrote: PS I tried the default login, and IT WORKED. Somehow it reverted back to default login. What can cause this (I didn't reinstall).
sm
If somehow your config.xml is corrupted (like you machine powered off while writing to it, or bad disk), it can restore to a default copy of the config file.

Sub

Has there been at least one previous similar thread?

Should the password and username be stored somewhere a bit more robust that config.xml?

Could the username and password have their own file such as, for example ... userpass.xml ... Could there be a ... userpass-master.xml ... that a user could copy over userpass.xml to do a password reset?

Could the login screen display a messsage that says ... Username and password have default values ... when that is true?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#26
2020-07-29, 09:28 PM
Hmm, I'm not sure if we've really seen anything to indicate there is a problem. This same config.xml stuff has been in use and pretty damn reliable since like 2008-ish?

We're not really sure that was what his problem was. Occasionally issues like this are users forgetting what they changed a password to, or manually editing config files and messing up.
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,666
Threads: 170
Joined: Jun 2007
#27
2020-07-29, 09:41 PM
(2020-07-29, 10:34 AM)Graham Wrote:
(2020-07-29, 01:23 AM)sub Wrote:
(2020-07-29, 12:24 AM)SamM Wrote: PS I tried the default login, and IT WORKED. Somehow it reverted back to default login. What can cause this (I didn't reinstall).
sm
If somehow your config.xml is corrupted (like you machine powered off while writing to it, or bad disk), it can restore to a default copy of the config file.

Sub

Has there been at least one previous similar thread?

Should the password and username be stored somewhere a bit more robust that config.xml?

Could the username and password have their own file such as, for example ... userpass.xml ... Could there be a ... userpass-master.xml ... that a user could copy over userpass.xml to do a password reset?

Could the login screen display a messsage that says ... Username and password have default values ... when that is true?

(2020-07-29, 09:28 PM)sub Wrote: Hmm, I'm not sure if we've really seen anything to indicate there is a problem. This same config.xml stuff has been in use and pretty damn reliable since like 2008-ish?

We're not really sure that was what his problem was. Occasionally issues like this are users forgetting what they changed a password to, or manually editing config files and messing up.
There have definitely been cases in the past (with v4) where the config.xml got corrupted and the NextPVR service wouldn't start up properly.

I don't specifically recall seeing that problem with v5, but would guess it could still be a "problem". It may be that with v5 you changed it so that if the config.xml was corrupted, rather than hanging or dying, it would automatically copy over the default config.xml and then start up. The problem with that scenario is that if the user doesn't know about, they may be unable to log in, recordings may go to the wrong directories, etc. Also, not ideal.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#28
2020-07-29, 10:20 PM
(2020-07-29, 09:41 PM)BrettB Wrote: It may be that with v5 you changed it so that if the config.xml was corrupted, rather than hanging or dying, it would automatically copy over the default config.xml and then start up. The problem with that scenario is that if the user doesn't know about, they may be unable to log in, recordings may go to the wrong directories, etc. Also, not ideal.
It's just the same as v4.

If there is no existing config.xml, or the existing one is zero bytes long, it'll create a new config.xml file form the master.

If there is an existing file, with data in it, but it is invalid, the file will be renamed config-broken.xml, and a new one file created, so the application can be started.

It's not entirely fail proof, but config.xml has been pretty reliable for us over the years. A full c:\ drive can increase your odds of issues.
jobby99
Offline

Junior Member

USA
Posts: 47
Threads: 12
Joined: Nov 2018
#29
2022-10-19, 02:04 AM
(2020-05-13, 04:07 AM)sub Wrote: Stop the NextPVR Service.

Edit the c:\users\public\NPVR-data\config.xml file, to set the following in the <WebServer> section:

    <Username>admin</Username>
    <Password>5f4dcc3b5aa765d61d8327deb882cf99</Password>

then restart the NextPVR Service

Thank you!!  Fixed the problem.  Don't know what the alphanumericals mean but reset it back to defaults in all browsers.  It was driving me crazy.
---------------------------------------------------------
::: Frank : Akron : OH : USA : Win11 : i5-12600k : 32 GB Ram : Intel A380 : Hauppage Quad Tuner (PCIE and USB) : MCEBuddy->Comskip->H.265 :::
jamessbuzzz
Offline

Junior Member

india
Posts: 1
Threads: 0
Joined: Dec 2022
#30
2022-12-01, 11:52 AM
I can only guess you were trying the wrong password.
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  What"s the username and password in Nextpvr Login Required ? HITFM885 3 1,106 2023-07-01, 02:48 AM
Last Post: HITFM885
  Recording suddenly not shown in web interface xbmcgotham 6 2,200 2022-03-31, 06:15 PM
Last Post: xbmcgotham
  Login Failed cookrd1 1 951 2021-09-01, 11:21 PM
Last Post: sub
  Login MaxOne72 1 899 2021-05-16, 07:04 PM
Last Post: sub
  Editing URL for XC Login? CenturyBreak 2 1,570 2021-03-21, 02:06 AM
Last Post: CenturyBreak
  API Login Failure jcole998 13 3,386 2020-09-27, 09:01 PM
Last Post: sub
  cant login to web client to change settings nogoer 1 4,049 2019-09-27, 09:29 PM
Last Post: donbrew

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

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

Linear Mode
Threaded Mode