Can't connect to OMV & Upgrade help

  • Hi everyone, I set up OMV on a RPI2 around 2 years ago to use as network drive for a CCTV cam.


    It is running v1.13. Had a few problems lately so I thought I would try upgrade OMV.


    When I went on the web gui and tried upgrade I got an error Error-updating-Secondary-OMV-extras-Failed-to-execute-command-export-LANG-C-apt


    I had a search and someone's said it could be DNS. I logged in and added a primary dns as my router and secondary 8.8.8.8. Since I have done that I can't log on it via the IP or through SSH.


    Can anyone help? The problem I have is I can't lose the config, I had loads of problems originally setting the share up for the CCTV and can't remember all the details.


    Is there any way to fix this and upgrade?


    Thanks :)

    • Offizieller Beitrag

    Either login via ssh or locally and try omv-firstaid. I would update from the command line. Use omv-update (if it is exists, otherwise you apt-get update && apt-get dist-upgrade)

    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

    Since adding the dns I can't ssh onto it for some reason?

    No idea but that is why I suggested omv-firstaid first. I need to see the output of the update commands to help.

    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!

  • I have managed to log back into the web gui. For some reason when I add dns it deletes the network config?


    When I try and upgrade as you suggested above, I get the following error ....



    Error #4000:exception 'OMVException' with message 'Failed to execute command 'export LANG=C; apt-get update 2>&1': Ign file: Release.gpgIgn file: ReleaseErr http://mirrordirector.raspbian.org wheezy Release.gpg Something wicked happened resolving 'mirrordirector.raspbian.org:http' (-5 - No address associated with hostname)Ign http://mirrordirector.raspbian.org wheezy ReleaseErr http://packages.openmediavault.org kralizec Release.gpg Something wicked happened resolving 'packages.openmediavault.org:http' (-5 - No address associated with hostname)Err http://packages.openmediavault.org kralizec-proposed Release.gpg Something wicked happened resolving 'packages.openmed

    • Offizieller Beitrag

    I can't replicate this. Maybe try using dhcp?

    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!