{"id":356,"date":"2023-05-11T10:26:54","date_gmt":"2023-05-11T08:26:54","guid":{"rendered":"https:\/\/whoami.lausitz-event.info\/?p=356"},"modified":"2023-05-11T10:27:19","modified_gmt":"2023-05-11T08:27:19","slug":"update-icingaweb2","status":"publish","type":"post","link":"https:\/\/whoami.lausitz-event.info\/?p=356","title":{"rendered":"Update Icingaweb2"},"content":{"rendered":"\n\n<p>Wer Module wie Businessprocess oder \u00e4hnlich verwenden m\u00f6chte, kommt um ein Update von Icingaweb2 nicht herum. Da ich beim OS auf Rockylinux 8.x setze, muss ich leider auf ein Update aus den offiziellen Repositories verzichten. Diverse Abh\u00e4ngigkeiten k\u00f6nnen nicht aufgel\u00f6st werden. Daher habe ich mir folgenderma\u00dfen selbst geholfen.<\/p>\n\n\n\n\n\n<p>Das Wichtigste ist ein Backup f\u00fcr alle F\u00e4lle zu erstellen:<\/p>\n\n\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root@localhost] cd \/usr\/share\/icinga-php\n&#91;root@localhost]  tar czpf ipl.tar.gz ipl\/ vendor\/\n&#91;root@localhost]  mv ipl.tar.gz \/root\n&#91;root@localhost]  mv \/usr\/share\/icingaweb2 \/root<\/code><\/pre>\n\n\n\n\n\n<p>Jetzt beginnen wir mit den Updates:<\/p>\n\n\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root@localhost] INSTALL_PATH=\"\/usr\/share\/icinga-php\/ipl\"\n&#91;root@localhost] INSTALL_VERSION=\"stable\/0.10.1\"\n&#91;root@localhost] git clone https:\/\/github.com\/Icinga\/icinga-php-library.git \"$INSTALL_PATH\" --branch \"$INSTALL_VERSION\"<\/code><\/pre>\n\n\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root@localhost] INSTALL_PATH=\"\/usr\/share\/icinga-php\/vendor\"\n&#91;root@localhost] INSTALL_VERSION=\"stable\/0.11.0\"\n&#91;root@localhost] git clone https:\/\/github.com\/Icinga\/icinga-php-thirdparty.git \"$INSTALL_PATH\" --branch \"$INSTALL_VERSION\"<\/code><\/pre>\n\n\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root@localhost] cd \/usr\/share\n&#91;root@localhost] git clone https:\/\/github.com\/Icinga\/icingaweb2.git icingaweb2<\/code><\/pre>\n\n\n\n\n\n<p>Zu guter letzt werden die Module und Icons von der alten Installation kopiert:<\/p>\n\n\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root@localhost] cp -rf \/root\/icingaweb2\/modules\/director \/usr\/share\/icingaweb2\/modules\/\n&#91;root@localhost] cp -rf \/root\/icingaweb2\/modules\/graphite \/usr\/share\/icingaweb2\/modules\/\n&#91;root@localhost] cp -rf \/root\/icingaweb2\/modules\/map \/usr\/share\/icingaweb2\/modules\/\n.\n.\n.\n&#91;root@localhost] cp -rf \/root\/icingaweb2\/public\/img\/icons\/* \/usr\/share\/icingaweb2\/public\/img\/icons\/<\/code><\/pre>\n\n\n","protected":false},"excerpt":{"rendered":"<p>Wer Module wie Businessprocess oder \u00e4hnlich verwenden m\u00f6chte, kommt um ein Update von Icingaweb2 nicht herum. Da ich beim OS auf Rockylinux 8.x setze, muss ich leider auf ein Update aus den offiziellen Repositories verzichten. Diverse Abh\u00e4ngigkeiten k\u00f6nnen nicht aufgel\u00f6st werden. Daher habe ich mir folgenderma\u00dfen selbst geholfen. Das Wichtigste ist ein Backup f\u00fcr alle [&hellip;]<\/p>","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[9,3],"tags":[],"class_list":["post-356","post","type-post","status-publish","format-standard","hentry","category-icinga","category-it"],"_links":{"self":[{"href":"https:\/\/whoami.lausitz-event.info\/index.php?rest_route=\/wp\/v2\/posts\/356","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/whoami.lausitz-event.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/whoami.lausitz-event.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/whoami.lausitz-event.info\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/whoami.lausitz-event.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=356"}],"version-history":[{"count":2,"href":"https:\/\/whoami.lausitz-event.info\/index.php?rest_route=\/wp\/v2\/posts\/356\/revisions"}],"predecessor-version":[{"id":358,"href":"https:\/\/whoami.lausitz-event.info\/index.php?rest_route=\/wp\/v2\/posts\/356\/revisions\/358"}],"wp:attachment":[{"href":"https:\/\/whoami.lausitz-event.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/whoami.lausitz-event.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/whoami.lausitz-event.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}