Greyhole is not Running after OMV Update

    • OMV 2.x
    • Interface works now but can not activate

      Good work. But now i dont can see the pools. And when i install the database, go to activate. It gives a message:
      Invalid method parameter: db_message does not exist, and it is not an optional property.

      Any idea whats going wrong. I can not klick on Pools, Samba Share or import data.

      More information from the message:
      Fehler #2002:
      exception 'OMVException' with message 'Invalid method parameter: db_message does not exist, and it is not an optional property.' in /usr/share/php/openmediavault/rpcservice.inc:187
      Stack trace:
      #0 /usr/share/openmediavault/engined/rpc/greyhole.inc(129): OMVRpcServiceAbstract->validateMethodParams(Array, '{\r\n ...')
      #1 [internal function]: OMVRpcServiceGreyhole->setSettings(Array, Array)
      #2 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
      #3 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('setSettings', Array, Array)
      #4 /usr/sbin/omv-engined(500): OMVRpc::exec('Greyhole', 'setSettings', Array, Array, 1)
      #5 {main}

      Thank you and i hope anybody can help me.
    • The plugin works in my VM. Try clearing your browser cache. I switched the type of display that db_message is and your browser having old cache would cause this problem.

      The opensuse error is unrelated. You probably have it enabled for owncloud??
      omv 4.1.22 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.15
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • What is the output of:
      dpkg -l | grep openmediavault
      dpkg -l | grep greyhole

      That said, I am getting an installation error (maybe this is part of your problem) when installing just greyhole on a fresh Debian system - maybe @gboudreau has an idea about this:

      Source Code

      1. root@openmediavault:~# apt-get install greyhole
      2. Reading package lists... Done
      3. Building dependency tree
      4. Reading state information... Done
      5. The following NEW packages will be installed:
      6. greyhole
      7. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
      8. Need to get 0 B/183 kB of archives.
      9. After this operation, 0 B of additional disk space will be used.
      10. Selecting previously unselected package greyhole.
      11. (Reading database ... 30631 files and directories currently installed.)
      12. Unpacking greyhole (from .../greyhole_0.9.61-3_amd64.deb) ...
      13. Processing triggers for man-db ...
      14. Setting up greyhole (0.9.61-3) ...
      15. update-rc.d: using dependency based boot sequencing
      16. Shutting down Greyhole ... FAILED
      17. Starting Greyhole ... Jul 06 14:16:20 ERROR test-config: You have no 'storage_pool_drive' defined. Greyhole can't run.
      18. Jul 06 14:16:20 CRITICAL test-config: Config file parsing failed. Exiting.
      19. FAILED
      20. dpkg: error processing greyhole (--configure):
      21. subprocess installed post-installation script returned error exit status 1
      22. Errors were encountered while processing:
      23. greyhole
      24. Creating index of upgradeable packages ...
      25. Creating index of OpenMediaVault plugins ...
      26. E: Sub-process /usr/bin/dpkg returned an error code (1)
      27. root@openmediavault:~#
      Display All
      omv 4.1.22 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.15
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • dpkg -l | grep openmediavault
      ii openmediavault 2.1 all Open network attached storage solution
      ii openmediavault-greyhole 2.0 all OpenMediaVault Greyhole (Storage pool server) plugin
      ii openmediavault-keyring 0.3 all GnuPG archive keys of the OpenMediaVault archive
      ii openmediavault-lvm2 2.1 all OpenMediaVault Logical Volume Manager (LVM2) plugin
      ii openmediavault-mysql 1.0.16 all MySQL plugin for OpenMediaVault.
      ii openmediavault-omvextrasorg 1.29 all OMV-Extras.org Package Repositories for OpenMediaVault

      dpkg -l | grep greyhole
      ii greyhole 0.9.61-1 amd64 Drive pooling technology for Samba
      ii openmediavault-greyhole 2.0 all OpenMediaVault Greyhole (Storage pool server) plugin
    • Everything is installed fine. Try omv-mkconf omvextrasorg aptclean again and clearing your browser cache again.
      omv 4.1.22 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.15
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • ryecoaaron wrote:

      That said, I am getting an installation error (maybe this is part of your problem) when installing just greyhole on a fresh Debian system - maybe @gboudreau has an idea about this:

      Source Code

      1. root@openmediavault:~# apt-get install greyhole
      2. Reading package lists... Done
      3. Building dependency tree
      4. Reading state information... Done
      5. The following NEW packages will be installed:
      6. greyhole
      7. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
      8. Need to get 0 B/183 kB of archives.
      9. After this operation, 0 B of additional disk space will be used.
      10. Selecting previously unselected package greyhole.
      11. (Reading database ... 30631 files and directories currently installed.)
      12. Unpacking greyhole (from .../greyhole_0.9.61-3_amd64.deb) ...
      13. Processing triggers for man-db ...
      14. Setting up greyhole (0.9.61-3) ...
      15. update-rc.d: using dependency based boot sequencing
      16. Shutting down Greyhole ... FAILED
      17. Starting Greyhole ... Jul 06 14:16:20 ERROR test-config: You have no 'storage_pool_drive' defined. Greyhole can't run.
      18. Jul 06 14:16:20 CRITICAL test-config: Config file parsing failed. Exiting.
      19. FAILED
      20. dpkg: error processing greyhole (--configure):
      21. subprocess installed post-installation script returned error exit status 1
      22. Errors were encountered while processing:
      23. greyhole
      24. Creating index of upgradeable packages ...
      25. Creating index of OpenMediaVault plugins ...
      26. E: Sub-process /usr/bin/dpkg returned an error code (1)
      27. root@openmediavault:~#
      Display All

      Try apt-get update then try to re-install Greyhole. You should get 0.9.61-4, which should fix that.
    • @Greatone123 , openmediavault-greyhole 2.1 in repo that fixes db_message issue.

      gboudreau wrote:


      Try apt-get update then try to re-install Greyhole. You should get 0.9.61-4, which should fix that.

      @gboudreau, that fixed it. Thank you for your always excellent service.
      omv 4.1.22 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.15
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • apt-get update
      apt-get install greyhole
      deleted cache
      same error
      omv-mkconf omvextrasorg aptclean
      cleared cache
      Same error
      tried different browser
      cleared cache
      same error

      dpkg -l | grep greyhole
      ii greyhole 0.9.61-4 amd64 Drive pooling technology for Samba
      ii openmediavault-greyhole 2.0 all OpenMediaVault Greyhole (Storage pool server) plugin

      When I saw it was an older version I was really hoping that would fix the issue.