System does not apply updates

  • Hello


    I updated OMV at 6.7.1-2 (Shaitan) version

    The updates worked but the problem is when i try to apply them

    It gives me this error


    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color nfs 2>&1' with exit code '1': debian:

    ----------

    ID: configure_default_nfs-common

    Function: file.managed

    Name: /etc/default/nfs-common

    Result: True

    Comment: File /etc/default/nfs-common is in the correct state

    Started: 12:10:40.552404

    Duration: 237.541 ms

    Changes:

    ----------

    ID: configure_default_nfs-kernel-server

    Function: file.managed

    Name: /etc/default/nfs-kernel-server

    Result: True

    Comment: File /etc/default/nfs-kernel-server is in the correct state

    Started: 12:10:40.790213

    Duration: 171.321 ms

    Changes:

    ----------

    ID: configure_nfsd_exports

    Function: file.managed

    Name: /etc/exports

    Result: True

    Comment: File /etc/exports is in the correct state

    Started: 12:10:40.961682

    Duration: 151.657 ms

    Changes:

    ----------

    ID: start_rpc_statd_service

    Function: service.running

    Name: rpc-statd

    Result: True

    Comment: The service rpc-statd is already running

    Started: 12:10:42.528450

    Duration: 70.059 ms

    Changes:

    ----------

    ID: start_nfs_server_service

    Function: service.running

    Name: nfs-server

    Result: False

    Comment: A dependency job for nfs-server.service failed. See 'journalctl -xe' for details.

    Started: 12:10:42.599977

    Duration: 173.819 ms

    Changes:


    Summary for debian

    ------------

    Succeeded: 4

    Failed: 1

    ------------

    Total states run: 5

    Total run time: 804.397 ms

    [ERROR ] Command '/bin/systemd-run' failed with return code: 1

    [ERROR ] stderr: Running scope as unit: run-r29501d24c71942bc9c96f9ab360dbc65.scope

    A dependency job for nfs-server.service failed. See 'journalctl -xe' for details.

    [ERROR ] retcode: 1

    [ERROR ] A dependency job for nfs-server.service failed. See 'journalctl -xe' for details.


    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; export LANGUAGE=; omv-salt deploy run --no-color nfs 2>&1' with exit code '1': debian:

    ----------

    ID: configure_default_nfs-common

    Function: file.managed

    Name: /etc/default/nfs-common

    Result: True

    Comment: File /etc/default/nfs-common is in the correct state

    Started: 12:10:40.552404

    Duration: 237.541 ms

    Changes:

    ----------

    ID: configure_default_nfs-kernel-server

    Function: file.managed

    Name: /etc/default/nfs-kernel-server

    Result: True

    Comment: File /etc/default/nfs-kernel-server is in the correct state

    Started: 12:10:40.790213

    Duration: 171.321 ms

    Changes:

    ----------

    ID: configure_nfsd_exports

    Function: file.managed

    Name: /etc/exports

    Result: True

    Comment: File /etc/exports is in the correct state

    Started: 12:10:40.961682

    Duration: 151.657 ms

    Changes:

    ----------

    ID: start_rpc_statd_service

    Function: service.running

    Name: rpc-statd

    Result: True

    Comment: The service rpc-statd is already running

    Started: 12:10:42.528450

    Duration: 70.059 ms

    Changes:

    ----------

    ID: start_nfs_server_service

    Function: service.running

    Name: nfs-server

    Result: False

    Comment: A dependency job for nfs-server.service failed. See 'journalctl -xe' for details.

    Started: 12:10:42.599977

    Duration: 173.819 ms

    Changes:


    Summary for debian

    ------------

    Succeeded: 4

    Failed: 1

    ------------

    Total states run: 5

    Total run time: 804.397 ms

    [ERROR ] Command '/bin/systemd-run' failed with return code: 1

    [ERROR ] stderr: Running scope as unit: run-r29501d24c71942bc9c96f9ab360dbc65.scope

    A dependency job for nfs-server.service failed. See 'journalctl -xe' for details.

    [ERROR ] retcode: 1

    [ERROR ] A dependency job for nfs-server.service failed. See 'journalctl -xe' for details. in /usr/share/php/openmediavault/system/process.inc:242

    Stack trace:

    #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()

    #1 /usr/share/openmediavault/engined/rpc/config.inc(174): 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(620): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatuszG...', '/tmp/bgoutputiy...')

    #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))

    #7 /usr/share/openmediavault/engined/rpc/config.inc(195): 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}


    Help me please, as I am not a CLI guy


    Thank you in advance

  • votdev

    Hat das Thema freigeschaltet.
  • -- Journal begins at Tue 2022-10-18 12:06:14 EEST, ends at Thu 2023-08-31 09:46:16 EEST. --

    Oct 18 12:06:19 DATEUMC1 systemd[1]: Starting NFS server and services...

    Oct 18 12:06:21 DATEUMC1 systemd[1]: Started NFS server and services.

    Oct 18 12:36:07 DATEUMC1 systemd[1]: Stopping NFS server and services...

    Oct 18 12:36:08 DATEUMC1 systemd[1]: nfs-server.service: Succeeded.

    Oct 18 12:36:08 DATEUMC1 systemd[1]: Stopped NFS server and services.

    Oct 18 12:36:08 DATEUMC1 systemd[1]: Starting NFS server and services...

    Oct 18 12:36:09 DATEUMC1 systemd[1]: Finished NFS server and services.

    Oct 18 12:36:10 DATEUMC1 systemd[1]: Stopping NFS server and services...

    Oct 18 12:36:10 DATEUMC1 systemd[1]: nfs-server.service: Succeeded.

    Oct 18 12:36:10 DATEUMC1 systemd[1]: Stopped NFS server and services.

    Oct 18 12:36:10 DATEUMC1 systemd[1]: Starting NFS server and services...

    Oct 18 12:36:11 DATEUMC1 systemd[1]: Finished NFS server and services.

    -- Boot a28be9f1cf3040ffb29a8a4d15740972 --

    Jan 09 14:11:57 dateumc1 systemd[1]: Starting NFS server and services...

    Jan 09 14:11:59 dateumc1 systemd[1]: Finished NFS server and services.

    -- Boot f984c6147cc7445e9382de99618aa80f --

    May 27 13:37:28 dateumc1 systemd[1]: Starting NFS server and services...

    May 27 13:37:29 dateumc1 systemd[1]: Finished NFS server and services.

    -- Boot 922cc0bc96fe49d1abd068e695c9950f --

    Jun 07 10:56:41 dateumc1 systemd[1]: Starting NFS server and services...

    Jun 07 10:56:43 dateumc1 systemd[1]: Finished NFS server and services.

    -- Boot 27c73b5da34b44cda17e0f3eab75bbd4 --

    Jun 24 10:01:28 dateumc1 systemd[1]: Starting NFS server and services...

    Jun 24 10:01:29 dateumc1 systemd[1]: Finished NFS server and services.

    -- Boot 42690170e2f044a2937c2bb44fb60e9e --

    Jul 20 12:54:23 dateumc1 systemd[1]: Starting NFS server and services...

    Jul 20 12:54:25 dateumc1 systemd[1]: Finished NFS server and services.

    -- Boot 56a3287d3d3343afa92f2a29c23c8382 --

    Aug 02 12:23:25 dateumc1 systemd[1]: Starting NFS server and services...

    Aug 02 12:23:26 dateumc1 systemd[1]: Finished NFS server and services.

    -- Boot 4fd1d5ea34964cbba3807f2d14fc34db --

    Aug 30 08:40:54 dateumc1 systemd[1]: Dependency failed for NFS server and services.

    Aug 30 08:40:54 dateumc1 systemd[1]: nfs-server.service: Job nfs-server.service/start failed with result 'dependency'.



  • Hi mucriva

    I have been getting very similar errors on my OMV for the past few months - whenever I tried to apply the updates.

    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color systemd-networkd 2>&1' with exit code '1': RPI:


    I am not a CLI guy either - pretty much a Windows person.

    But I did some more digging today and I noticed the following in my OMV error log and found the key error for me was the following:


    A dependency job for netplan-wpa-wlan0.service failed. See 'journalctl -xe' for details.

    Traceback (most recent call last):

    File "/sbin/netplan", line 23, in <module>
    ...
    ....

    subprocess.CalledProcessError: Command '['systemctl', 'start', 'systemd-networkd.service', 'netplan-wpa-wlan0.service', 'netplan-ovs-cleanup.service']' returned non-zero exit status 1.


    I did some more digging for the above wlan related errors, and then eventually remembered I had disabled the Wifi on my PI using the config.txt file using

    dtoverlay=disable-wifi

    and thought it would be worth enabling it back again to see what happened.


    I commented out the above line, rebooting the pi and now the OMV updates apply successfully.

    Obviously, the above is not the same as your problem - but googling the actual error message below the 'A dependency job for xxx failed' might help you get to the bottom of it.
    Good Luck

  • I have the same issue,



    it's due to the browser cache :


    • Offizieller Beitrag

    I have the same issue,



    it's due to the browser cache :


    No, it is because /usr/sbin/rpc.mountd: bad version number: 0. Have a look here.

Jetzt mitmachen!

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