Posts by NothingNowhere

    Yes, I see it's possibly doable on Armbian, I might experiment one day.…all-to-emmc-nand-sata-usb

    Cards are Kingston or SanDisk from Amazon as the seller, i.e. not fakes.

    I'll run them through badblocks maybe, it's not the cost of new cards it's just frustrating when I think I've got everything ticking over nicely, something odd like this comes along.

    Anyway, thanks as ever for your help.

    Hello, I have OMV 5 on my Odroid C2, which was working fine, now can't login to the webui. It seems omv-engine service isn't running.

    This is a recent installation using the instructions for Armbian installs. Not an upgrade from OMV 4.

    SSH, FTP, Samba etc. all working fine still.

    This seems to be a common problem but with various causes. I've tried a few suggestions from older threads, to no avail.

    Here are some more outputs from common suggestions.

    Webgui login error:

    Failed to connect to socket: No such file or directory

    journalctl -xe

    sudo omv-engined -d -f gives:

    Illegal instruction

    sudo dpkg --verify

    Just flashmemory and extras plugins installed:

    sudo dpkg -l |grep openme

    Lots of disk space left

    df -h

    Everything is up to date using apt.

    Any thoughts anyone?

    Hello, I have SSH working fine for months on various OMV machines.

    I wanted to add a second public key to a user for use with rsync. I got the same error on two machines, one an AMD64 box and one a RaspberryPi 3 - both running OMV5.

    On trying to apply the changes I get a long error - can anyone help me decipher this?:

    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run ssh 2>&1' with exit code '1': /usr/lib/python3/dist-packages/salt/utils/decorators/ DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly *salt.utils.args.get_function_argspec(original_function) debian: ---------- ID: remove_ssh_authorized_keys Function: Name: /var/lib/openmediavault/ssh/authorized_keys Result: True Comment: Files cleaned from directory /var/lib/openmediavault/ssh/authorized_keys Started: 00:25:27.755780 Duration: 1.512 ms Changes: ---------- /var/lib/openmediavault/ssh/authorized_keys/myusername: ---------- removed: Removed due to clean removed: - /var/lib/openmediavault/ssh/authorized_keys/myusername ---------- ID: create_ssh_authorized_key_file_myusername Function: file.managed Name: /var/lib/openmediavault/ssh/authorized_keys/myusername Result: True Comment: File /var/lib/openmediavault/ssh/authorized_keys/myusername updated Started: 00:25:27.757405 Duration: 2.346 ms Changes: ---------- diff: New file user: myusername ---------- ID: create_tmp_pubkey_file_myusername_1 Function: file.managed Name: /tmp/tmpzbwfhxdr Result: True Comment: File /tmp/tmpzbwfhxdr updated Started: 00:25:27.759858 Duration: 25.691 ms Changes: ---------- diff: --- +++ @@ -0,0 +1,9 @@ +---- BEGIN SSH2 PUBLIC KEY ---- +Comment: "rsa-key-20190118" +AAAAB3NzaC1yc2EAAAABJQAAAQEA2V57GdjZF3ypQuOKQ9zObejNXKQYkIfVu2eQ +SxItL1o/5qHK2EAIVdHMUp8pBoOZAc7wBa7gDvhhPGhClBsaC73rWq+p2ntbUFVj +DVmamtGaOyTiS79mtQ/AzIZJO16k9QvfeelAKaj6XkAO5ZFh7VYtYDQDWu5wvyWy +TS67X9dILiSm9U2IbbZQZxvmfAKznVLGU21e7FDjUpIvvabFmWKxUjddlUXXXUCv +ZMibDtXtU1FsEbCuFGYjvo3d4uqwcZK1izSSSAGf0+f6YgxVm2vdKWpaA8BJVMfY +I8ykYNLMPkLddAs8SNtT91Xo108Z7tAhIGA3dJJ+GbTuoH+pGQ== +---- END SSH2 PUBLIC KEY ---- ---------- ID: append_ssh_authorized_key_myusername_1 Function: Name: ssh-keygen -i -f '/tmp/tmpzbwfhxdr' >> '/var/lib/openmediavault/ssh/authorized_keys/myusername' Result: True Comment: Command "ssh-keygen -i -f '/tmp/tmpzbwfhxdr' >> '/var/lib/openmediavault/ssh/authorized_keys/myusername'" run Started: 00:25:27.786159 Duration: 22.557 ms Changes: ---------- pid: 3281 retcode: 0 stderr: stdout: ---------- ID: remove_tmp_pubkey_file_myusername_1 Function: file.absent Name: /tmp/tmpzbwfhxdr Result: True Comment: Removed file /tmp/tmpzbwfhxdr Started: 00:25:27.809399 Duration: 1.746 ms Changes: ---------- removed: /tmp/tmpzbwfhxdr ---------- ID: create_tmp_pubkey_file_myusername_2 Function: file.managed Name: /tmp/tmpp2_vmk6h Result: True Comment: File /tmp/tmpp2_vmk6h updated Started: 00:25:27.811506 Duration: 8.279 ms Changes: ---------- diff: --- +++ @@ -0,0 +1,6 @@ +---- BEGIN SSH2 PUBLIC KEY ---- +Comment: "rs-key" +AAAAB3NzaC1yc2EAAAADAQABAAAAYQDOUxjgVJOyRf/9WeEBfPL567d9wy0HFYfe +VILVQo69Mk/MW3s9HUzUPgyp/LlTNTzgaKxouTpt56SpMWhc3bGASZ8PTSMAljg4 +50YVeKESGFbuAa+VCyvElpInwcT02ec= +---- END SSH2 PUBLIC KEY ---- ---------- ID: append_ssh_authorized_key_myusername_2 Function: Name: ssh-keygen -i -f '/tmp/tmpp2_vmk6h' >> '/var/lib/openmediavault/ssh/authorized_keys/myusername' Result: False Comment: Command "ssh-keygen -i -f '/tmp/tmpp2_vmk6h' >> '/var/lib/openmediavault/ssh/authorized_keys/myusername'" run Started: 00:25:27.820174 Duration: 12.931 ms Changes: ---------- pid: 3283 retcode: 255 stderr: decode blob failed: Invalid key length stdout: ---------- ID: remove_tmp_pubkey_file_myusername_2 Function: file.absent Name: /tmp/tmpp2_vmk6h Result: True Comment: Removed file /tmp/tmpp2_vmk6h Started: 00:25:27.833308 Duration: 0.507 ms Changes: ---------- removed: /tmp/tmpp2_vmk6h ---------- ID: configure_ssh_sshd_config Function: file.managed Name: /etc/ssh/sshd_config Result: True Comment: File /etc/ssh/sshd_config is in the correct state Started: 00:25:27.833923 Duration: 35.578 ms Changes: ---------- ID: start_ssh_service Function: service.running Name: ssh Result: True Comment: The service ssh is already running Started: 00:25:27.878126 Duration: 58.484 ms Changes: Summary for debian ------------ Succeeded: 9 (changed=8) Failed: 1 ------------ Total states run: 10 Total run time: 169.631 ms

    Hello all, just sharing for info.

    I suspected my cheap internal SATA card was causing intermittent POST problems with my old PC box running OMV5 so I looked around for better options and went for this:…AS-SATA-HBA-RAID-319.html

    along with a couple of these:…rget-Cable/dp/B07C15LPWW/

    My PC box has lots of space for drives, using a few 1 to 3 TB drives for a Snapraid array (currently 5 data and 1 parity, another parity on order). Motherboard is old-ish

    Anyway, no firmware tinkering required, it recognised all drives fine, OMV5 was fine with it, Snapraid didn't blink. The cable management is neater too, if you look at the link for the cables above you'll see how it's neater than SATA cables.

    Hello all, not OMV-specific but hope someone can help. The main annoyance with this is that Chrome won't save my OMV webgui login info due to self-signed cert problems.

    I have a local machine and made a SSL cert within the OMV gui. Set it up to be used as the SSL/TLS login cert in gui.

    Chrome 81.0.4044.129 on Windows 10 warns about it, as expected. I imported the cert as per instructions in…r-self-signed-certificate (and elsewhere). But warnings persist, despite restarting Chrome, and "This certificate is OK." in the certification path tab.

    I note that Chrome can balk at certs if subject alternative name is not given, but this seems OK in my cert. I tried it in Edge, which also dislikes my cert. Under the subject alternative name, Edge says "not critical" so I was wondering if that was a problem.

    Possibly related to this point -…ternative-name-in-my-cert

    Any thoughts welcome!

    Thanks tkaiser, the card is a new SanDisk one so I hope it's not that.

    I did sudo apt-get install -reinstall for 3 packages that were flagged when cycling through journalctl -xe and restarting smbd

    Seems OK now but I'll RMA the card if it keeps throwing errors.

    Hello all,

    My Odroid HC2 has been working fine, but recently the SMB service won't start.

    I tried to restart the service, no dice. This was the result from sudo journalctl -xe

    -- Unit smbd.service has begun starting up.
    May 11 23:58:23 odroidhc2 smbd[4154]: /usr/sbin/smbd: error while loading shared libraries: /usr/lib/arm-linux-gnueabihf/ cannot read file data: Inpu
    May 11 23:58:23 odroidhc2 kernel: BTRFS warning (device mmcblk1p2): csum failed root 5 ino 72834 off 1167896576 csum 0xe36288ed expected csum 0x23718ab7 mirror 1
    May 11 23:58:23 odroidhc2 systemd[1]: smbd.service: Main process exited, code=exited, status=127/n/a
    May 11 23:58:23 odroidhc2 systemd[1]: Failed to start Samba SMB Daemon.
    -- Subject: Unit smbd.service has failed

    Can anyone suggest how I go about fixing this?

    Thanks for your time.

    Just sharing a small MiniDLNA tip I worked out, hope it saves someone some hair-pulling.

    If you want to use symlinks to share files via MiniDLNA, you might find that media files appear to be served but you can't connect to them.

    You need to enable a config option for this to work:

    Go to the DLNA section in OMV's web GUI.
    Scroll the bottom section named 'Extra options'
    Type in wide_links=yes
    Save and apply.


    OMV can read and write with NTFS though I don't know if performance is better if using ext4 or another typical linux filesystem.
    [edited to agree with Adoby who posted at the same time - I'd personally gradually move things across to ext4]

    SMB is fine and reliable. UnionFS is useful when you have lots of drives.

    If you later change your mind about parity, SnapRAID is also useful.

    OK thanks again tkaiser.

    Taking a lead from another post on that armbian forum, I tried:

    1. Boot with USB drive attached - USB drive not detected.
    2. Plug in an additional 2nd drive (in my case a 2GB flash) - USB drives not detected. But the flash drive LED blinks in a regular pattern, suggesting something's happening.
    3. Boot with both USB drives attached - both detected! Flash drive assigned sda, big desktop drive sdb.

    So I suppose that's a workaround for now.

    Hello all,

    I installed OMV 4 on my Odroid C2 using OMV_4_Odroid_C2.img.xz dated 2018-06-03. MD5 checked out.

    I ran the package updates in the webui and all seemed fine but since a reboot, no USB drives are detected.

    I click 'scan' under the drives section of the webui - only the system's SD card is listed.

    I've tried a few known good drives (external HDD and flash drives) - the indicator lights on the drive don't even light up on connection to USB port.

    I tried booting from my old OMV 3 SD card, to make sure it's not a hardware problem - drives worked fine.

    I tried starting again, reflashing the image - again it's fine before I install updates, but same problem after updates.

    Any suggestions welcome!