WebGUI blank after update Debian Jessie to Stretch & OMV 3 to 4

  • Hey guys,


    I updated my system from Debian Jessie to Debian Stretch.
    After updating Debian I've decided to update my OMV, too.


    So I've updated OMV 3 to 4.
    Everything seems to be fine but my WebGUI shows a blank site only.
    This is the point where I stuck. I have no Idea how to fix this.


    I'm tried to fix this with omv-firstaid and set the Port of OMV, all I get is ERROR: [Errno 2] No such file or directory.


    So I tried tail /var/log/nginx/openmediavault-webgui_error.log.
    Output:

    Code
    #2 /var/www/openmediavault/index.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: 127.0.0.1, server: openmediavault-webgui, request: "HEAD / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm-openmediavault-webgui.sock:", host: "127.0.0.1:40443"
    2019/01/13 14:12:55 [error] 19169#19169: *1 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}('OMV\\DataModel\\M...')
    #1 /usr/share/php/openmediavault/env.inc(39): spl_autoload_call('OMV\\DataModel\\M...')
    #2 /var/www/openmediavault/index.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: 127.0.0.1, server: openmediavault-webgui, request: "HEAD / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm-openmediavault-webgui.sock:", host: "127.0.0.1"




    Hope anybody can help to fix this.


    Thanks in advance.
    grtz
    C0mmanda

    • Offizieller Beitrag

    What is the output of: dpkg -l | grep openm

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!


  • What is the output of: dpkg -l | grep openm

    • Offizieller Beitrag

    You have the OMV 3.x version of the plugin installed and that is most like causing the problem. Remove it with apt-get purge openmediavault-docker-gui

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Unfortunately it ends up with an error and will not be removed.. :(


    • Offizieller Beitrag

    rm /var/lib/dpkg/info/openmediavault-docker-gui.postrm
    apt-get purge openmediavault-docker-gui

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Many Thanks, now old docker is removed.


    But WebGUI still shows a blank site :(
    (Browser-Cache removed, Server rebootet)


    Any suggestions?

    • Offizieller Beitrag

    Try: omv-aptclean

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    What is the output of: omv-engined -df

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • What is the output of: omv-engined -df

    • Offizieller Beitrag

    Post the output of:


    dpkg -l | grep php
    apt-get update

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • dpkg -l | grep php


  • apt-get update


    • Offizieller Beitrag

    Now it makes more sense.


    You need to remove php5 packages - dpkg -l | grep php5 | cut -d" " -f3 | xargs dpkg -P should do that.


    You also still have jessie repos enabled and those need to be removed. grep -ri jessie /etc/apt/* will find the files.


    I'm also wondering if you have apache installed? dpkg -l | grep apache


    I would try:


    omv-mkconf nginx
    omv-mkconf php-fpm
    systemctl restart nginx
    systemctl restart php7.0-fpm


    And if you want php7.2, I highly recommend running that in a docker. I know you are supposed to be able to run the versions side by side but why risk it.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • php5-packages should be removed now!




    Jessie-Repos are changes and/or disabled (Think backup-files could be ignored?)




    Yes, Apache is installed. But at this moment I have no need for that as far as I know.
    Should be old for Own-/Nextcloud etc. Was no problem with OMV3.
    Better remove Apache?



    Code
    root@C0mmanda-Server:~# dpkg -l | grep apache
    ii  apache2-bin                                                      2.4.25-3+deb9u6                                       amd64        Apache HTTP Server (modules and other binary files)
    ii  libapache2-mod-php7.0                                            7.0.33-1+0~20181208203126.8+stretch~1.gbp2ff763       amd64        server-side, HTML-embedded scripting language (Apache 2 module)


    As Php7.2 is not necessary for OMV I have no need for it! How can I uninstall it?


    omv-mkconf nginx
    omv-mkconf php-fpm
    systemctl restart nginx
    systemctl restart php7.0-fpm


    runs flawless.


    WebGUI still blank :(


    /EDIT:
    Removed Apache, WebGUI still blank.

    • Offizieller Beitrag

    Should be old for Own-/Nextcloud etc. Was no problem with OMV3.
    Better remove Apache?

    It isn't a problem for OMV 4 either unless it is listening on the same port. But yes I would remove it.

    As Php7.2 is not necessary for OMV I have no need for it! How can I uninstall it?

    Remove the sury repo that is supplying it and then omv-aptclean. To remove the php7.2 packages, dpkg -l | grep php7.2 | cut -d" " -f3 | xargs dpkg -P



    ii php-common 2:69+0~20181217103149.12+stretch~1.gbpfa617b all Common files for PHP packages

    The last thing that I see that is wrong is this package. Try to fix it with: apt-get install php-common=1:49

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Apache is removed.


    Remove php7.2 does not work :(



    php.common=1.49 installed.


    Unfortunately nothing has changed.
    WebGUI is blank. :(

  • Oh man...


    After testing and google a while I did it to get WebGUI working.
    I think it was a problem with php, can't say exactly.


    Only problem I have now is an error-message from OMV when logging in.
    It gives me an RPC-Error.


    Syslog says:


    Code
    omv-engined[2876]: PHP Fatal error: Uncaught Error: Call to undefined function bccomp() in /usr/share/php/openmediavault/functions.inc:689#012Stack trace:#012#0 /usr/share/openmediavault/engined/rpc/system.inc(428): binary_format('4048408576')#012#1 [internal function]: OMVRpcServiceSystem->getInformation(Array, Array)#012#2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#012#3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('getInformation', Array, Array)#012#4 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('System', 'getInformation', Array, Array, 1)#012#5 {main}#012  thrown in /usr/share/php/openmediavault/functions.inc on line 689
    Jan 13 19:25:32 C0mmanda-Server omv-engined[2884]: PHP Fatal error: Uncaught Error: Call to undefined function bccomp() in /usr/share/php/openmediavault/functions.inc:689#012Stack trace:#012#0 /usr/share/openmediavault/engined/rpc/system.inc(428): binary_format('4048408576')#012#1 [internal function]: OMVRpcServiceSystem->getInformation(Array, Array)#012#2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#012#3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('getInformation', Array, Array)#012#4 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('System', 'getInformation', Array, Array, 1)#012#5 {main}#012  thrown in /usr/share/php/openmediavault/functions.inc on line 689

    Any idea how to fix this?



    grtz

    • Offizieller Beitrag

    Try: apt-get install php-bcmath

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

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