Reset config.xml?

  • We need a "reset button" in the UI. In my case, through trying to debug several problems, there is some inconsistency in config.xml and system mounts that it doesn't recognize (but are clearly there), etc. I'd just like to reset OMV and start over, without reinstalling the entire system.


    Until we can get this "reset button" implemented, what is the best approach?

    • Official Post

    Until we can get this "reset button" implemented, what is the best approach?

    This button should never exist. That is a very harsh approach. You should never end up with an inconsistent config.xml if you aren't doing things from the command line. /etc/fstab should always be overwritten by what is in config.xml.


    An empty template exists here - /usr/share/openmediavault/templates/config.xml

    omv 7.4.14-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.15 | compose 7.2.16 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    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!

    • Official Post

    This button should never exist. That is a very harsh approach. You should never end up with an inconsistent config.xml if you aren't doing things from the command line. /etc/fstab should always be overwritten by what is in config.xml.


    An empty template exists here - /usr/share/openmediavault/templates/config.xml

    While I agree with you, would a purge and reinstall of OMV essentially achieve what the op wants?

    • Official Post

    would a purge and reinstall of OMV essentially achieve what the op wants?

    Yep

    omv 7.4.14-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.15 | compose 7.2.16 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    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!

Participate now!

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