Posts by phoneo

    Today I try to install Shellinabox to clean up the harddisk . It stopped with the following error message:



    • OMV\Config\DatabaseException: Failed to execute XPath query '//services/shellinabox'. in /usr/share/php/openmediavault/config/database.inc:78
    • Stack trace:
    • #0 /usr/share/openmediavault/engined/module/shellinabox.inc(58): OMV\Config\Database->get('conf.service.sh...')
    • #1 /usr/share/openmediavault/engined/rpc/services.inc(56): OMV\Engined\Module\Shellinabox->getStatus()
    • #2 [internal function]: OMVRpcServiceServices->getStatus(Array, Array)
    • #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
    • #4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('getStatus', Array, Array)
    • #5 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Services', 'getStatus', Array, Array, 1)
    • #6 {main}

    This problem probably only occurs if the root password has not yet been changed.

    I have had the same problem on a first installation on my HC2 running OMV4.X.


    This help me to avoid the error (do it before installing shell in a box):


    Web Interface: --> Service --> SSH --> Permit root login : change to on (green) --> Save -->Apply


    SSH - Console (e.g. PuTTY): Login with user root and password openmediavault

    You will be requiered to change the root password! First re-enter the current password openmediavault, then enter and confirm a new root password. (Don't forget the password.)


    Return to the web interface and install shell in a box.

    While I was looking for the error, I sometimes think ist seems like a RootPermission denied problem. But I didn't draw the consequences.

    We did that because arm images aren't installed meaning the user can't set the root password like you do on x86.

    I understand it. And I know that I made a beginners mistake.


    @Adoby Thanks for your advise. I will concider it. There is still a lot to learn for me (special permission handling), but I am an educated student and grateful for every tip! :)

    If you can't login locally, add a user in the omv web interface and include them in the ssh and sudo groups. Then you can change the root password with sudo passwd root

    Thank you, that was very helpful @ryecoaaron! I could change the password, but root login failed again. Next I looked to the sshd_config: PermitRootLogin was disabled! =O Back to the web interface: PermitRootLogin was disabled, too. But I change nothing in the ssh config and I guess that PermitRootLogin enable is a default setting from OMV?


    Oh no, that was the right answer:


    root UNTIL you enable root login in the web interface (disabled by default on arm images)

    My first setup was on a X86, a month ago. So that small difference to an arm image was not present for me. Bad trap.

    I suspect that you filled up the root file system, not the hdd?

    I filled up the hdd.


    OMV_1.jpg


    Maybe the flash card (a new one) have errors. I try another card for a new installation.


    @tkaiser


    I found this in the forum:


    Establish an SSH connection to OMV and log in with user 'root' and password '1234' as @tkaiser has posted.

    I found also the correction, but it could have been possible that the password was changed. That would be a reasonable explanation of why you remembers to 1234. openmedivault and 1234 are not so similar that they could be confused...

    I assume you have used one of those images?
    --> sourceforge.net/projects/openm…ngle%20Board%20Computers/

    Yes.

    If yes, these are the passwords:

    No, not for my ssh connection ... :) . I konw the standard passwords. But root with openmediavault via ssh fails.


    Any other idea? Yes, I can reinstall OMV, because it is only a first test installation. But I think, maybe this problem is interesting for the developers.

    Hi guys,


    yesterday I installed OMV on a Odroid HC2 with etcher. I was surprised, because the first time of calling the web interface, the login screen was displayed immediately. I expecting an installation routine like a X86 installation or sonething else. I login with admin (password: openmediavault) and change the passwort. I try a rsync job and filled up the harddisk (0 bytes free) only for a test.
    Today I try to install Shellinabox to clean up the harddisk . It stopped with the following error message:




    Code
    OMV\Config\DatabaseException: Failed to execute XPath query '//services/shellinabox'. in /usr/share/php/openmediavault/config/database.inc:78
    Stack trace:
    #0 /usr/share/openmediavault/engined/module/shellinabox.inc(58): OMV\Config\Database->get('conf.service.sh...')
    #1 /usr/share/openmediavault/engined/rpc/services.inc(56): OMV\Engined\Module\Shellinabox->getStatus()
    #2 [internal function]: OMVRpcServiceServices->getStatus(Array, Array)
    #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
    #4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('getStatus', Array, Array)
    #5 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Services', 'getStatus', Array, Array, 1)
    #6 {main}

    The error message appers every 5 seconds on the web interface.


    I try to login via root to the ssh shell. How is the password? openmediavault or 1234 failed.


    Second: How can I solve the Shellinthebox error?


    Thanks for help.


    greetings


    phoneo

    Nope, just wondering why an ODROID HC1 or HC2 isn't the device of choice...

    Ah, ok. Energy efficience is an importent criterium for me too.Otherwise I use encryption, Kodi and Docker on my main NAS. Maybe Odroid is a good choise for a backup NAS.


    Depending on what you want to do and with a bit of time, you'll discover several features and add-on's that are not available for a QNAP.

    I´m not sure. With Docker and the QNAP Club Store (own app repo) is the range of features also great. Easy to install as well. But I am not here to advertise it.



    Don't forget about backup.

    My motto is: No backup? - No pity! :thumbsup:


    By the way: Your New User Guide will be my advisor for the next time. Thanks.

    Hi folks,


    I bought my first nas 9 years ago, a QNAP TS-219PII. Meanwhile I had some other QNAPs in use. Currently a TS-653 Pro and a TS-269L (backup). For a while I was an active member/supporter of the german qnapclub community. But I lost more and more confidence in QNAP. That the firmware is getting more unstable is only one reason. I flirted with FreeNAS. But for a test system the price seemed too high. Recently I found a build for a DIY OMV Nas on technikaffe.de. By chance I was able to bid for the mainboard on ebay. And here is my setup with small changes to the original:



    FW: OMV V4.1.16
    MB: ASRock J4205-ITX
    RAM: 2x 4GB Kingston DDR3L-1600 1,35V (KVR16LS11/4)
    PSU: picoPSU-120 with Salcar 72W
    SSD: Transcent 32GB SSD
    HDD: Seagate Exos X X10 10TB
    CASE: Lian Li PC-Q28


    OMV_first_build.jpg



    My target: Replace the QNAPs with OVM Nas. But I am not in hurry. Get to know OMV step by step.



    greetings



    phoneo