No access to web interface after 4 to 5 upgrade

  • Hey guys,


    I managed to upgrade from omv 4 to 5 with the help of this post from ryecoaaron: OMV 5.0 - finally out! :-)

    Unfortunately I cannot access the web gui anymore.

    I get following errors:


    I tried deleting my browser cache and also web interface cache with omv-firstaid.


    Output of dpkg -l | grep openmediavault:

    Code
    root@omv:/var/lib/dpkg/info# dpkg -l | grep openmediavault
    ii  openmediavault                            5.5.9-1                              all          openmediavault - The open network attached storage solution
    ii  openmediavault-autoshutdown               4.0.5                                all          OpenMediaVault AutoShutdown Plugin
    ii  openmediavault-backup                     4.0.6                                all          backup plugin for OpenMediaVault.
    ii  openmediavault-keyring                    1.0                                  all          GnuPG archive keys of the OpenMediaVault archive
    ii  openmediavault-minidlna                   3.3.11                               all          OpenMediaVault miniDLNA (DLNA server) plugin
    ic  openmediavault-omvextrasorg               4.1.16                               all          OMV-Extras.org Package Repositories for OpenMediaVault

    Do you have any suggestion I can do more?

    In case of any info you need just let me know. :)


    Thx in advance!

    • Offizieller Beitrag

    Do you have any suggestion I can do more?

    Output from the upgrade script would help. None of your omv-extras plugins updated. Try (as root):


    apt-get purge openmediavault-omvextrasorg

    wget -O - https://github.com/OpenMediaVault-Plugin-Developers/packages/raw/master/install | bash

    apt-get update

    apt-get dist-upgrade

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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!

  • Hmm, the first command apt-get purge openmediavault-omvextrasorg is giving me an error already:


    • Offizieller Beitrag

    Try:


    rm /var/lib/dpkg/info/openmediavault-omvextrasorg.postrm


    and then the rest of the directions I gave above again.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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!

  • ph1

    Hat das Label gelöst hinzugefügt.
  • I had no access to webgui with user admin and the right password.
    It says "Incorrect username or password".
    Changing password with omv-firstaid didn't help.

    Reset failed password count with omv-firstaid didn't help.
    Root cause seems to be a missing group membership of admin

    according /etc/default/openmediavault

    Code
    # grep WEBGUI /etc/default/openmediavault
    OMV_WEBGUI_ADMINUSER_NAME="admin"
    OMV_WEBGUI_ADMINGROUP_NAME="openmediavault-admin"
    OMV_WEBGUI_FILE_OWNERGROUP_NAME="openmediavault-webgui"
    # groups admin
    admin : users lpadmin

    My solution:

    Code
    # usermod -a -G openmediavault-admin admin
    # groups admin
    admin : users lpadmin openmediavault-admin

    Hope this helps others, BR

  • Thank you very much! That helped and was the root cause also for me.


    omv-firstaid does not help in that case. This should definitely go to the FAQ where only a disk space issue is listed for that case.

Jetzt mitmachen!

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