Lately after applying updates via the OMV GUI, I'm receiving an error, and having trouble understanding how to resolve it.
The error is:
Code
Summary for debian
------------
Succeeded: 4 (changed=3)
Failed: 1
------------
Total states run: 5
Total run time: 792.824 ms
[ERROR ] Command '/bin/systemd-run' failed with return code: 1
[ERROR ] stderr: Running scope as unit: run-r9bcf03eaa6874cf685e47b947eed0ed9.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 updated
Started: 12:49:07.310788
Duration: 154.837 ms
Changes:
----------
diff:
---
+++
@@ -1,19 +1,18 @@
-# If you do not set values for the NEED_ options, they will be attempted
-# autodetected; this should be sufficient for most people. Valid alternatives
-# for the NEED_ options are "yes" and "no".
+# This file is auto-generated by openmediavault (https://www.openmediavault.org)
+# WARNING: Do not edit this file, your changes will get lost.
# Do you want to start the statd daemon? It is not needed for NFSv4.
-NEED_STATD=
+NEED_STATD="yes"
# Options for rpc.statd.
# Should rpc.statd listen on a specific port? This is especially useful
# when you have a port-based firewall. To use a fixed port, set this
# this variable to a statd argument like: "--port 4000 --outgoing-port 4001".
# For more information, see rpc.statd(8) or http://wiki.debian.org/SecuringNFS
-STATDOPTS=
+STATDOPTS=""
# Do you want to start the idmapd daemon? It is only needed for NFSv4.
-NEED_IDMAPD=
+NEED_IDMAPD="yes"
# Do you want to start the gssd daemon? It is required for Kerberos mounts.
NEED_GSSD=
----------
ID: configure_default_nfs-kernel-server
Function: file.managed
Name: /etc/default/nfs-kernel-server
Result: True
Comment: File /etc/default/nfs-kernel-server updated
Started: 12:49:07.465743
Duration: 155.517 ms
Changes:
----------
diff:
---
+++
@@ -2,13 +2,20 @@
# WARNING: Do not edit this file, your changes will get lost.
# Number of servers to start up
-RPCNFSDCOUNT=8
+RPCNFSDCOUNT="8"
+
# Runtime priority of server (see nice(1))
-RPCNFSDPRIORITY=0
+RPCNFSDPRIORITY="0"
+
+# Options for rpc.nfsd.
+RPCNFSDOPTS="--no-nfs-version 2 --nfs-version 4.2 --nfs-version 4.1 --nfs-version 4 --nfs-version 3 --nfs-version "
+
# Options for rpc.mountd.
-RPCMOUNTDOPTS="--manage-gids"
+RPCMOUNTDOPTS="--no-nfs-version 2 --nfs-version 0 --nfs-version 3 --nfs-version 4 --manage-gids"
+
# Do you want to start the svcgssd daemon? It is only required for Kerberos
# exports.
NEED_SVCGSSD=
+
# Options for rpc.svcgssd.
-RPCSVCGSSDOPTS=
+RPCSVCGSSDOPTS=""
----------
ID: configure_nfsd_exports
Function: file.managed
Name: /etc/exports
Result: True
Comment: File /etc/exports is in the correct state
Started: 12:49:07.621380
Duration: 147.119 ms
Changes:
----------
ID: start_rpc_statd_service
Function: service.running
Name: rpc-statd
Result: True
Comment: Service restarted
Started: 12:49:08.713919
Duration: 85.899 ms
Changes:
----------
rpc-statd:
True
----------
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:49:08.848373
Duration: 249.452 ms
Changes:
Summary for debian
------------
Succeeded: 4 (changed=3)
Failed: 1
------------
Total states run: 5
Total run time: 792.824 ms
[ERROR ] Command '/bin/systemd-run' failed with return code: 1
[ERROR ] stderr: Running scope as unit: run-r9bcf03eaa6874cf685e47b947eed0ed9.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(178): 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/bgstatusbG...', '/tmp/bgoutput1v...')
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#7 /usr/share/openmediavault/engined/rpc/config.inc(199): 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}
Display More
Running jounalctrl -xe as suggested just returns the same error. The error suggests something is wrong with the NFS service, but as far as I can tell it's functional.