Just another "403 Forbidden" issue?
Added by Axel Suppantschitsch almost 2 years ago
Hi,
I am desperate. I haven't changed anything about my current TVH setup that is using 4.3-2120~g18effa8ad~jammy. I run a setup with satip-axe, which works flawlessly. My Kodi setup works, using the users and credentials for htsp streaming.
However, I cannot access my admin interface anymore. I keep getting those 403 errors after signing in with the "admin" user. I googled for a day now, tried the "-C" parameter, deleted cookies, restarted web browsers, used different web browsers, checked the file system permissions of the "hts" user, etc. But nothing! I keep getting those 403s...
Could you please help me with your ideas and suggestions? Thanks!
Best regards.
Replies (11)
RE: Just another "403 Forbidden" issue?
-
Added by saen acro almost 2 years ago
Do you try with superuser?
RE: Just another "403 Forbidden" issue?
-
Added by Axel Suppantschitsch almost 2 years ago
Thanks for the hint. I just stopped the "tvheadend" service via "systemctl" and started "tvheadend" as "root" from the command line and it worked. I could access the admin interface. There is obviously an issue with the "hts" permissions.
As I use 4.3-2120~g18effa8ad~jammy, I also tried to reinstall the latest ubuntu tvheadend package via "apt reinstall tvheadend". I am still getting 403 errors...
RE: Just another "403 Forbidden" issue?
-
Added by saen acro almost 2 years ago
Wrong
ps aux |grep tvheadend
see command with service use to run it.
stop service
sudo command -C
see permission's of administrator in TVH
ctrl+c
run service again
RE: Just another "403 Forbidden" issue?
-
Added by Axel Suppantschitsch almost 2 years ago
root@xyz:~# ps aux |grep tvheadend hts 11716 0.6 1.0 1999464 40384 ? Ssl May26 7:15 /usr/bin/tvheadend -f -p /run/tvheadend.pid -u hts -g video root 47675 0.0 0.0 9076 2336 pts/1 S+ 10:29 0:00 grep --color=auto tvheadend root@xyz:~# systemctl stop tvheadend.service root@xyz:~# sudo /usr/bin/tvheadend -f -p /run/tvheadend.pid -u hts -g video -C root@xyz:~# ps aux |grep tvheadend hts 47925 5.4 0.8 1069396 32248 ? Ssl 10:34 0:00 /usr/bin/tvheadend -f -p /run/tvheadend.pid -u hts -g video -C root 47979 0.0 0.0 9076 2336 pts/1 R+ 10:34 0:00 grep --color=auto tvheadend
Unfortunately, this also leads to a "403 Forbidden" error after logging in as "admin". So, I can't see the permissions of "admin" in TVH.
RE: Just another "403 Forbidden" issue?
-
Added by saen acro almost 2 years ago
With -C you bypass login
then go to your "Admin"account and see it's settings are set OK
RE: Just another "403 Forbidden" issue?
-
Added by Axel Suppantschitsch almost 2 years ago
Sorry, but -C does not work for me. TVH will anyway ask for credentials and end up in a 403.
However, studying the debug options [[https://docs.tvheadend.org/Appendices/command_line_options/#debug-options]] I found a switch that did the trick for me:
--noacl Disable all access control checks
After adding "--noacl" I could log in without credentials and without 403 to fix the permissions.
Sean acro: Thanks for your support!
RE: Just another "403 Forbidden" issue?
-
Added by Jonas Lang almost 2 years ago
Did you check the FAQ’s before posting here. All that is explained https://tvheadend.org/projects/tvheadend/wiki/Faq
RE: Just another "403 Forbidden" issue?
-
Added by Axel Suppantschitsch almost 2 years ago
Well, as initially written I googled about a day before posting, but obviously missed that.
RE: Just another "403 Forbidden" issue?
-
Added by Jonas Lang almost 2 years ago
You can nearly be sure that if you experience a problem in TVH someone else has and there’s a solution already out there. A lot of people criticise the documentation but you’ll usually find the answer there.
RE: Just another "403 Forbidden" issue?
-
Added by joe blow almost 2 years ago
"You can nearly be sure that if you experience a problem in TVH someone else has and there’s a solution already out there. A lot of people criticise the documentation but you’ll usually find the answer there."
You need to have a look at the MANY unanswered questions that have been posted on this forum, with people that have problems.
I for one have posted a known BUG issue, with ZERO suggestions on how to solve, by the way the bug was supposedly "fixed" Updated by Jaroslav Kysela over 7 years ago
Status changed from New to Fixed
I believe its fixed in the recent code.
RE: Just another "403 Forbidden" issue?
-
Added by Jonas Lang almost 2 years ago
joe blow wrote:
"You can nearly be sure that if you experience a problem in TVH someone else has and there’s a solution already out there. A lot of people criticise the documentation but you’ll usually find the answer there."
You need to have a look at the MANY unanswered questions that have been posted on this forum, with people that have problems.
I for one have posted a known BUG issue, with ZERO suggestions on how to solve, by the way the bug was supposedly "fixed" Updated by Jaroslav Kysela over 7 years agoStatus changed from New to Fixed
I believe its fixed in the recent code.
Development of TVH ceased a number of years back. Outside of some maintenance commits little or nothing new has been added. As a result interest in the forum has fallen away too.
Most of the reported problems relate to basic lack of knowledge of the workings of TVH which are easily answered with a search. It’s know what to search for is the trick.