Just ran an update of installed packages and now my OMV NAS is completely broken!
OMV 6.6.0-2 running on a Raspberry Pi 3.
Prior to this latest update, it had been up and running fine for over 100 days, but now...
The NFS service will not start... the dashboard is showing this service as "not running"
(Yes, the service is enabled in the settings and the shares are setup correctly, it was ALL WORKING FINE until I ran the latest update).
The yellow "pending configuration changes" banner across the top of the page will not go away when I click the check mark...
... It just sits there forever and then after a long time it finally spits out this really long error in a big red box.
```
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:
----------
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: 17:14:43.091877
Duration: 1106.187 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: 17:14:44.198874
Duration: 1036.782 ms
Changes:
----------
ID: configure_nfsd_exports
Function: file.managed
Name: /etc/exports
Result: True
Comment: File /etc/exports is in the correct state
Started: 17:14:45.236641
Duration: 1137.721 ms
Changes:
----------
ID: start_rpc_statd_service
Function: service.running
Name: rpc-statd
Result: True
Comment: The service rpc-statd is already running
Started: 17:14:53.444500
Duration: 220.607 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: 17:14:53.670358
Duration: 431.158 ms
Changes:
Summary for OMV
------------
Succeeded: 4
Failed: 1
------------
Total states run: 5
Total run time: 3.932 s
[ERROR ] Command '/bin/systemd-run' failed with return code: 1
[ERROR ] stderr: Running scope as unit: run-rd3d38abdf47b4c139d9af49175b6551a.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': OMV:
----------
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: 17:14:43.091877
Duration: 1106.187 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: 17:14:44.198874
Duration: 1036.782 ms
Changes:
----------
ID: configure_nfsd_exports
Function: file.managed
Name: /etc/exports
Result: True
Comment: File /etc/exports is in the correct state
Started: 17:14:45.236641
Duration: 1137.721 ms
Changes:
----------
ID: start_rpc_statd_service
Function: service.running
Name: rpc-statd
Result: True
Comment: The service rpc-statd is already running
Started: 17:14:53.444500
Duration: 220.607 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: 17:14:53.670358
Duration: 431.158 ms
Changes:
Summary for OMV
------------
Succeeded: 4
Failed: 1
------------
Total states run: 5
Total run time: 3.932 s
[ERROR ] Command '/bin/systemd-run' failed with return code: 1
[ERROR ] stderr: Running scope as unit: run-rd3d38abdf47b4c139d9af49175b6551a.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/bgstatusV6...', '/tmp/bgoutputsp...')
#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}
```
Really doesn't inspire any confidence in your software that a simple, routine package upgrade can render the file server completely unusable.
What I have tried to fix this:
I tried rebooting the OMV Pi, no fix, all problems persist.
I have tried removing duplicate & unused UUID references from
/etc/openmediavault/config.xml
and
/etc/monit/conf.d/openmediavault-filesystem.conf
and
removing any unused folders from /srv
and then rebooting... no fix, all problems persist.
I need to fix this asap. How do I get access to my files again?!?!?!?