Super weird situation, server is functional but I cannot access the dashboard and omv-firstaid yields "command not found"

  • As the title describes.


    For context this is a server I have set up and running at a remote location, I cannot physically access it without hopping on a plane.


    I can access my samba share over SFTP no problem works fine. I can login over Putty (I use private/public key) and it works fine, the server is there.

    But if I teamview into a computer on the server's local network and attempt to access the web-GUI on the server I get the "403 Forbidden" error.

    If I ssh into the server and attempt to run "omv-firstaid" the cli returns:

    Code
    bash: omv-firstaid: command not found


    Even if I sudo su and run the command as root I get that result.


    So basically this server is working, but I cannot make any changes to the configuration over the web-GUI.

    It'll be a while before I'm on location again and able to do something like reinstall the whole thing, and in the meantime my fear is a power interruption causing the server to power-cycle and it not restarting properly and me losing the use of the server until I'm back there.


    Any way for me to deal with this issue 100% remotely? I don't even know where to start.


    I don't know if this could be relevant but a couple weeks ago I had to run omv-firstaid to reset the online password (I forgot it).

  • Possibly a pathing problem.


    omv-firstaid must be run as either root or via sudo. Try this from ssh:


    Code
    sudo /usr/sbin/omv-firstaid

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.

    OMV AMD64 8.x on headless Tyan Thunder SX GT86C-B5630 1U Server with Intel Xeon Silver 4110 CPU @ 2.10GHz & 32GB DDR4 ECC RAM.

  • Code
    root@raspberrypi:~# /usr/sbin/omv-firstaid
    bash: /usr/sbin/omv-firstaid: No such file or directory


    Code
    root@raspberrypi:~# sudo /usr/sbin/omv-firstaid
    sudo: /usr/sbin/omv-firstaid: command not found


    EDIT:


    Also tried running the sudo variety from my user, not root. Same outcome as the above sudo attempt.

  • Try to find the file. If it's not there something went wrong with your install.


    Code
    sudo updatedb
    sudo locate omv-firstaid


    I suspect that sudo can't be found. No idea what's that's all about, but you seem to be on a pi and I know noting about the Debian is runs on.

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.

    OMV AMD64 8.x on headless Tyan Thunder SX GT86C-B5630 1U Server with Intel Xeon Silver 4110 CPU @ 2.10GHz & 32GB DDR4 ECC RAM.

  • I will try that once I get home, but for the record, it can't have been an issue with the installation since as I mentioned above, I used the first aid tool a few weeks ago and it worked fine.

  • This might shine some extra light on things:



    Seems to me like the last time I ran an update in OMV it went fully haywire? This is crazy.

  • Guess I'm leaving it running in its current "headless zombie" state, and do a full reinstall next time I'm over there.

    I do find it extremely concerning that an update seemingly "suicided" OMV out of my server for some reason.

Participate now!

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