I get errors when i run a packages update

  • Try on the login page with user=admin password=openmediavault

    same error

    Errore #0:
    OMV\HttpErrorException: Incorrect username or password. in /var/www/openmediavault/rpc/session.inc:151
    Stack trace:
    #0 [internal function]: OMVRpcServiceSession->login(Array, Array)
    #1 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
    #2 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('login', Array, Array)
    #3 /usr/share/php/openmediavault/rpc/proxy/json.inc(97): OMV\Rpc\Rpc::call('Session', 'login', Array, Array, 3)
    #4 /var/www/openmediavault/rpc.php(45): OMV\Rpc\Proxy\Json->handle()
    #5 {main}

  • i tried to change the password using omv-firstaid, but since i can't log in

    You run omv-firstaid in the command line

  • id admin

    cat /etc/passwd


    Please

    root@Jarvis:~# id admin

    uid=998(admin) gid=100(users) groups=100(users)

    root@Jarvis:~# cat /etc/passwd

    root:x:0:0:root:/root:/bin/bash

    daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin

    bin:x:2:2:bin:/bin:/usr/sbin/nologin

    sys:x:3:3:sys:/dev:/usr/sbin/nologin

    sync:x:4:65534:sync:/bin:/bin/sync

    games:x:5:60:games:/usr/games:/usr/sbin/nologin

    man:x:6:12:man:/var/cache/man:/usr/sbin/nologin

    lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin

    mail:x:8:8:mail:/var/mail:/usr/sbin/nologin

    news:x:9:9:news:/var/spool/news:/usr/sbin/nologin

    uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin

    proxy:x:13:13:proxy:/bin:/usr/sbin/nologin

    www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin

    backup:x:34:34:backup:/var/backups:/usr/sbin/nologin

    list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin

    irc:x:39:39:ircd:/var/run/ircd:/usr/sbin/nologin

    gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/usr/sbin/nologin

    nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin

    systemd-timesync:x:100:102:systemd Time Synchronization,,,:/run/systemd:/bin/false

    systemd-network:x:101:103:systemd Network Management,,,:/run/systemd/netif:/bin/false

    systemd-resolve:x:102:104:systemd Resolver,,,:/run/systemd/resolve:/bin/false

    _apt:x:104:65534::/nonexistent:/bin/false

    ntp:x:105:109::/home/ntp:/bin/false

    messagebus:x:108:111::/var/run/dbus:/bin/false

    postfix:x:109:112::/var/spool/postfix:/bin/false

    statd:x:110:65534::/var/lib/nfs:/bin/false

    sshd:x:112:65534::/run/sshd:/usr/sbin/nologin

    openmediavault-webgui:x:999:997:openmediavault WebGUI Management:/home/openmediavault-webgui:/usr/sbin/nologin

    admin:x:998:100:openmediavault WebGUI Administrator:/home/admin:/usr/sbin/nologin

    mario:x:1000:100::/home/mario:/bin/dash

    emanuele:x:1001:100::/home/emanuele:/bin/dash

    gruggiero:x:1002:100:Giovanni Ruggiero:/srv/dev-disk-by-label-RepTec/RepTec/GR_bkp/G:/bin/dash

    _rpc:x:114:65534::/run/rpcbind:/usr/sbin/nologin

    _chrony:x:103:115:Chrony daemon,,,:/var/lib/chrony:/usr/sbin/nologin

    proftpd:x:106:65534::/run/proftpd:/usr/sbin/nologin

    ftp:x:107:65534::/srv/ftp:/usr/sbin/nologin

    avahi:x:111:117:Avahi mDNS daemon,,,:/var/run/avahi-daemon:/usr/sbin/nologin

    systemd-coredump:x:996:996:systemd Core Dumper:/:/usr/sbin/nologin

    openmediavault-notify:x:997:994::/home/openmediavault-notify:/usr/sbin/nologin

    root@Jarvis:~#

  • When you enter su admin it will ask for the password. if it succeeds, exit to get to your original shell.


    or forcefully set the password to something known by passwd admin (execute as root). Then try to login via UI.

    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.

    • Offizieller Beitrag

    I would make sure admin is a member of the openmediavault-admin group too.


    groups admin

    omv 7.1.0-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.5 | scripts 7.0.7


    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!

  • It is not


    Code
    root@Jarvis:~# id admin
    uid=998(admin) gid=100(users) groups=100(users)


    Can anyone provide the groups.


    usermod -a -G openmediavault-admin admin will add the group to admin. Any other group needed?

    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.

  • only admin thank's

  • Use this:usermod -a -G openmediavault-admin admin this will put admin into the openmediavault-admin group too.

    The post id admin

    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.

  • When you enter su admin it will ask for the password. if it succeeds, exit to get to your original shell.


    or forcefully set the password to something known by passwd admin (execute as root). Then try to login via UI.

    root@Jarvis:~# passwd admin

    New password:

    Retype new password:

    passwd: password updated successfully

    root@Jarvis:~#


    but i can't login from the web interface as admin

Jetzt mitmachen!

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