Can't get to use OMV 5.0.10-1 as I can't apply changes

  • Hello,


    I have installed 2 instances for different uses (as a reinstall of OMV 4) but can't get any of them to work.


    I tried googling and attempted things like 'salt-call --local saltutil.clear_cache' and 'omv-salt stage run prepare' but I don't really know what the pb is.


    Here is an example when I try to mount one disk:

    Code
    Error #0: OMV\ExecException: 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 fstab 2>&1' with exit code '1': /usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: 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: create_filesystem_mountpoint_796d5a5c-86e1-4aa5-9fd3-9e30ffb5908b Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_796d5a5c-86e1-4aa5-9fd3-9e30ffb5908b for file /etc/fstab was charged by text Started: 14:32:47.846011 Duration: 0.451 ms Changes: ---------- ID: mount_filesystem_mountpoint_796d5a5c-86e1-4aa5-9fd3-9e30ffb5908b Function: mount.mounted Name: /srv/dev-disk-by-label-SSD1To Result: True Comment: Target was already mounted Started: 14:32:47.846861 Duration: 138.729 ms Changes: ---------- ID: create_filesystem_mountpoint_8fefba89-3cb0-4026-888d-253e24028139 Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_8fefba89-3cb0-4026-888d-253e24028139 for file /etc/fstab was charged by text Started: 14:32:47.985753 Duration: 0.66 ms Changes: ---------- ID: mount_filesystem_mountpoint_8fefba89-3cb0-4026-888d-253e24028139 Function: mount.mounted Name: /srv/dev-disk-by-label-HGST 4To Result: False Comment: mount: bad usage Try 'mount --help' for more information. Started: 14:32:47.986481 Duration: 158.221 ms Changes: ---------- ID: append_fstab_entries Function: file.blockreplace Name: /etc/fstab Result: True Comment: No changes needed to be made Started: 14:32:48.145460 Duration: 2.213 ms Changes: Summary for debian ------------ Succeeded: 4 Failed: 1 ------------ Total states run: 5 Total run time: 300.274 ms in /usr/share/php/openmediavault/system/process.inc:182 Stack trace: #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(60): OMV\System\Process->execute() #1 /usr/share/openmediavault/engined/rpc/config.inc(164): OMV\Engine\Module\ServiceAbstract->deploy() #2 [internal function]: Engined\Rpc\Config->applyChanges(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('applyChanges', Array, Array) #5 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(899): OMV\Rpc\Rpc::call('Config', 'applyChanges', Array, Array) #6 [internal function]: Engined\Rpc\OMVRpcServiceFileSystemMgmt->mount(Array, Array) #7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array) #8 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('mount', Array, Array) #9 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('FileSystemMgmt', 'mount', Array, Array, 1) #10 {main}


    Here is another example on the 2nd instance:


  • Thank you. I have changed the labels and rebooted but still getting an error
    and



    I have also tried to remove the entries in fstab like

    Code
    # >>> [openmediavault]
    /dev/disk/by-label/SSD1To               /srv/dev-disk-by-label-SSD1To   extdefaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,discard,acl       0 2
    /dev/disk/by-label/HGST\x204To          /srv/dev-disk-by-label-HGST\0404To ext4     defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl      0 2
    # <<< [openmediavault]


    and

    Code
    # >>> [openmediavault]
    /dev/disk/by-label/Samsung\x20840\x20EVO                /srv/dev-disk-by-label-Samsung\040840\040EVO      ext4    defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl    0 2
    # <<< [openmediavault]


    but still getting an error:


    and fstab gets recreated but with the spaces (x20)
    # >>> [openmediavault]
    /dev/disk/by-label/Samsung\x20840\x20EVO /srv/dev-disk-by-label-Samsung\040840\040EVO ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
    # <<< [openmediavault]


    Thanks for your help

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!