[RESOLVED] Unable to log into gui

    • Offizieller Beitrag

    All of that is correct...


    Try this:
    echo "test" > /var/www/openmediavault/test.htm


    In your browser:
    http://omvipaddress/test.htm


    Does it work and show the word test?

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | 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!

  • Yes, file is created:

    Code
    # ls -all /var/www/openmediavault/test*
    -rw-r--r-- 1 root root 5 Jul 10 09:38 /var/www/openmediavault/test.htm


    and viewable in the browser when I go to http://ipaddress/test.htm. I see the word "test".
    Apache/php seems fine. It seems something is wrong in the authentication itself. Could it be related to PAM/LDAP?


    By the way, I currently am at .52 version OMV:

    Code
    # cat /etc/issue
    OpenMediaVault 0.5.52 (Sardaukar) \n \l


    Before I updated OMV the problem also existed.

    OMV 1.5 (Kralizec) VM on ESXi | HP Microserver | Snapraid

    • Offizieller Beitrag

    I definitely think the authentication could be screwed up because of LDAP.

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | 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!

  • But I have tried to bypass LDAP by editing /etc/openmediavault/config.xml

    Code
    <enable>0</enable>


    This didn't change my issue, I am still unable to login webUI.

    OMV 1.5 (Kralizec) VM on ESXi | HP Microserver | Snapraid

    • Offizieller Beitrag

    You need to execute:


    omv-mkconf ldap


    and maybe even reboot.

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | 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!

  • Nothing changed, I still can't login. I rebooted.
    I didn't get any output with this command. Is that correct?


    When I do

    Code
    getent passwd


    I still can see my LDAP users.

    OMV 1.5 (Kralizec) VM on ESXi | HP Microserver | Snapraid

    • Offizieller Beitrag

    No output is fine. Not sure what the problem is. It has to be an LDAP issue since the gui is working.

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | 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!

  • Could it be because there is more than one administrator account?

    Code
    # id administrator
    uid=1000(administrator) gid=63000(allusers) groups=63000(allusers)
    # id admin
    uid=998(admin) gid=100(users) groups=100(users)


    The first is the administrator account of the LDAP server. The other is OMV.

    OMV 1.5 (Kralizec) VM on ESXi | HP Microserver | Snapraid

    • Offizieller Beitrag

    Shouldn't be. admin is hard coded in the web interface. Maybe it is trying to authenticate the admin user against ldap instead of pam??

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | 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!

    • Offizieller Beitrag

    If some config file is telling it try ldap, it must not fallback to pam. Maybe check the files in /etc/pam.d/?

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | 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!

  • Found it! I remembered I installed libpam-sss and some other packages (see below) for password/login cashing a few weeks ago. There were -old files in my /etc/pam.d/ directory. I searched my dpkg log to get the exact packages installed that day (June 20th). By removing the packages and rebooting the virtual machine I am able to login to the webUI again. Nice!
    Thanks for helping me in the right direction.


    Code
    libpam-sss
    libnss-sss
    libpython2.6
    libpam-python
    libpam-mklocaluser

    OMV 1.5 (Kralizec) VM on ESXi | HP Microserver | Snapraid

    • Offizieller Beitrag

    Glad you figured it out :)

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | 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!

  • Hello guys,


    I don't understand anything of OMV, a friend of mine set it up my server and he is vanish from the map, this to say that I don't know nothing about this.


    I can't access the OMV I was trying to put in automatic the ports and I reckon I messed up.
    Once I've saved the setting I was locked outside, I have the message interface administrator account has changed password openmediavault.


    You change the password for this account interface or using the 'omv-firstaid'


    Can anyone help me?
    What shall I do?


    Cheers

  • hello
    not sure if this is the same issue but from the web gui, user admin then the password fails the only way I have found to correct the password is to login as root and change admin passwd.
    any suggestions please and thankyou
    ps never had so much fun setting up and playing with this software

  • So I can't login to my GUI either all of a sudden. When I login (I know my credentials are correct) it just reloads the login screen with no errors.


    Edit: Also, I don't have ldap installed. Am using OMV 3.


    Edit2: Found another post in which ryecoaaron suggested the OS drive may be full due to a botched wget job. Turns out this was my issue. Thanks pal!

    Case: U-NAS NSC-810
    Motherboard: ASRock - C236 WSI Mini ITX
    CPU: Core i7-6700
    Memory: 32GB Crucial DDR4-2133

    Einmal editiert, zuletzt von elastic ()

  • Hi, same issue here


    I tried to install usb backup pluign, got an error and, now I'm no longer able to access OMV.


    I see the login page, background and openmedivault logo, but I can't see the login block where to enter admin and password, I can ssh into raspberry and OSX still can connect to disks.


    I tried


    empty browser cache
    sudo reboot
    omv-firstaid


    with no luck.


    Please help!

Jetzt mitmachen!

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