Getting an error message when attepting to make changes from the OMV web GUI.

    • Getting an error message when attepting to make changes from the OMV web GUI.

      Recently started to get errors when trying to make changes with the GUI. When I click on apply I get the following error message:

      Source Code

      1. ERROR:
      2. 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


      Source Code

      1. DETAILS:
      2. 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
      3. Stack trace:
      4. #0 /usr/share/openmediavault/engined/module/halt.inc(37): OMV\System\Process->execute()
      5. #1 /usr/share/openmediavault/engined/rpc/config.inc(168): OMVModuleHalt->applyConfig()
      6. #2 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
      7. #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
      8. #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(150): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
      9. #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(528): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatus4S...', '/tmp/bgoutputr0...')
      10. #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(151): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
      11. #7 /usr/share/openmediavault/engined/rpc/config.inc(213): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
      12. #8 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
      13. #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
      14. #10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
      15. #11 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
      16. #12 {main}
      Display All
      I should also mention that at the same time I'm not able to update from the update management on the GUI. Example below:

      Source Code

      1. Reading package lists...
      2. Building dependency tree...
      3. Reading state information...
      4. The following packages will be REMOVED:
      5. openmediavault-apttool
      6. The following packages will be upgraded:
      7. linux-libc-dev
      8. 1 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
      9. 2 not fully installed or removed.
      10. Need to get 1130 kB of archives.
      11. After this operation, 146 kB disk space will be freed.
      12. Err http://security.debian.org/ jessie/updates/main linux-libc-dev amd64 3.16.64-1
      13. Temporary failure resolving 'security.debian.org'
      14. sh: 57: /etc/default/openmediavault: bgoutput9su8fY: not found
      15. (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.)
      16. Removing openmediavault-apttool (3.5) ...
      17. /var/lib/dpkg/info/openmediavault-apttool.postrm: 57: /etc/default/openmediavault: 4c8bc97f-1a07-4e3b-ba6b-7f3aea225fd1: not found
      18. dpkg: error processing package openmediavault-apttool (--remove):
      19. subprocess installed post-removal script returned error exit status 127
      20. Errors were encountered while processing:
      21. openmediavault-apttool
      22. >>> *************** Error ***************
      23. <<< *************************************
      24. >>> *************** Error ***************
      25. <<< *************************************
      Display All

      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.
    • 1dx wrote:

      should have to resolve this problem first or risk losing data on the raid array.
      Before you upgrade to OMV4 you should remove all plugins which are not more available in OMV4 if any.

      Before upgrading I further recommend to clone the boot drive and to make a full backup of your raid array data. The latter is mandatory.
      OMV 3.0.90 (Gray style)
      ASRock Rack C2550D4I - 16GB ECC - 6x WD RED 3TB (ZFS 2x3 Striped RaidZ1)- Fractal Design Node 304
    • New

      Thanks for the reply cabrio_leo.

      My problem is that I can't make any OMV changes from the Web GUI, including uninstalling (or installing) plugins. Just keep getting the errors detailed above. Maybe possible from the CLI?

      Good advice to clone the boot drive and backup raid array data. I will certainly do that.

      The post was edited 1 time, last by 1dx ().

    • Users Online 1

      1 Guest