OMV broken after update

  • hi, i try to update omv from 3.XX this week end, but after that no way to log in.


    I read the forum but i found no answer for my problem.


    Here a few thing for help


    omv-engined -d -f
    PHP Fatal error: Uncaught Error: Call to undefined function mb_detect_encoding() in /usr/share/php/openmediavault/functions.inc:524
    Stack trace:
    #0 /usr/share/php/openmediavault/functions.inc(558): var_utf8_encode('{\n "type": "...')
    #1 /usr/share/php/openmediavault/functions.inc(375): json_decode_safe('{\n "type": "...')
    #2 /usr/share/php/openmediavault/json/file.inc(116): is_json('{\n "type": "...')
    #3 /usr/share/php/openmediavault/json/file.inc(216): OMV\Json\File->validate('{\n "type": "...')
    #4 /usr/share/php/openmediavault/datamodel/manager.inc(62): OMV\Json\File->read()
    #5 /usr/share/openmediavault/engined/inc/30datamodel.inc(23): OMV\DataModel\Manager->load()
    #6 /usr/sbin/omv-engined(345): require_once('/usr/share/open...')
    #7 {main}
    thrown in /usr/share/php/openmediavault/functions.inc on line 524



    dpkg -l | grep openm
    ii openmediavault 3.0.64 all Open network attached storage solution
    ii openmediavault-backup 3.4 all backup plugin for OpenMediaVault.
    ii openmediavault-couchpotato 3.2.2 all OpenMediaVault CouchPotatoServer plugin
    ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive
    ii openmediavault-letsencrypt 3.2 all Generate free and valid SSL certificates for OMV
    ii openmediavault-mysql 3.0.4 all MySQL plugin for OpenMediaVault.
    ii openmediavault-nginx 3.0.10 all Nginx plugin for OpenMediaVault.
    rc openmediavault-omvextrasorg 3.4.21 all OMV-Extras.org Package Repositories for OpenMediaVault
    ii openmediavault-pyload 3.0 all OpenMediaVault pyLoad plugin
    ii openmediavault-sabnzbd 3.2.3 all SABnzbd plugin for OpenMediaVault.
    rc openmediavault-shellinabox 3.4 all Web-based SSH client.
    pc openmediavault-sickbeard 3.2.2 all OpenMediaVault Sick Beard plugin
    rc openmediavault-symlinks 3.1.2 all OpenMediaVault symlinks plugin

    • Offizieller Beitrag

    PHP Fatal error: Uncaught Error: Call to undefined function mb_detect_encoding()

    Please check the PHP version on your system.



    Bash
    $ dpkg -l | grep php

    In Debian 8 (Jessie), which is used for OMV3, the mbstring module is compiled in the core package:
    https://packages.debian.org/jessie/php5-cgi
    https://packages.debian.org/jessie/php5-cli


    I also can not reproduce this issue using a Vagrant test box where the PHP unit tests are executed.

  • Thanks for the help :)


    php -v
    PHP 7.0.16-1~dotdeb+8.1 (cli) ( NTS )
    Copyright (c) 1997-2017 The PHP Group
    Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.0.16-1~dotdeb+8.1, Copyright (c) 1999-2017, by Zend Technologies



    php5 -v
    PHP 5.6.30-0+deb8u1 (cli) (built: Feb 8 2017 08:50:21)
    Copyright (c) 1997-2016 The PHP Group
    Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!