Recently started to get errors when trying to make changes with the GUI. When I click on apply I get the following error message:
Code
ERROR:
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; omv-mkconf halt 2>&1' with exit code '127': /usr/share/openmediavault/mkconf/halt: 57: /etc/default/openmediavault: 4c8bc97f-1a07-4e3b-ba6b-7f3aea225fd1: not found
Code
DETAILS:
exception 'OMV\ExecException' with message 'Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; omv-mkconf halt 2>&1' with exit code '127': /usr/share/openmediavault/mkconf/halt: 57: /etc/default/openmediavault: 4c8bc97f-1a07-4e3b-ba6b-7f3aea225fd1: not found' in /usr/share/php/openmediavault/system/process.inc:175
Stack trace:
#0 /usr/share/openmediavault/engined/module/halt.inc(37): OMV\System\Process->execute()
#1 /usr/share/openmediavault/engined/rpc/config.inc(168): OMVModuleHalt->applyConfig()
#2 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
#4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(150): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(528): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatus4S...', '/tmp/bgoutputr0...')
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(151): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#7 /usr/share/openmediavault/engined/rpc/config.inc(213): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
#8 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
#9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): 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(536): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
#12 {main}
Alles anzeigen
I should also mention that at the same time I'm not able to update from the update management on the GUI. Example below:
Code
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
openmediavault-apttool
The following packages will be upgraded:
linux-libc-dev
1 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 1130 kB of archives.
After this operation, 146 kB disk space will be freed.
Err http://security.debian.org/ jessie/updates/main linux-libc-dev amd64 3.16.64-1
Temporary failure resolving 'security.debian.org'
sh: 57: /etc/default/openmediavault: bgoutput9su8fY: not found
(Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 84298 files and directories currently installed.)
Removing openmediavault-apttool (3.5) ...
/var/lib/dpkg/info/openmediavault-apttool.postrm: 57: /etc/default/openmediavault: 4c8bc97f-1a07-4e3b-ba6b-7f3aea225fd1: not found
dpkg: error processing package openmediavault-apttool (--remove):
subprocess installed post-removal script returned error exit status 127
Errors were encountered while processing:
openmediavault-apttool
>>> *************** Error ***************
<<< *************************************
>>> *************** Error ***************
<<< *************************************
Alles anzeigen
Would greatly appreciate if anyone could point me in the right direction to find a solution. Would like to upgrade to OMV 4, but thinking I should have to resolve this problem first or risk losing data on the raid array.