Error uninstalling mysql

    • OMV 2.x
    • Resolved

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Error uninstalling mysql

      I've tried to uninstall the mysql plugin but it thows the following error:

      Source Code

      1. ​Error #4000:
      2. exception 'OMVException' with message 'Failed to execute command 'export LANG=C; apt-get --yes --auto-remove --purge remove openmediavault-mysql 2>&1': Reading package lists...
      3. Building dependency tree...
      4. Reading state information...
      5. The following packages will be REMOVED:
      6. dbconfig-common* mywebsql* openmediavault-mysql*
      7. 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
      8. After this operation, 5528 kB disk space will be freed.
      9. (Reading database ...
      10. 113626 files and directories currently installed.)
      11. Removing openmediavault-mysql ...
      12. Reloading nginx configuration:
      13. nginx.
      14. Reloading PHP5 FastCGI Process Manager: php5-fpm
      15. .
      16. Purging configuration files for openmediavault-mysql ...
      17. Removing dbconfig-common ...
      18. Purging configuration files for dbconfig-common ...
      19. debconf: unable to initialize frontend: Dialog
      20. debconf: (TERM is not set, so the dialog frontend is not usable.)
      21. debconf: falling back to frontend: Readline
      22. debconf: unable to initialize frontend: Readline
      23. debconf: (This frontend requires a controlling tty.)
      24. debconf: falling back to frontend: Teletype
      25. Removing mywebsql ...
      26. Purging configuration files for mywebsql ...
      27. rm: cannot remove `/var/lib/mywebsql': No such file or directory
      28. dpkg: error processing mywebsql (--purge):
      29. subprocess installed post-removal script returned error exit status 1
      30. Processing triggers for openmediavault ...
      31. Restarting engine daemon ...
      32. Processing triggers for man-db ...
      33. debconf: unable to initialize frontend: Dialog
      34. debconf: (TERM is not set, so the dialog frontend is not usable.)
      35. debconf: falling back to frontend: Readline
      36. debconf: unable to initialize frontend: Readline
      37. debconf: (This frontend requires a controlling tty.)
      38. debconf: falling back to frontend: Teletype
      39. Errors were encountered while processing:
      40. mywebsql
      41. Creating index of upgradeable packages ...
      42. Creating index of openmediavault plugins ...
      43. E: Sub-process /usr/bin/dpkg returned an error code (1)' in /usr/share/openmediavault/engined/rpc/pluginmgmt.inc:170
      44. Stack trace:
      45. #0 [internal function]: OMVRpcServicePluginMgmt->remove(Array, Array)
      46. #1 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
      47. #2 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('remove', Array, Array)
      48. #3 /usr/sbin/omv-engined(500): OMVRpc::exec('Plugin', 'remove', Array, Array, 1)
      49. #4 {main}
      Display All