I just noticed that I had pending updates on my EON. I installed the updated but when I click the check to apply the “Pending Configuration changes” I get an error. The notification says this:
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': eon:
----------
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: 10:30:40.867724
Duration: 389.194 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: 10:30:41.257304
Duration: 375.001 ms
Changes:
----------
ID: configure_nfsd_exports
Function: file.managed
Name: /etc/exports
Result: True
Comment: File /etc/exports is in the correct state
Started: 10:30:41.632687
Duration: 384.6 ms
Changes:
----------
ID: start_rpc_statd_service
Function: service.running
Name: rpc-statd
Result: True
Comment: The service rpc-statd is already running
Started: 10:30:45.141542
Duration: 102.738 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: 10:30:45.246322
Duration: 186.067 ms
Changes:
Summary for eon
------------
Succeeded: 4
Failed: 1
------------
Total states run: 5
Total run time: 1.438 s
[ERROR ] Command '/bin/systemd-run' failed with return code: 1
[ERROR ] stderr: Running scope as unit: run-re9b1c4a2a3ef49f89b18ebfc543b46ec.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': eon:
----------
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: 10:30:40.867724
Duration: 389.194 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: 10:30:41.257304
Duration: 375.001 ms
Changes:
----------
ID: configure_nfsd_exports
Function: file.managed
Name: /etc/exports
Result: True
Comment: File /etc/exports is in the correct state
Started: 10:30:41.632687
Duration: 384.6 ms
Changes:
----------
ID: start_rpc_statd_service
Function: service.running
Name: rpc-statd
Result: True
Comment: The service rpc-statd is already running
Started: 10:30:45.141542
Duration: 102.738 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: 10:30:45.246322
Duration: 186.067 ms
Changes:
Summary for eon
------------
Succeeded: 4
Failed: 1
------------
Total states run: 5
Total run time: 1.438 s
[ERROR ] Command '/bin/systemd-run' failed with return code: 1
[ERROR ] stderr: Running scope as unit: run-re9b1c4a2a3ef49f89b18ebfc543b46ec.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/bgstatus0s...', '/tmp/bgoutputQr...')
#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}
I then opened a ssh terminal to the EON and did":
$ sudo apt update
...
47 packages can be upgraded. Run 'apt list --upgradable' to see them.
N: Repository 'http://archive.raspberrypi.org/debian bullseye InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
N: Repository 'http://deb.debian.org/debian bullseye InRelease' changed its 'Version' value from '11.7' to '11.8'
$ apt list --upgradable
Listing... Done
curl/oldstable-security 7.74.0-1.3+deb11u10 arm64 [upgradable from: 7.74.0-1.3+deb11u9]
libc-bin/oldstable 2.31-13+rpt2+rpi1+deb11u7 arm64 [upgradable from: 2.31-13+rpt2+rpi1+deb11u5]
libc-dev-bin/oldstable 2.31-13+rpt2+rpi1+deb11u7 arm64 [upgradable from: 2.31-13+rpt2+rpi1+deb11u5]
libc-devtools/oldstable 2.31-13+rpt2+rpi1+deb11u7 arm64 [upgradable from: 2.31-13+rpt2+rpi1+deb11u5]
libc-l10n/oldstable,oldstable 2.31-13+rpt2+rpi1+deb11u7 all [upgradable from: 2.31-13+rpt2+rpi1+deb11u5]
libc6-dbg/oldstable 2.31-13+rpt2+rpi1+deb11u7 arm64 [upgradable from: 2.31-13+rpt2+rpi1+deb11u5]
libc6-dev/oldstable 2.31-13+rpt2+rpi1+deb11u7 arm64 [upgradable from: 2.31-13+rpt2+rpi1+deb11u5]
libc6/oldstable 2.31-13+rpt2+rpi1+deb11u7 arm64 [upgradable from: 2.31-13+rpt2+rpi1+deb11u5]
libcurl3-gnutls/oldstable-security 7.74.0-1.3+deb11u10 arm64 [upgradable from: 7.74.0-1.3+deb11u9]
libcurl4/oldstable-security 7.74.0-1.3+deb11u10 arm64 [upgradable from: 7.74.0-1.3+deb11u9]
libx11-6/oldstable-security 2:1.7.2-1+deb11u2 arm64 [upgradable from: 2:1.7.2-1+deb11u1]
libx11-data/oldstable-security,oldstable-security 2:1.7.2-1+deb11u2 all [upgradable from: 2:1.7.2-1+deb11u1]
libxpm4/oldstable-security 1:3.5.12-1.1+deb11u1 arm64 [upgradable from: 1:3.5.12-1.1~deb11u1]
locales/oldstable,oldstable 2.31-13+rpt2+rpi1+deb11u7 all [upgradable from: 2.31-13+rpt2+rpi1+deb11u5]
openmediavault/shaitan,shaitan,shaitan,shaitan 6.9.3-1 all [upgradable from: 6.9.1-1]
salt-common/shaitan,shaitan,shaitan,shaitan 3006.0+ds-1+197.1 all [upgradable from: 3006.0+ds-1+191.1]
salt-minion/shaitan,shaitan,shaitan,shaitan 3006.0+ds-1+197.1 all [upgradable from: 3006.0+ds-1+191.1]
Looks like the OMV update did not install. So I did a ‘sudo apt upgrade’. That installed the updates with no issues.
But OMV still shows The “Pending configuration changes” at the top and fails when I click the apply check.
There was a new notification that a reboot was needed so I did that. After the reboot I still see the “Pending configuration chanages” and trying to apply them fails again.
How do I fix this?
Thanks