Posts by uaytac

    Hi


    After updating my system, I cannot access OMV interface. When I reboot my OMV ,it works normal. the following day samething occur, cannot access OMV interface then I reboot again and it works normal.

    This started 2 days ago. I just installed the updates, that's all I did.


    When I check Storage/Disk section I saw that something was changed on mounting point or link.

    My system log image shows below.







    This is my settings.


    location /omv {

    return 301 $scheme://$host/omv/;

    }

    location ^~ /omv/ {

    # enable the next two lines for http auth

    #auth_basic "Restricted";

    #auth_basic_user_file /config/nginx/.htpasswd;

    include /config/nginx/proxy.conf;

    resolver 127.0.0.11 valid=30s;

    set $upstream_omv omv;

    rewrite /omv(.*) $1 break;

    proxy_pass http://192.168.0.22:82;

    }

    Hi,


    I have tried to install but still getting below errors.

    Error 1: Failed to get properties: Unit name cockpit-wsinstance-https@.socket is neither a valid invocation ID nor unit name.

    Error 2:

    GetExternalIPAddress failed.

    AddPortMapping(51820, 51820, unset) failed with code 602 (UnknownError)


    Will PortForwarding be for 192.168.0.14 or my OMW (192.168.0.20)?






    Failed to get properties: Unit name cockpit-wsinstance-https@.socket is neither a valid invocation ID nor unit name.

    ● wg-quick@wgnet0.service - WireGuard via wg-quick(8) for wgnet0

    Loaded: loaded (/lib/systemd/system/wg-quick@.service; enabled; vendor preset: enabled)

    Active: active (exited) since Sat 2020-03-28 05:07:47 +03; 13h ago

    Docs: man:wg-quick(8)

    man:wg(8)

    https://www.wireguard.com/

    https://www.wireguard.com/quickstart/

    https://git.zx2c4.com/wireguar…/about/src/man/wg-quick.8

    https://git.zx2c4.com/wireguard-tools/about/src/man/wg.8

    Main PID: 656 (code=exited, status=0/SUCCESS)

    Tasks: 0 (limit: 4915)

    Memory: 0B

    CGroup: /system.slice/system-wg\x2dquick.slice/wg-quick@wgnet0.service


    Mar 28 05:07:44 openmediavault.local systemd[1]: Starting WireGuard via wg-quick(8) for wgnet0...

    Mar 28 05:07:44 openmediavault.local wg-quick[656]: [#] ip link add wgnet0 type wireguard

    Mar 28 05:07:44 openmediavault.local wg-quick[656]: [#] wg setconf wgnet0 /dev/fd/63

    Mar 28 05:07:44 openmediavault.local wg-quick[656]: [#] ip -4 address add 10.192.122.1/24 dev wgnet0

    Mar 28 05:07:45 openmediavault.local wg-quick[656]: [#] ip link set mtu 1420 up dev wgnet0

    Mar 28 05:07:46 openmediavault.local wg-quick[656]: [#] iptables -A FORWARD -i wgnet0 -j ACCEPT; iptables -A FORWARD -o wgnet0 -j ACCEPT; iptables -t nat -A POSTROUTING -o enp0s25 -j MASQUE

    Mar 28 05:07:47 openmediavault.local systemd[1]: Started WireGuard via wg-quick(8) for wgnet0.

    lines 1-21/21 (END)█████████████████████████████████████████████████████████

    █████████████████████████████████████████████████████████

    ████ ▄▄▄▄▄ █ ▀▄ █▀ ▀▄▄▄▄▀▀▀▀▀ ▄█ ▀▄ █▀▄▄▀▄▀▀ █ ▄▄▄▄▄ ████

    ████ █ █ █ █ ▄▀▄█▀ █ █▀▄▀▄ ▀ ▀ ▀▄ ▀ ▄███ ▄█ █ █ ████

    ████ █▄▄▄█ █▀▀▄█ ▀▄▄ ▄▄ █ ▄▄▄ ▄█▀██ ▄█▄ ▀▀███ █▄▄▄█ ████

    █████▀▀█ ▄▄▄ ▀ ▀█▄▀█ ▄▄███ ▄▄▄ ▄█▀▀█ ▄ ▄▀▄██ ▄▄▄ ▀ ██████

    ████ ▄ ▀ █▄█ █▀ ▀▄█▄ ▀▄▀▀▄ █▄█ ▀ █▄ ▄ █▀▀▄█ █▄█ █▄▀█████

    ████ ▀█▀ ▄ ▀ ▄ ▄▀█▀█ ▀▄▄▄ ▄ █▀ ▄▀▄ █▀ ▄▀ ████

    ████▄▄▄███▄▄▀▄▀█▀ ▀▄▀▀▄ █▀ ▄▄▄ ▀▀█ ▄ ▄▄▀ ▀█▀ ▄▄▄ ▄▄▄▄████

    ████ ▄▄▄▄▄ █▀ ███▄ ▀██▀█▄ █▄█ ▄▀ ▄▀ █▀▄█▄▄ █▄█ █ ▄▄████

    ████ █ █ █▄▄ ▄ ▀▀▄█▀ ██ ▄ ▄████ ▀▄█▄ ▄▄▀▄▄ ▄█▄ ▀████

    ████ █▄▄▄█ █▀▀▄▀█ █ ▄ ▄▀█ █▄█▄▀▄█ ▄▄▀█▀▄ ▀ █▄▄ ▀▀ █████

    ████▄▄▄▄▄▄▄█▄█▄█▄▄▄▄▄██▄██▄▄██▄█▄▄█▄██▄█▄█▄▄▄██▄▄▄▄▄▄████

    █████████████████████████████████████████████████████████

    █████████████████████████████████████████████████████████

    Scan this Qrcode in your client. Before connecting ensure that Port 51820 (UDP) is

    forwarded from your router to your Server. Trying to set this up via Upnp now.

    upnpc : miniupnpc library test client, version 2.1.

    (c) 2005-2018 Thomas Bernard.

    Go to http://miniupnp.free.fr/ or https://miniupnp.tuxfamily.org/

    for more information.

    List of UPNP devices found on the network :

    desc: http://192.168.0.14:2869/dmr.xml

    st: upnp:rootdevice


    desc: http://192.168.0.14:2871/dms.xml

    st: upnp:rootdevice


    UPnP device found. Is it an IGD ? : http://192.168.0.14:2869/

    Trying to continue anyway

    Local LAN ip address : unset

    GetExternalIPAddress failed.

    AddPortMapping(51820, 51820, unset) failed with code 602 (UnknownError)

    Finally it works, but still have some problems



    miniupnpc is already the newest version (2.1-1+b1).

    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    public: 0IcKZmBS9NEgodNG+L+OhEvVMddqUdsaOKfUkp+kAC7qng=

    Failed to get properties: Unit name cockpit-wsinstance-https@.socket is neither a valid invocation ID nor unit name.

    ● wg-quick@wgnet0.service - WireGuard via wg-quick(8) for wgnet0

    Loaded: loaded (/lib/systemd/system/wg-quick@.service; enabled; vendor preset: enabled)

    Active: active (exited) since Sun 2020-03-22 00:26:30 +03; 20ms ago

    Docs: man:wg-quick(8)

    man:wg(8)

    https://www.wireguard.com/

    https://www.wireguard.com/quickstart/

    https://git.zx2c4.com/wireguar…/about/src/man/wg-quick.8

    https://git.zx2c4.com/wireguard-tools/about/src/man/wg.8

    Process: 18147 ExecStart=/usr/bin/wg-quick up wgnet0 (code=exited, status=0/SUCCESS)

    Main PID: 18147 (code=exited, status=0/SUCCESS)


    Mar 22 00:26:30 openmediavault.local systemd[1]: Starting WireGuard via wg-quick(8) for wgnet0...

    Mar 22 00:26:30 openmediavault.local wg-quick[18147]: [#] ip link add wgnet0 type wireguard

    Mar 22 00:26:30 openmediavault.local wg-quick[18147]: [#] wg setconf wgnet0 /dev/fd/63

    Mar 22 00:26:30 openmediavault.local wg-quick[18147]: [#] ip -4 address add 10.192.122.1/24 dev wgnet0

    Mar 22 00:26:30 openmediavault.local wg-quick[18147]: [#] ip link set mtu 1420 up dev wgnet0

    Mar 22 00:26:30 openmediavault.local wg-quick[18147]: [#] iptables -A FORWARD -i wgnet0 -j ACCEPT; iptables -A FORWARD -o wgnet0 -j A

    Mar 22 00:26:30 openmediavault.local systemd[1]: Started WireGuard via wg-quick(8) for wgnet0.

    lines 1-19/19 (END)█████████████████████████████████████████████████████████

    █████████████████████████████████████████████████████████

    ████ ▄▄▄▄▄ █▄▀ █▄ ▄▄▀▀█▀ █ ▀ ███ █ ▄▀▄█▀▀▀ █ ▄▄▄▄▄ ████

    ████ █ █ █ ████ ██▀▀█ ▄ ███ ▄▀▀▄█ ▄█ █ █ ████

    ████ █▄▄▄█ █▄▀▀▀▀ ▄▄█▀▀▄█ ▄▄▄ ▄▄ ▄▄▄▀██ ▀███ █▄▄▄█ ████

    ████▄▄▄▄▄▄▄█▄▀ █▄▀▄▀ ▀ █ ▀ █▄█ █ ▀ ▀▄█▄▀ ▀ ▀ █▄▄▄▄▄▄▄████

    ████ ▄ ▀▀▄▀▄█▄█▀ ▄ ▄█▄█ ▄▄▄▄ ▀███▄▀ ▀███▀▀▀▄█▀▄▄▄█▄████

    ████ ▀▄██ ▄█▀▀▄ ▄ ▀█▄▀▀ █ ▀█ ▀▀█ ▀ ▄█▄▀▀█▄▀█▄ ▄▀▀ █████

    ████ █▀ ▄█▄▀ ▀▄█▄▄ ▄██▄▄█▀▄▀ ▄▄▄▀▀ █▄ ▄▀▄███▄▄▄▄█ █▀████

    ████▀█ █▀▄▄ ▀▀▄ ▄▄▀▄ ▀ ▀▀█▀▄▀▀▄█ ▀█▄▀▄ ▀▀▄█ ▄ ▀▀▄█████

    ████▄▀ ▄█▄▄█ ▀ █ █ ▄▄ ▀ ▄▄▀█▀ ▄ ▀▀▄█ ▄▄▄▄ ██▀▀▀ ████


    ████▄█ ▀▀ ▄▀▀▀▀█ ▀▀█▀█▄▄ ▄█▀ ▀█ ▀▄▀█▄█▀ ▀▄█▀▄▄ ▄ ██████

    █████ ▀▀█▄▄ ▀██▀▄█ ▄█ █▄▀ ▄▀▄ ▀█ █ ▄███▄▀█▀▀▀ ▄▀▀ ▀████

    ████▄▄▄███▄█▀█ ▄▄▀██▄ ▀ ▀▀ ▄▄▄ ▀ █▄▀▀▄▄ ▀ ▀ ▄▄▄ ▄ █▀████

    ████ ▄▄▄▄▄ ██▀█▄▄▄▄ ▀▄ ▄█▄ █▄█ ▀▀▀█▀██ ▄▄▀ █▄█ ▀███████

    ████ █ █ █▀▀▄▄▀█▄ ▄▀▀▄ ▀ ▄▄█▀██▄▄ ▄▄▀ ▀█▄▄ ▄ ▀█ ████

    ████ █▄▄▄█ █ █▄██▄▄██ ▄█▄▀▀▄▄ ▀ █▄ ▄ ▄ █▄ ▄▄ ▄▀▄█████

    ████▄▄▄▄▄▄▄█▄▄▄█▄██▄▄█▄▄▄▄███▄█▄▄████▄██████▄█████▄▄▄████

    █████████████████████████████████████████████████████████

    █████████████████████████████████████████████████████████

    Scan this Qrcode in your client. Before connecting ensure that Port 51820 (UDP) is

    forwarded from your router to your Server. Trying to set this up via Upnp now.

    upnpc : miniupnpc library test client, version 2.1.

    (c) 2005-2018 Thomas Bernard.

    Go to http://miniupnp.free.fr/ or https://miniupnp.tuxfamily.org/

    for more information.

    List of UPNP devices found on the network :

    desc: http://192.168.0.14:2869/dmr.xml

    st: upnp:rootdevice


    desc: http://192.168.0.21:8008/ssdp/device-desc.xml

    st: upnp:rootdevice


    UPnP device found. Is it an IGD ? : http://192.168.0.14:2869/

    Trying to continue anyway

    Local LAN ip address : unset

    GetExternalIPAddress failed.

    AddPortMapping(51820, 51820, unset) failed with code 602 (UnknownError)

    root@openmediavault:/#

    I have installed wireguard. but get below error.


    root@openmediavault:~# dkms status

    wireguard, 0.0.20200215: added

    root@openmediavault:~# sudo modprobe wireguard && lsmod | grep wireguard

    modprobe: FATAL: Module wireguard not found in directory /lib/modules/5.4.0-0.bpo.4-amd64



    root@openmediavault:~# dpkg -l | grep wireguard

    ii wireguard 1.0.20200206-2~bpo10+1 all fast, modern, secure kernel VPN tunnel (metapackage)

    ii wireguard-dkms 0.0.20200215-2~bpo10+1 all fast, modern, secure kernel VPN tunnel (DKMS version)

    ii wireguard-tools 1.0.20200206-2~bpo10+1 amd64 fast, modern, secure kernel VPN tunnel (userland utilities)

    root@openmediavault:~#




    root@openmediavault:~# ip addr

    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000

    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

    inet 127.0.0.1/8 scope host lo

    valid_lft forever preferred_lft forever

    inet6 ::1/128 scope host

    valid_lft forever preferred_lft forever

    2: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000

    link/ether 00:23:ae:b0:06:d8 brd ff:ff:ff:ff:ff:ff

    inet 192.168.0.22/24 brd 192.168.0.255 scope global enp0s25

    valid_lft forever preferred_lft forever


    I changed eth0 in script with enp0s25.


    What is the problem?

    I removed the mntent entry from /etc/openmediavault/config.xml. It is cleared the problem. Now When I try to add new shared folder. OMV gives the below error message.


    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 systemd 2>&1' with exit code '1': /usr/lib/python3/dist-packages/salt/modules/file.py:32: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
    from collections import Iterable, Mapping, namedtuple
    debian:
    ----------
    ID: remove_sharedfolder_mount_unit_files
    Function: module.run
    Result: True
    Comment: file.find: ['/etc/systemd/system/sharedfolders-AppData.mount', '/etc/systemd/system/sharedfolders-Downloads.mount', '/etc/systemd/system/sharedfolders-WorkFiles.mount']
    Started: 13:50:28.427936
    Duration: 3.135 ms
    Changes:
    ----------
    file.find:
    - /etc/systemd/system/sharedfolders-AppData.mount
    - /etc/systemd/system/sharedfolders-Downloads.mount
    - /etc/systemd/system/sharedfolders-WorkFiles.mount
    ----------
    ID: configure_sharedfolder_WorkFiles_mount_unit_file
    Function: file.managed
    Name: /etc/systemd/system/sharedfolders-WorkFiles.mount
    Result: True
    Comment: File /etc/systemd/system/sharedfolders-WorkFiles.mount updated
    Started: 13:50:28.432862
    Duration: 3.174 ms
    Changes:
    ----------
    diff:
    New file
    mode:
    0644
    ----------
    ID: configure_sharedfolder_AppData_mount_unit_file
    Function: file.managed
    Name: /etc/systemd/system/sharedfolders-AppData.mount
    Result: True
    Comment: File /etc/systemd/system/sharedfolders-AppData.mount updated
    Started: 13:50:28.436139
    Duration: 2.501 ms
    Changes:
    ----------
    diff:
    New file
    mode:
    0644
    ----------
    ID: configure_sharedfolder_aaaa_mount_unit_file
    Function: file.managed
    Name: /etc/systemd/system/sharedfolders-aaaa.mount
    Result: True
    Comment: File /etc/systemd/system/sharedfolders-aaaa.mount updated
    Started: 13:50:28.438829
    Duration: 12.834 ms
    Changes:
    ----------
    diff:
    New file
    mode:
    0644
    ----------
    ID: sharedfolder_mount_units_systemctl_daemon_reload
    Function: module.run
    Name: service.systemctl_reload
    Result: True
    Comment:
    Started: 13:50:28.451819
    Duration: 0.383 ms
    Changes:
    ----------
    ID: enable_sharedfolder_WorkFiles_mount_unit
    Function: service.enabled
    Name: sharedfolders-WorkFiles.mount
    Result: True
    Comment: Service sharedfolders-WorkFiles.mount is already enabled, and is in the desired state
    Started: 13:50:28.460101
    Duration: 276.577 ms
    Changes:
    ----------
    ID: restart_sharedfolder_WorkFiles_mount_unit
    Function: module.run
    Result: True
    Comment: service.restart: True
    Started: 13:50:28.736954
    Duration: 31.539 ms
    Changes:
    ----------
    service.restart:
    True
    ----------
    ID: enable_sharedfolder_AppData_mount_unit
    Function: service.enabled
    Name: sharedfolders-AppData.mount
    Result: True
    Comment: Service sharedfolders-AppData.mount is already enabled, and is in the desired state
    Started: 13:50:28.768767
    Duration: 20.26 ms
    Changes:
    ----------
    ID: restart_sharedfolder_AppData_mount_unit
    Function: module.run
    Result: False
    Comment: An exception occurred in this state: Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/salt/state.py", line 1933, in call
    **cdata['kwargs'])
    File "/usr/lib/python3/dist-packages/salt/loader.py", line 1951, in wrapper
    return f(*args, **kwargs)
    File "/usr/lib/python3/dist-packages/salt/utils/decorators/__init__.py", line 631, in _decorate
    return self._call_function(kwargs)
    File "/usr/lib/python3/dist-packages/salt/utils/decorators/__init__.py", line 334, in _call_function
    raise error
    File "/usr/lib/python3/dist-packages/salt/utils/decorators/__init__.py", line 321, in _call_function
    return self._function(*args, **kwargs)
    File "/usr/lib/python3/dist-packages/salt/states/module.py", line 294, in run
    func_args=kwargs.get(func))
    File "/usr/lib/python3/dist-packages/salt/states/module.py", line 358, in _call_function
    mret = __salt__[name](*arg_type, **func_kw)
    File "/usr/lib/python3/dist-packages/salt/modules/systemd_service.py", line 906, in restart
    raise CommandExecutionError(_strip_scope(ret['stderr']))
    salt.exceptions.CommandExecutionError: Assertion failed on job for sharedfolders-AppData.mount.
    Started: 13:50:28.789286
    Duration: 21.947 ms
    Changes:
    ----------
    ID: enable_sharedfolder_aaaa_mount_unit
    Function: service.enabled
    Name: sharedfolders-aaaa.mount
    Result: True
    Comment: Service sharedfolders-aaaa.mount has been enabled, and is in the desired state
    Started: 13:50:28.811503
    Duration: 312.583 ms
    Changes:
    ----------
    sharedfolders-aaaa.mount:
    True
    ----------
    ID: restart_sharedfolder_aaaa_mount_unit
    Function: module.run
    Result: True
    Comment: service.restart: True
    Started: 13:50:29.124353
    Duration: 28.31 ms
    Changes:
    ----------
    service.restart:
    True
    ----------
    ID: configure_tmp_mount_unit_file
    Function: file.managed
    Name: /etc/systemd/system/tmp.mount
    Result: True
    Comment: File /etc/systemd/system/tmp.mount is in the correct state
    Started: 13:50:29.152934
    Duration: 29.397 ms
    Changes:
    ----------
    ID: tmp_mount_unit_systemctl_daemon_reload
    Function: module.run
    Name: service.systemctl_reload
    Result: True
    Comment: State was not run because none of the onchanges reqs changed
    Started: 13:50:29.182948
    Duration: 0.004 ms
    Changes:


    Summary for debian
    -------------
    Succeeded: 12 (changed=7)
    Failed: 1
    -------------
    Total states run: 13
    Total run time: 742.644 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(167): 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/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
    #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusbW...', '/tmp/bgoutput1o...')
    #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
    #7 /usr/share/openmediavault/engined/rpc/config.inc(189): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
    #8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array)
    #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
    #10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
    #11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
    #12 {main}

    I removed the mntent entry from /etc/openmediavault/config.xml. It is cleared the problem. Now When I try to add new shared folder. OMV gives the below error message.


    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 systemd 2>&1' with exit code '1': /usr/lib/python3/dist-packages/salt/modules/file.py:32: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
    from collections import Iterable, Mapping, namedtuple
    debian:
    ----------
    ID: remove_sharedfolder_mount_unit_files
    Function: module.run
    Result: True
    Comment: file.find: ['/etc/systemd/system/sharedfolders-AppData.mount', '/etc/systemd/system/sharedfolders-Downloads.mount', '/etc/systemd/system/sharedfolders-WorkFiles.mount']
    Started: 13:50:28.427936
    Duration: 3.135 ms
    Changes:
    ----------
    file.find:
    - /etc/systemd/system/sharedfolders-AppData.mount
    - /etc/systemd/system/sharedfolders-Downloads.mount
    - /etc/systemd/system/sharedfolders-WorkFiles.mount
    ----------
    ID: configure_sharedfolder_WorkFiles_mount_unit_file
    Function: file.managed
    Name: /etc/systemd/system/sharedfolders-WorkFiles.mount
    Result: True
    Comment: File /etc/systemd/system/sharedfolders-WorkFiles.mount updated
    Started: 13:50:28.432862
    Duration: 3.174 ms
    Changes:
    ----------
    diff:
    New file
    mode:
    0644
    ----------
    ID: configure_sharedfolder_AppData_mount_unit_file
    Function: file.managed
    Name: /etc/systemd/system/sharedfolders-AppData.mount
    Result: True
    Comment: File /etc/systemd/system/sharedfolders-AppData.mount updated
    Started: 13:50:28.436139
    Duration: 2.501 ms
    Changes:
    ----------
    diff:
    New file
    mode:
    0644
    ----------
    ID: configure_sharedfolder_aaaa_mount_unit_file
    Function: file.managed
    Name: /etc/systemd/system/sharedfolders-aaaa.mount
    Result: True
    Comment: File /etc/systemd/system/sharedfolders-aaaa.mount updated
    Started: 13:50:28.438829
    Duration: 12.834 ms
    Changes:
    ----------
    diff:
    New file
    mode:
    0644
    ----------
    ID: sharedfolder_mount_units_systemctl_daemon_reload
    Function: module.run
    Name: service.systemctl_reload
    Result: True
    Comment:
    Started: 13:50:28.451819
    Duration: 0.383 ms
    Changes:
    ----------
    ID: enable_sharedfolder_WorkFiles_mount_unit
    Function: service.enabled
    Name: sharedfolders-WorkFiles.mount
    Result: True
    Comment: Service sharedfolders-WorkFiles.mount is already enabled, and is in the desired state
    Started: 13:50:28.460101
    Duration: 276.577 ms
    Changes:
    ----------
    ID: restart_sharedfolder_WorkFiles_mount_unit
    Function: module.run
    Result: True
    Comment: service.restart: True
    Started: 13:50:28.736954
    Duration: 31.539 ms
    Changes:
    ----------
    service.restart:
    True
    ----------
    ID: enable_sharedfolder_AppData_mount_unit
    Function: service.enabled
    Name: sharedfolders-AppData.mount
    Result: True
    Comment: Service sharedfolders-AppData.mount is already enabled, and is in the desired state
    Started: 13:50:28.768767
    Duration: 20.26 ms
    Changes:
    ----------
    ID: restart_sharedfolder_AppData_mount_unit
    Function: module.run
    Result: False
    Comment: An exception occurred in this state: Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/salt/state.py", line 1933, in call
    **cdata['kwargs'])
    File "/usr/lib/python3/dist-packages/salt/loader.py", line 1951, in wrapper
    return f(*args, **kwargs)
    File "/usr/lib/python3/dist-packages/salt/utils/decorators/__init__.py", line 631, in _decorate
    return self._call_function(kwargs)
    File "/usr/lib/python3/dist-packages/salt/utils/decorators/__init__.py", line 334, in _call_function
    raise error
    File "/usr/lib/python3/dist-packages/salt/utils/decorators/__init__.py", line 321, in _call_function
    return self._function(*args, **kwargs)
    File "/usr/lib/python3/dist-packages/salt/states/module.py", line 294, in run
    func_args=kwargs.get(func))
    File "/usr/lib/python3/dist-packages/salt/states/module.py", line 358, in _call_function
    mret = __salt__[name](*arg_type, **func_kw)
    File "/usr/lib/python3/dist-packages/salt/modules/systemd_service.py", line 906, in restart
    raise CommandExecutionError(_strip_scope(ret['stderr']))
    salt.exceptions.CommandExecutionError: Assertion failed on job for sharedfolders-AppData.mount.
    Started: 13:50:28.789286
    Duration: 21.947 ms
    Changes:
    ----------
    ID: enable_sharedfolder_aaaa_mount_unit
    Function: service.enabled
    Name: sharedfolders-aaaa.mount
    Result: True
    Comment: Service sharedfolders-aaaa.mount has been enabled, and is in the desired state
    Started: 13:50:28.811503
    Duration: 312.583 ms
    Changes:
    ----------
    sharedfolders-aaaa.mount:
    True
    ----------
    ID: restart_sharedfolder_aaaa_mount_unit
    Function: module.run
    Result: True
    Comment: service.restart: True
    Started: 13:50:29.124353
    Duration: 28.31 ms
    Changes:
    ----------
    service.restart:
    True
    ----------
    ID: configure_tmp_mount_unit_file
    Function: file.managed
    Name: /etc/systemd/system/tmp.mount
    Result: True
    Comment: File /etc/systemd/system/tmp.mount is in the correct state
    Started: 13:50:29.152934
    Duration: 29.397 ms
    Changes:
    ----------
    ID: tmp_mount_unit_systemctl_daemon_reload
    Function: module.run
    Name: service.systemctl_reload
    Result: True
    Comment: State was not run because none of the onchanges reqs changed
    Started: 13:50:29.182948
    Duration: 0.004 ms
    Changes:


    Summary for debian
    -------------
    Succeeded: 12 (changed=7)
    Failed: 1
    -------------
    Total states run: 13
    Total run time: 742.644 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(167): 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/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
    #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusbW...', '/tmp/bgoutput1o...')
    #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
    #7 /usr/share/openmediavault/engined/rpc/config.inc(189): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
    #8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array)
    #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
    #10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
    #11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
    #12 {main}

    Hi,From


    I have installed 3nd. harddrive. Then from web interface Storage/Disks, I pressed wipe button on 3nd. drive. It did not work. When I checked my data disk, it was empty. I removed 3nd. harddrive and rebooted system. It is still empty. How Can I retrieve my files?