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

Lastest release (v0.10) "unable to open file" #22

Closed
aidanc2030 opened this issue Mar 28, 2021 · 3 comments
Closed

Lastest release (v0.10) "unable to open file" #22

aidanc2030 opened this issue Mar 28, 2021 · 3 comments
Labels
permissions Errors/Bugs caused by (missing) permissions
Milestone

Comments

@aidanc2030
Copy link

After a git clone to the /var/www/html directory, going to the URL just comes up with:

Warning: fopen(local.config): failed to open stream: Permission denied in /var/www/html/dash/backend/Config.php on line 13 Unable to open file!

The issue doesn't happen in v0.9.2, so git reset --hard ffe6491a7a1b0228df617751ba592c611d830a58 fixes it for now.

@femto-code femto-code reopened this Mar 28, 2021
@femto-code femto-code added permissions Errors/Bugs caused by (missing) permissions wip labels Mar 28, 2021
@femto-code
Copy link
Owner

femto-code commented Mar 28, 2021

Updated

Thank you for creating this issue!
From what you experience I can imagine a common permission error existing within your /var/www/html folder. This results in the situation where the user responsible for web server (e.g. www-data) does not have rights to create the local config file for saving your dashboard adjustments (your custom thresholds, password etc.).

Please see section Valid permissions on Readme: here

Please try the commands indicated there by running them in a terminal. Hope to be helpful!

@aidanc2030
Copy link
Author

Thanks, that fixed it for me!

@femto-code
Copy link
Owner

femto-code commented Mar 30, 2021

Glad to here!

I will add user-friendly help information for (missing) permissions and a auto-detection in the upcoming v1.0.0 release.

@femto-code femto-code added this to the Version 1.0.0 milestone Mar 30, 2021
@femto-code femto-code pinned this issue Mar 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
permissions Errors/Bugs caused by (missing) permissions
Projects
None yet
Development

No branches or pull requests

2 participants