No php7-fileinfo in alpine docker container

XMLWordPrintable

    • Type: Incident report
    • Resolution: Fixed
    • Priority: Trivial
    • None
    • Affects Version/s: 4.2.6
    • Component/s: Frontend (F)
    • None

      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}}

            Assignee:
            Alexey Pustovalov
            Reporter:
            Andrey Teplitskiy
            Votes:
            4 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: