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': omv.localdomain:
----------
ID: configure_nfs_conf
Function: file.managed
Name: /etc/nfs.conf.d/99-openmediavault.conf
Result: True
Comment: File /etc/nfs.conf.d/99-openmediavault.conf updated
Started: 12:46:26.280527
Duration: 161.302 ms
Changes:
----------
diff:
---
+++
@@ -4,10 +4,10 @@
[nfsd]
threads=32
udp=yes
-tcp=yes
+tcp=no
vers2=no
vers3=yes
-vers4=yes
-vers4.0=yes
+vers4=no
+vers4.0=no
vers4.1=no
vers4.2=no
----------
ID: configure_idmapd_conf
Function: file.managed
Name: /etc/idmapd.conf
Result: True
Comment: File /etc/idmapd.conf is in the correct state
Started: 12:46:26.441944
Duration: 111.17 ms
Changes:
----------
ID: divert_idmapd_conf
Function: omv_dpkg.divert_add
Name: /etc/idmapd.conf
Result: True
Comment: Leaving 'local diversion of /etc/idmapd.conf to /etc/idmapd.conf.distrib'
Started: 12:46:26.553530
Duration: 17.796 ms
Changes:
----------
ID: configure_nfs_exports
Function: file.managed
Name: /etc/exports
Result: True
Comment: File /etc/exports updated
Started: 12:46:26.571488
Duration: 205.297 ms
Changes:
----------
diff:
---
+++
@@ -6,4 +6,3 @@
/export/fred-home 192.168.1.0/24(fsid=4f32710b-30ff-4d44-aa72-4e39fb84530b,rw,subtree_check,insecure)
/export/multimedia 192.168.1.0/24(fsid=049d0518-08ad-4441-848e-e7322f5ac704,rw,subtree_check,insecure)
/export/YTS-RARBG-Torrents 192.168.1.0/24(fsid=9a2b9017-f4e1-4233-a936-870369222872,rw,subtree_check,insecure)
-/export 192.168.1.0/24(ro,fsid=0,root_squash,no_subtree_check)
----------
ID: divert_nfs_exports
Function: omv_dpkg.divert_add
Name: /etc/exports
Result: True
Comment: Leaving 'local diversion of /etc/exports to /etc/exports.distrib'
Started: 12:46:26.776901
Duration: 16.893 ms
Changes:
----------
ID: stop_nfs_blkmap_service
Function: service.dead
Name: nfs-blkmap
Result: True
Comment: The service nfs-blkmap is already dead
Started: 12:46:27.661315
Duration: 33.858 ms
Changes:
----------
ID: mask_nfs_blkmap_service
Function: service.masked
Name: nfs-blkmap
Result: True
Comment: Service nfs-blkmap is already masked
Started: 12:46:27.695320
Duration: 0.59 ms
Changes:
----------
ID: start_nfs_server_service
Function: service.running
Name: nfs-server
Result: False
Comment: Job for nfs-server.service canceled.
Started: 12:46:27.725750
Duration: 290.265 ms
Changes:
----------
ID: restart_nfs_utils_service
Function: service.running
Name: nfs-utils
Result: True
Comment: Service restarted
Started: 12:46:28.055799
Duration: 62.475 ms
Changes:
----------
nfs-utils:
True
Summary for omv.localdomain
------------
Succeeded: 8 (changed=3)
Failed: 1
------------
Total states run: 9
Total run time: 899.646 ms
[ERROR ] Command '/bin/systemd-run' failed with return code: 1
[ERROR ] stderr: Running scope as unit: run-r82e779f4a23f4b37a405769c076a3fa7.scope
Job for nfs-server.service canceled.
[ERROR ] retcode: 1
[ERROR ] Job for nfs-server.service canceled.
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': omv.localdomain:
----------
ID: configure_nfs_conf
Function: file.managed
Name: /etc/nfs.conf.d/99-openmediavault.conf
Result: True
Comment: File /etc/nfs.conf.d/99-openmediavault.conf updated
Started: 12:46:26.280527
Duration: 161.302 ms
Changes:
----------
diff:
---
+++
@@ -4,10 +4,10 @@
[nfsd]
threads=32
udp=yes
-tcp=yes
+tcp=no
vers2=no
vers3=yes
-vers4=yes
-vers4.0=yes
+vers4=no
+vers4.0=no
vers4.1=no
vers4.2=no
----------
ID: configure_idmapd_conf
Function: file.managed
Name: /etc/idmapd.conf
Result: True
Comment: File /etc/idmapd.conf is in the correct state
Started: 12:46:26.441944
Duration: 111.17 ms
Changes:
----------
ID: divert_idmapd_conf
Function: omv_dpkg.divert_add
Name: /etc/idmapd.conf
Result: True
Comment: Leaving 'local diversion of /etc/idmapd.conf to /etc/idmapd.conf.distrib'
Started: 12:46:26.553530
Duration: 17.796 ms
Changes:
----------
ID: configure_nfs_exports
Function: file.managed
Name: /etc/exports
Result: True
Comment: File /etc/exports updated
Started: 12:46:26.571488
Duration: 205.297 ms
Changes:
----------
diff:
---
+++
@@ -6,4 +6,3 @@
/export/fred-home 192.168.1.0/24(fsid=4f32710b-30ff-4d44-aa72-4e39fb84530b,rw,subtree_check,insecure)
/export/multimedia 192.168.1.0/24(fsid=049d0518-08ad-4441-848e-e7322f5ac704,rw,subtree_check,insecure)
/export/YTS-RARBG-Torrents 192.168.1.0/24(fsid=9a2b9017-f4e1-4233-a936-870369222872,rw,subtree_check,insecure)
-/export 192.168.1.0/24(ro,fsid=0,root_squash,no_subtree_check)
----------
ID: divert_nfs_exports
Function: omv_dpkg.divert_add
Name: /etc/exports
Result: True
Comment: Leaving 'local diversion of /etc/exports to /etc/exports.distrib'
Started: 12:46:26.776901
Duration: 16.893 ms
Changes:
----------
ID: stop_nfs_blkmap_service
Function: service.dead
Name: nfs-blkmap
Result: True
Comment: The service nfs-blkmap is already dead
Started: 12:46:27.661315
Duration: 33.858 ms
Changes:
----------
ID: mask_nfs_blkmap_service
Function: service.masked
Name: nfs-blkmap
Result: True
Comment: Service nfs-blkmap is already masked
Started: 12:46:27.695320
Duration: 0.59 ms
Changes:
----------
ID: start_nfs_server_service
Function: service.running
Name: nfs-server
Result: False
Comment: Job for nfs-server.service canceled.
Started: 12:46:27.725750
Duration: 290.265 ms
Changes:
----------
ID: restart_nfs_utils_service
Function: service.running
Name: nfs-utils
Result: True
Comment: Service restarted
Started: 12:46:28.055799
Duration: 62.475 ms
Changes:
----------
nfs-utils:
True
Summary for omv.localdomain
------------
Succeeded: 8 (changed=3)
Failed: 1
------------
Total states run: 9
Total run time: 899.646 ms
[ERROR ] Command '/bin/systemd-run' failed with return code: 1
[ERROR ] stderr: Running scope as unit: run-r82e779f4a23f4b37a405769c076a3fa7.scope
Job for nfs-server.service canceled.
[ERROR ] retcode: 1
[ERROR ] Job for nfs-server.service canceled. in /usr/share/php/openmediavault/system/process.inc:247
Stack trace:
#0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()
#1 /usr/share/openmediavault/engined/rpc/config.inc(186): OMV\Engine\Module\ServiceAbstract->deploy()
#2 [internal function]: Engined\Rpc\Config->applyChanges()
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(122): call_user_func_array()
#4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod()
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(622): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}()
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(146): OMV\Rpc\ServiceAbstract->execBgProc()
#7 /usr/share/openmediavault/engined/rpc/config.inc(207): OMV\Rpc\ServiceAbstract->callMethodBg()
#8 [internal function]: Engined\Rpc\Config->applyChangesBg()
#9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(122): call_user_func_array()
#10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod()
#11 /usr/sbin/omv-engined(544): OMV\Rpc\Rpc::call()
#12 {main}