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

How to install? #187

Open
Nurlan199206 opened this issue Nov 23, 2018 · 4 comments
Open

How to install? #187

Nurlan199206 opened this issue Nov 23, 2018 · 4 comments

Comments

@Nurlan199206
Copy link

How to install? Poor documentation didnt help.

We have issues getting the authdb working: Exception: Unable to open database: unable to open database file in /var/www/html/nsedit/includes/misc.inc.php:65 Stack trace: #0 /var/www/html/nsedit/includes/misc.inc.php(65): SQLite3->__construct('../etc/pdns.use...', 6) #1 /var/www/html/nsedit/includes/session.inc.php(4): include_once('/var/www/html/n...') #2 /var/www/html/nsedit/index.php(4): include_once('/var/www/html/n...') #3 {main}

my pdns.conf

webserver=yes
api=yes
api-key=test
$apipass = 'test';           # The PowerDNS API-key
$apiip   = '127.0.0.1';           # The IP of the PowerDNS API
$apiport = '8081';       # The port of the PowerDNS API
$apiproto      = 'http'; # http | https
$apisslverify  = FALSE;  # Verify SSL Certificate if using https for apiproto
$allowzoneadd  = FALSE;  # Allow normal users to add zones
$logging = TRUE;
$allowclearlogs = TRUE;  # Allow clearing of log entries
$allowrotatelogs = FALSE;# Allow rotation to text file on server
@Nurlan199206
Copy link
Author

any help?

i'm installed, but default admin/admin not working Error while trying to authenticate you

@righter83
Copy link

Where is your "$authdb" in the config.inc.php.
With this option you can define where the authdb is stored.

@UlasSAYGINIM
Copy link

hi , i encountered same problem. when i looked var_dump($userinfo); it shows bool(false) ; at do_db_auth function.
somehow , psql lite file created but admin account was not added.
i dont know how it can be reproduce.

@UlasSAYGINIM
Copy link

I think it is related to php extension openssl compilation.
I firstly started nsedit without openssl support for php. it warned me than i installed and restart all services nginx php and then i t showed no warning, then i try to login and it showed error message.

all i have to do
rm -rf pdns.users.sqlite3 file then visit nsedit url then it started login without problem.

i think if there is no openssl support it does not create admin account in sqlite file but it creates empty database without account.

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

3 participants