Giter Site home page Giter Site logo

Errors after upgrade about icinga2 HOT 2 CLOSED

preske87 avatar preske87 commented on September 16, 2024
Errors after upgrade

from icinga2.

Comments (2)

preske87 avatar preske87 commented on September 16, 2024 1

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.

jjethwa avatar jjethwa commented on September 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.