upgrade from OMV4 to OMV5, error with mbstring

  • I'm attempting to upgrade from OMV4 to OMV5. I began with dliedert's script, which fails with:

    PHP Fatal error: Uncaught Error: Call to undefined function mb_strtolower() in /usr/share/php/openmediavault/autoloader.inc:28

    The failure is at line 8454 in the attached log dated 2021-06-30-075916.



    After that, I find my OMV server has buster installed, so dliedert's script won't continue. Apache is running, so the rest of the server seems okay. After doing some reading and searching, I tried uninstalling and re-installing mb-7.3string, but that didn't change anything. After the above failure using dliedert's script, I could only execute 'omv-update' and it continually fails with the same error. Thanks for any help.

  • Hi there,


    I have the same error and I followed this update script. I cannot execute any apt-get command without a failure. For example:



    Looks like I have a mix of php versions installed, but I don't know where they come from:



    I read somewhere that this shall be avoided. Can I fix this somehow?

  • have a mix of php versions installed

    yes, would have come to the same conclusion.

    I don't know where they come from

    usually other applications have been installed directly without placing them in a docker container, screwing OMV up.

    Can I fix this somehow?

    1.backup
    2. uninstall all other applications but watch out for "dependent packages" uninstall to not include openmediavault

    omv 5.6.13-1 (usul) on RPi4/4GB with Kernel 5.10.17 and WittyPi 3 V2 RTC HAT

    2x 6TB HDD formatted with ext4 in Icy Box IB-RD3662-C31 / hardware supported RAID1

    For Read/Write performance of SMB shares hosted on this hardware see forum here

  • Silenzium, mi-hol


    Apologies for not updating this, but I came to much the same conclusion. With a mix of php installs, I could no longer tease apart what I needed to get OMV5 functional. I gave up and then did a clean install. Good luck with it.

  • Thanks for your responses.


    2. uninstall all other applications but watch out for "dependent packages" uninstall to not include openmediavault

    OK, but where should I start?



    If that does not work and a clean installation is unavoidable, I have two questions:

    1. Is OMV 6 stable enough to use it in production and to avoid the future upgrade from 5 to 6?

    2. Are there any recommendations to bring as much as possible from my OMV 4 configuration to OMV 5 or 6?


    Edit:

    A third way could be to restore the images from omvbackup and to try the update again. But I've no idea which type of backup I did choose. I guess this look like rsync?


Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!