Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-16583

No php7-fileinfo in alpine docker container

    XMLWordPrintable

Details

    • Incident report
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 4.2.6
    • None
    • Frontend (F)
    • None

    Description

      Steps to reproduce:

      Run new docker container zabbix-web-nginx-mysql:alpine-4.2.6, login to zabbix, go to user profile:

       

      Result:

      Fatal error: Uncaught Error: Call to undefined function mime_content_type() in /usr/share/zabbix/include/sounds.inc.php:27 Stack trace: #0 /usr/share/zabbix/include/views/administration.users.edit.php(345): getSounds() #1 /usr/share/zabbix/include/classes/mvc/CView.php(199): include('/usr/share/zabb...') #2 /usr/share/zabbix/profile.php(189): CView->render() #3 {main} thrown in /usr/share/zabbix/include/sounds.inc.php on line 27

      Expected:

      {{docker exec -it zabbix-web bash
      apk add php7-fileinfo
      exit
      docker restart zabbix-web}}

      Attachments

        Issue Links

          Activity

            People

              dotneft Alexey Pustovalov
              teplik Andrey Teplitskiy
              Votes:
              4 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: