Closed yppdr closed 1 year ago
Hi,
This is a "funny" one. When the container starts, it checks if there is tables in the database. If not, it import the scheme. In my case, I had powerdns-admin running as a separate container. It seems like powerdns-admin had initialized the database before "pdns" has run hence it didn't import the schema because powerdns-admin had already populated the database ....
i did:
docker exec -it
had a loot at the docker-entrypoint script and did some echo'ing of the vars to see where it failed.
Steps to fix:
Hey guys, thanks for the report. Pdns-admin doesn't have the domains
table, but pdns does. Make sure that you are not using the same db for both, pdns and pdns-admin. You can share mysql instance, but with different dbs inside, ie powerdns
for pdns and powerdnsadmin
for pdns-admin, I think these are the default.
Hi ! I just installed the stack on a brand new docker and I find myself unable to add a domain, it returns me a 400. Could you help me to solve the problem ?
Log :