-
Notifications
You must be signed in to change notification settings - Fork 189
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
Icinga2 ended ... Failed! #218
Comments
Hi @Maxwell-Mc Is this using latest? Are you using an external database? |
I'm using an external mysql with your compose yml and yes latest. |
Thanks for the information. If this is a brand new setup, make sure you've run through all of the MySQL/MariaDB SQL scripts. If it's an upgrade, you just need to run the upgrade scripts. new: https://icinga.com/docs/icinga2/latest/doc/02-installation/#setting-up-the-mysql-database |
But doesn't your repository contain scripts that import the database schemas? Shouldn't a docker-compose up -d bring it all up? |
Yes, the initial setup should all be taken care of, but upgrades are a bit more complicated |
Hello Jordan, |
That's correct, the database upgrade scripts will need to be run manually when updating to new versions 😄 |
Hi Is this using latest? Are you using an external database? I am not using any external DB, I am still facing the same issue |
Hi @jhaumanath If you are receiving the error when upgrading to newer versions of the container, you to need to run the database upgrade scripts manually. Unfortunately, there's no way to automate that part |
my docker logs are :
Starting icinga2 monitoring daemon in foreground.,
[2020-01-29 15:42:54 +0000] information/cli: Icinga application loader (version: r2.10.3-1),
[2020-01-29 15:42:54 +0000] critical/cli: Another instance of Icinga already running with PID 1709,
icinga2 ended ... failed!,
ERROR: Zend_Db_Statement_Exception in /usr/share/icingaweb2/library/vendor/Zend/Db/Statement/Pdo.php:225 with message: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'icingaweb2_director.icinga_apiuser' doesn't exist, query was: SELECT icinga_apiuser.* FROM icinga_apiuser WHERE (object_name = 'icinga2-director'),
2020-01-29 15:42:57,663 INFO exited: icinga2 (exit status 1; not expected),
2020-01-29 15:42:58,669 INFO spawned: 'icinga2' with pid 5088,
checking Icinga2 configuration2020-01-29 15:42:59,706 INFO success: icinga2 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs),
can you help me understand this?
The text was updated successfully, but these errors were encountered: