Project

General

Profile

Can't login

Added by Anonymous over 8 years ago

Hello everyone.

Installed tvh, everything works fine, except I cannot login with username/login into webui.
After reading logs I'm finding such error:
[ERROR]:access: No access entries loaded

Installed it in FreeNAS jail.
Version 4.2.3

Any clue why it's happening and how to solve it?


Replies (6)

RE: Can't login - Added by Mark Clarkstone over 8 years ago

Run tvheadend with the --noacl option & add an account (restart without --noacl afterwards).

Or create a backdoor superuser.

HTH

RE: Can't login - Added by saen acro over 8 years ago

How you start it?
Is there command line?

tvheadend -C

  -C, --firstrun              If no user account exists then create one with
                              no username and no password. Use with care as
                              it will allow world-wide administrative access
                              to your Tvheadend installation until you create or edit
                              the access control from within the Tvheadend web interface.

RE: Can't login - Added by Anonymous over 8 years ago

Mark Clarkstone wrote:

Run tvheadend with the --noacl option & add an account (restart without --noacl afterwards).

Or create a backdoor superuser.

HTH

Usernames I've created before, while accessing webui using tvheadstart -C.
Tried to create superuser - but still dont solve the issue.

I don't get it why accesscontrol is not loading at all.

RE: Can't login - Added by Anonymous over 8 years ago

saen acro wrote:

How you start it?
Is there command line?
[...]

I can start as a daemon obviously, but as it didn't let me create users, so done that with tvheadend -C option.
Forgot to mention tvh is running as root if that changes anything.

RE: Can't login - Added by Mark Clarkstone over 8 years ago

Try switching to the hts user (you can do this on deb using sudo -u hts bash - no clue about fbsd) and touching inside the config/accesscontrol dir. If that fails it's a folder permissions issue.

RE: Can't login - Added by Anonymous over 8 years ago

Good call, but thought of that too, so made all permissions 777 recursively. Out of ideas, really.

    (1-6/6)