Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

403 Forbidden, although required permissions are set #67

Open
klour opened this issue Mar 26, 2024 · 4 comments
Open

403 Forbidden, although required permissions are set #67

klour opened this issue Mar 26, 2024 · 4 comments

Comments

@klour
Copy link

klour commented Mar 26, 2024

When I try to access the dashboard, I get a 403 error message.
I used the installer script. Tricky and not yet mature, but at the end I managed to run the installer without error messages and with confirmation that permissions could be set.

The folder permissions are all set correctly by the installer.
The ls -la command shows that the subfolder is owned by my user, belonging to www-data group. Same counts for the contents of the dashboard folder. So this should be fine.

Therefore I am not sure, what the root cause is. Something related to lighttpd config?
Usually I do not have such issues while installing the dashboard.

I also tried to restart the webserver.

@harshkus
Copy link

I am having the same issue, getting "Forbidden" when I try to access the suggested address for the dashboard. Have installed php and apache as well but that did not work for me. Tried to solve the issue but no success, if someone has any idea about this please make a tutorial. I am running a AdGuardHome+Unbound setup on my raspberry pi.

@femto-code
Copy link
Owner

Hi, I am sorry for my late response. Have you figured out the problem yet? In case not, let me ask a few questions in order to help you solve the permission problem.

@klour First, what OS version are you using? Which version of Lighttpd and PHP? From what you said, it might be a configuration issue with PHP and Lighttpd. Please let me know how you initially set up PHP.

@harshkus Please provide the same details as mentioned above.

Thanks for your patience! I will update the installer very soon to include more error checks. I am happy to assist you to fix this permission issue in the meantime!

@nungsorb
Copy link

@femto-code I've faced the same problem...
So, what OS version are you using?

Distributor ID:	Debian
Description:	Debian GNU/Linux 12 (bookworm)
Release:	12
Codename:	bookworm

Which version of Lighttpd and PHP?
lighttpd/1.4.69 (ssl) - a light and fast webserver which comes with Pi-hole.

@femto-code
Copy link
Owner

@nungsorb There seems to be a problem with PHP accessing the dashboard files. This is probably due to incorrect permissions set. Please share the output of ls -la within the folder where you installed the dashboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants