Comments (2)
This helps, indeed. Had to execute the following script's within the icinga-container to make it work without errors
mysql --host=icinga_db --user=root --password=my_secret_pass icinga2idomysql < /usr/share/icinga2-ido-mysql/schema/upgrade/2.0.2.sql
mysql --host=icinga_db --user=root --password=my_secret_pass icinga2idomysql < /usr/share/icinga2-ido-mysql/schema/upgrade/2.1.0.sql
mysql --host=icinga_db --user=root --password=my_secret_pass icinga2idomysql < /usr/share/icinga2-ido-mysql/schema/upgrade/2.2.0.sql
mysql --host=icinga_db --user=root --password=my_secret_pass icinga2idomysql < /usr/share/icinga2-ido-mysql/schema/upgrade/2.3.0.sql
mysql --host=icinga_db --user=root --password=my_secret_pass icinga2idomysql < /usr/share/icinga2-ido-mysql/schema/upgrade/2.4.0.sql
mysql --host=icinga_db --user=root --password=my_secret_pass icinga2idomysql < /usr/share/icinga2-ido-mysql/schema/upgrade/2.5.0.sql
mysql --host=icinga_db --user=root --password=my_secret_pass icinga2idomysql < /usr/share/icinga2-ido-mysql/schema/upgrade/2.6.0.sql
mysql --host=icinga_db --user=root --password=my_secret_pass icinga2idomysql < /usr/share/icinga2-ido-mysql/schema/upgrade/2.8.0.sql
mysql --host=icinga_db --user=root --password=my_secret_pass icinga2idomysql < /usr/share/icinga2-ido-mysql/schema/upgrade/2.8.1.sql
mysql --host=icinga_db --user=root --password=my_secret_pass icinga2idomysql < /usr/share/icinga2-ido-mysql/schema/upgrade/2.11.0.sql
mysql --host=icinga_db --user=root --password=my_secret_pass icinga2idomysql < /usr/share/icinga2-ido-mysql/schema/upgrade/2.12.7.sql
mysql --host=icinga_db --user=root --password=my_secret_pass icinga2idomysql < /usr/share/icinga2-ido-mysql/schema/upgrade/2.13.0.sql
mysql --host=icinga_db --user=root --password=my_secret_pass icinga2idomysql < /usr/share/icinga2-ido-mysql/schema/upgrade/2.13.3.sql
It gave some errors about some columns already existing, but that's ok..
from icinga2.
Hi @preske87
Sorry about that, this is another example where the image expects the user to do some manual updates when moving to newer versions of icinga2 as it would be nightmare to handle the different versions a user might be upgrading from, etc. Please see: https://icinga.com/docs/icinga-2/latest/doc/16-upgrading-icinga-2/
The database schema part in particular. Hope that helps!
from icinga2.
Related Issues (20)
- having issues with mail HOT 3
- Adding Vsphere Module HOT 5
- Cant restart an exited container HOT 11
- Your MySQL Database Server is running currently inside the icinga2 container. In future, the MySQL will be located in a separate container by default. HOT 22
- Corrupt File? HOT 5
- No Graphs from graphite for 12 hours or more (Days, Weeks, Months and Years) HOT 6
- Permissions building the image HOT 2
- Additional App HOT 1
- DockerFile issue: Access denied for user root (using password NO) HOT 16
- have issue with check_http HOT 9
- Director supervisor script should not run when director is disabled HOT 7
- mail notification problem HOT 7
- Environment variable to specify icinga2 `log-level` HOT 7
- Class 'Icinga\Util\Translator' not found HOT 4
- permission error on /var/cache/icinga2 folder under Windows HOT 1
- Weird behaviour when mounting /etc/icinga2/* HOT 8
- Documentation mismatch HOT 1
- Dockerfile: deb http://packages.icinga.org/debian does not exist anymore (?) HOT 2
- MySQL user 'root' has no password HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from icinga2.