icinga/icingaweb2 on dockerhub needs updated ipl-web module
Closed this issue ยท 8 comments
This seemed the most appropriate place to post an issue with an icinga dockerhub image https://hub.docker.com/r/icinga/icingaweb2
error when running icingaweb2:
Declaration of ipl\Web\Compat\CompatController::setAutorefreshInterval($interval) should be compatible with Icinga\Web\Controller\ActionController::setAutorefreshInterval($interval, $bypassUserPreferences = false)
This is fixed in the current ipl-web
Icinga/ipl-web@3244005
For now, you can workaround by mounting the updated ipl-web in the container
git clone https://github.com/lippserd/docker-compose-icinga.git
cd docker-compose-icinga
git clone https://github.com/Icinga/ipl-web.git
add to docker-compose.yml:
services:
...
icingaweb:
...
volumes:
- icingaweb:/data
- ./ipl-web/src:/usr/share/icingaweb2/modules/ipl/vendor/ipl/web/src
Hi @Al2Klimov,
I reproduced this by using the docker-compose.yml linked in this official icinga blog article:
https://icinga.com/blog/2020/08/06/docker-compose-icinga/
This link leads to the docker-compose.yml from the article
The images used have not always a tag assigned:
image: icinga/icinga2
image: icinga/icingadb:master
image: icinga/icingaweb2:master
image: mysql
image: redis
I'm sorry, but the :master tags aren't necessarily stable. Please try :latest (no tag).
Hi @Al2Klimov,
icinga/icingadb
and
icinga/icingaweb2
do not seem to have a published latest tag.
Here are the published tags from dockerhub:
- https://registry.hub.docker.com/r/icinga/icingadb/tags
- master
- https://registry.hub.docker.com/r/icinga/icingaweb2/tags
- master
- database-configuration-backend-3770
OK, for Icinga DB :master should be fine for now. For Icinga Web 2 please file an issue. AFAIK they promised to have a :latest tag.
Thanks, I opened https://github.com/Icinga/icingaweb2/issues/4294 ๐
Hi @Al2Klimov,
I reproduced this by using the docker-compose.yml linked in this official icinga blog article:
https://icinga.com/blog/2020/08/06/docker-compose-icinga/This link leads to the docker-compose.yml from the article
The images used have not always a tag assigned:
image: icinga/icinga2 image: icinga/icingadb:master image: icinga/icingaweb2:master image: mysql image: redis
This is the docker-compose file I was using - sorry I forgot to mention that previously.
There's now a latest, 2.8 and 2.8.2 tag. Please use either. We tackle the dependency problems on master
in a different issue now.