500 Internal Server Error after Upgrading with wrong pho source

  • I upgraded my OMV 5 installation with omv-upgrade. It failed because of a broken/old/wrong php source.

    I fixed that, purged php 7.3 and reinstalled OMV 6.

    Now when I try to login to the GUI I get an internal server error.

    Here is what /var/log/nginx/openmediavault-webgui_error.log gives me:

    Code
    2022/05/28 01:43:33 [error] 85606#85606: *14510 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Call to undefined function mb_strtolower() in /usr/share/php/openmediavault/autoloader.inc:28
    Stack trace:
    #0 [internal function]: {closure}()
    #1 /usr/share/php/openmediavault/env.inc(39): spl_autoload_call()
    #2 /var/www/openmediavault/rpc.php(24): require_once('/usr/share/php/...')
    #3 {main}
      thrown in /usr/share/php/openmediavault/autoloader.inc on line 28" while reading response header from upstream, client: 192.168.0.49, server: openmediavault-webgui, request: "POST /rpc.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm-openmediavault-webgui.sock:", host: "192.168.0.40", referrer: "http://192.168.0.40/"

    Does anybody have an idea, how to fix this?


    Thanks in advance


    MiGoRy

  • I purged php 7.3* in the meantime and reinstalled openmediavault.

    I can access the webgui now.

    For the sake of completeness, here is the output of the requested commands:


    dpkg -l | grep openmedia


    dpkg -l | grep php


    systemctl status openmediavault-engined.service



    Thank you for your help!

  • MiGoRy

    Hat das Label gelöst hinzugefügt.
  • You have a mess of plugins installed. it can#t be working properly.

    Consider a fresh install of OMV6

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

Jetzt mitmachen!

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