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!

  • 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 5.5.12 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.4.2
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

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


  • Try:


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


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

    omv 5.5.12 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.4.2
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • ph1

    Added the Label resolved
  • 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.

Participate now!

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