I am running a pretty outdated version of the director ( commit 50591213 from Jul’18 ) which I updated yesterday to the latest version of the master-branch ( commit fe53dee2 ).
What I did is moving the outdated director-folder in /usr/share/icingaweb2/modules/ to a save place and clone the repository from github in there (again). That worked so far and the director tells men that There are 12 pending schema migrations.
When I start the migration-command I get the following error - does anybody know how to fix this?
icingacli director migration run --verbose
ERROR: RuntimeException in /usr/share/icingaweb2/modules/director/library/Director/Cli/Command.php:114 with message: Director is not configured correctly
No idea, sorry. I don’t use git master for that very reason of breaking things on upgrade. Maybe @tgelf knows more about this specific commit, or changes in git master causing this.
Guys, I figured it out. It was in fact a DB-Issue. The standard-User, configured in the backend had no owner-rights on the scheme.
Confing the db-owner in the connection-settings (had to make sure director-db is default schema) resulted in success.