Unable To Access Web UI, Service Failed

  • I have used the OMV 5.x tag as I am unsure if OMV managed to successfully update at all


    I noticed yesterday that I could no longer access OMV through the webui. The last things I did were interacting with paperless-ngx and had nothing to do with OMV.


    The service remains as 'failed'

    Code
    ● openmediavault-engined.service - The OpenMediaVault engine daemon that processes the RPC request
         Loaded: loaded (/lib/systemd/system/openmediavault-engined.service; enabled; vendor preset: enabled)
         Active: failed (Result: exit-code) since Fri 2023-06-09 09:38:36 BST; 2s ago
        Process: 11769 ExecStart=/usr/sbin/omv-engined (code=exited, status=0/SUCCESS)
       Main PID: 11784 (code=exited, status=255/EXCEPTION)
            CPU: 197ms

    I am unable to change the admin password

    Code
    Updating workbench administrator password. Please wait ...
    ERROR: Failed to connect /var/lib/openmediavault/engined.sock: [Errno 111] Connection refused


    I have ran through the majority of the options using omv-firstaid and followed most of the posts here regarding similar issues - I am at a loss.


    I used the install script again which suggested that there is no config.xml file, maybe this is the cause of the issue?

    Code
      File "/etc/openmediavault/config.xml", line 1
    lxml.etree.XMLSyntaxError: Document is empty, line 1, column 1
    It is recommended to reboot and then setup the network adapter in the openmediavault web interface.



    Any help would be greatly appreciated, I will answer any questions to help you help me if there are any ^^

  • I am now able to access the admin panel however entering the default credentials and my already existing credentials both result in

    Code
    500 - Internal Server Error
    Failed to connect to socket: Connection refused
    • Official Post

    I used the install script again which suggested that there is no config.xml file, maybe this is the cause of the issue?

    Check /etc/openmediavault for the existence of the config.xml file and its contents. If there is no database, there is no OMV.

  • Check /etc/openmediavault for the existence of the config.xml file and its contents. If there is no database, there is no OMV.

    Thanks for your response, there didn't seem to be a database and the config file was empty? I have tried to run the script used to install it

    Code
    wget -O - https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install | sudo bash

    and this doesn't seem to fix the issue.


    Step 10, updating plugin index outputs the following

    • Official Post

    there didn't seem to be a database and the config file was empty?

    Do you have a backup where you can copy your database? Is there another config file in that folder with a different extension, something like config.____1000 ?

  • I tried this before posting and it resulted in a connection refused error. Reinstalling OMV does allow me to access the login screen.


    I've just ran the reinstall script again because... why not right


    it seems that the config file is blank again?


    I don't mind losing my OMV data and start over but I don't want to touch the rest of the system if I can help it

  • Do you have a backup where you can copy your database? Is there another config file in that folder with a different extension, something like config.____1000 ?

    I don't have a backup, there's not much to back up really I just have a remote mount a shared folder I don't currently use.


    H6oRVAJ.png

    this is the contents to the directory - there is nothing in the config file

  • using omv-engined -d -f  results in the following output (from another thread

    • Official Post

    I don't have a backup, there's not much to back up really I just have a remote mount a shared folder I don't currently use.

    In that case I would say that you have no choice but to reinstall. Before reinstalling you could try omv-confdbadm populate

    but I'm not sure if it will do anything or break the system even more.

    You can wait and see if someone else has a better idea.

  • In that case I would say that you have no choice but to reinstall. Before reinstalling you could try omv-confdbadm populate

    but I'm not sure if it will do anything or break the system even more.

    You can wait and see if someone else has a better idea.

    it sure didn't like that although I am pretty sure I've ran that command before


    Could you please tell me what I am missing because I have already tried to reinstall it with no success or do you mean reset the entire system?

    • Official Post

    Could you please tell me what I am missing because I have already tried to reinstall it with no success or do you mean reset the entire system?

    I mean do a fresh install of OMV. I wouldn't trust a system that has reached that state at all.

  • I mean do a fresh install of OMV. I wouldn't trust a system that has reached that state at all.

    I mean realistically it would be the best option anyway; I've followed many posts on here and nothing has worked. The last thing I did to OMV was install the remotemount plugin hours prior to this issue occurring.

    • Official Post

    The last thing I did to OMV was install the remotemount plugin hours prior to this issue occurring.

    Maybe ryecoaaron wants to see this.

    • Official Post

    This is on OMV 5.x? Pretty sure there is no bug in the remotemount plugin install that wipes the OMV database. Not sure what happened but upgrading or reinstalling OMV 6.x is my suggestion.

    omv 7.0-11 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.1 | compose 7.0.1 | cputemp 7.0 | mergerfs 7.0


    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 tried to reinstall and upgrade however the database/config files are not being populated. I was on 5.X at the time of installing the plugin, I believe I successfully updated. I came across this problem by chance when checking something hours after.


    Do I need to do a fresh system reinstall or can i completely remove any trace of OMV and start over?

Participate now!

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