Djerk Geurts
Djerk Geurts
I'd like to second this request, and being able to see when an LDAP user last logged in would be real nice.
Has any progress been made on this or can Telegraf not poll PowerDNS (v4.7) via unix_socket?
Just worked it out from this file: ./migrations/versions/0967658d9c0d_add_apikey_account_mapping_table.py It may be worth adding checks to see if the tables exist and if they don't to either prompt the user to...
Absolutely, but for the next person who has the same issue. Could you let me know how migrations can be triggered?
> flask db upgrade Hi, that command fails for me: ``` me@host:~$ cd /var/www/html/pdns/ me@host:/var/www/html/pdns$ sudo -s me@host:/var/www/html/pdns# source ./flask/bin/activate (flask) root@host:/var/www/html/pdns# export FLASK_CONF=./configs/production.py (flask) root@host:/var/www/html/pdns# export FLASK_APP=./powerdnsadmin/__init__.py (flask) root@host:/var/www/html/pdns#...
Sure, here you go: ``` (flask) root@host:/var/www/html/pdns# ls -l $FLASK_APP -rwxr-xr-x 1 root root 4275 Mar 14 16:15 ./powerdnsadmin/__init__.py ``` Removing the './' from FLASK_APP results in the following error:...
Ahh, I had used `../` on both exports instead of `./` before but that didn't work. This did: ``` (flask) root@host:/var/www/html/pdns# export FLASK_CONF=../configs/production.py (flask) root@host:/var/www/html/pdns# export FLASK_APP=powerdnsadmin/__init__.py (flask) root@host:/var/www/html/pdns# flask...
Strangely enough, the issue is back after a git pull to update pdnsadmin. flask db upgrade ran without issue, but I'm getting the following error `MySQLdb._exceptions.ProgrammingError: (1146, "Table 'pwrdns.apikey_account' doesn't...
Found this code, so now resorting to manually creating the table. But for the foreign key options, which should be used? cascade, restrict, no action, or set null? ```def upgrade():...
But after creating the table manually I get a code error: ``` Oct 10 13:28:22 host.domain.com gunicorn[34601]: [2022-10-10 13:28:22,397] [app.py:1891] ERROR - Exception on /dashboard/ [GET] Oct 10 13:28:22 host.domain.com...