No access after update

  • Hello dear gentlemen,


    Since i did an update yesterday, i don't have access to the webui or my shares.


    I have physical access to the command line though, i didn't try ssh.


    Is it possible to rebuild my omv from the config.xml?


    Sorry for my poor english.

    • Offizieller Beitrag

    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!

  • Thank you for your help, i've tried your solution and get stuck with these messages:


    I'm sorry for the french but basically: this version of proftpd-basic can't be found and some packets can't be installed and need dependencies.


    Edit: Is it possible to do a fresh install of OMV4, rebuild my raids and keep my datas?

    • Offizieller Beitrag

    this version of proftpd-basic can't be found and some packets can't be installed and need dependencies.

    omv-release-upgrade failed (apt-get update failed, too)


    Edit: Is it possible to do a fresh install of OMV4, rebuild my raids and keep my datas?

    Yes but you will probably need to use the resetperms a lot unless you create users with the same IDs.

    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

    Did you try omv-firstaid to reset the web interface?

    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!

  • So, i did a Clear web control panel cache without success and I don't find another option to reset the web interface in omv-firstaid.


    I tried Configure web control panel but it returns me this:

    Code
    ERROR: Failed to connect /var/lib/openmediavault/engined.sock: [Errno 2] No such file or directory

    Thank you for your help!

    • 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!

    • Offizieller Beitrag

    OMV isn't completely installed. Use apt-get -f install

    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!

  • Ok, it seems that i have an issue with lvm2.

    Edit: i've managed to reinstall lvm2 wit

    Code
    sudo apt purge lvm2 && sudo apt install lvm2

    Edit 2: So, i've reinstalled omv and got back the webui. I upgraded each plugin from the webui and it works great!


    Now, i've lost acces to my shares again. I can't enable Samba, i get this message The property 'nullpasswords' does not exist in the model 'conf.service.smb'.


    Thank you for your help!

    • Offizieller Beitrag

    I can't enable Samba, i get this message

    Because the openmediavault package itself wasn't truly upgraded, this wasn't run - https://github.com/openmediava…ions.d/conf_4.0.17.sh#L26


    So, as root, do the following


    source /usr/share/openmediavault/scripts/helper-functions
    omv_config_delete "/config/services/smb/nullpasswords"

    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!

  • Ok, maybe i did wrong but before you answered i edited /etc/openmediavault/config.xml and deleted the nullpassword line in <smb>.


    But i think it did the same, i've been able to enable SMB et my shares are accessible.


    Do i still need to execute :


    source /usr/share/openmediavault/scripts/helper-functions
    omv_config_delete "/config/services/smb/nullpasswords"


    Thank you greatly for guiding me, you're a wonderful person.

    • Offizieller Beitrag

    Do i still need to execute :

    If you removed it from /etc/openmediavault/config.xml, you did the same thing the lines I posted would do. Executing them won't hurt anything in case you did use them as well.

    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!

  • Ok, I ran it for good measure.


    Because the openmediavault package itself wasn't truly upgrade


    Does this mean some essentials packages weren't truly upgraded and I might run into problems later?


    Thanks again.

    • Offizieller Beitrag

    Does this mean some essentials packages weren't truly upgraded and I might run into problems later?

    I don't think so. Most packages don't have a database and even less would have a schema change. So, you should be ok.

    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!