Failed install of eXtplorer and nginx

    • OMV 1.0
    • Resolved

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

    • Failed install of eXtplorer and nginx

      After updating the system today I wanted to install the plugins eXtplorer and nginx together. The installation window stopped with this output:

      Brainfuck Source Code

      1. Reading package lists...
      2. Building dependency tree...
      3. Reading state information...
      4. The following extra packages will be installed:
      5. unzip
      6. Suggested packages:
      7. zip
      8. The following NEW packages will be installed:
      9. openmediavault-extplorer openmediavault-nginx unzip
      10. 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
      11. Need to get 235 kB of archives.
      12. After this operation, 591 kB of additional disk space will be used.
      13. WARNING: The following packages cannot be authenticated!
      14. unzip openmediavault-extplorer openmediavault-nginx
      15. Authentication warning overridden.
      16. Get:1 http://ftp.informatik.rwth-aachen.de/ftp/pub/Linux/debian/ wheezy/main unzip amd64 6.0-8 [194 kB]
      17. Get:2 http://packages.omv-extras.org/debian/ kralizec/main openmediavault-extplorer all 1.0.4 [11.8 kB]
      18. Get:3 http://packages.omv-extras.org/debian/ kralizec/main openmediavault-nginx all 1.0.12 [28.6 kB]
      19. Fetched 235 kB in 0s (277 kB/s)
      20. Selecting previously unselected package unzip.
      21. (Reading database ... 54946 files and directories currently installed.)
      22. Unpacking unzip (from .../archives/unzip_6.0-8_amd64.deb) ...
      23. Selecting previously unselected package openmediavault-extplorer.
      24. Unpacking openmediavault-extplorer (from .../openmediavault-extplorer_1.0.4_all.deb) ...
      25. Selecting previously unselected package openmediavault-nginx.
      26. Unpacking openmediavault-nginx (from .../openmediavault-nginx_1.0.12_all.deb) ...
      27. Processing triggers for man-db ...
      28. Processing triggers for mime-support ...
      29. Processing triggers for openmediavault ...
      30. Restarting engine daemon ...
      31. Setting up unzip (6.0-8) ...
      32. Setting up openmediavault-extplorer (1.0.4) ...
      33. Adding extplorer user...
      34. Installing eXtplorer...
      35. --2014-11-16 12:44:02-- http://extplorer.net/attachments/download/50/eXtplorer_2.1.6.zip
      36. Resolving extplorer.net (extplorer.net)... 5.9.31.86, 2a01:4f8:161:1343::e
      37. Connecting to extplorer.net (extplorer.net)|5.9.31.86|:80... connected.
      38. HTTP request sent, awaiting response... 200 OK
      39. Length: 2046569 (2.0M) ["application/x-zip"]
      40. Saving to: `/tmp/eXtplorer_2.1.6.zip'
      41. ---------- shortened ------------------
      42. inflating: /usr/share/extplorer/webdav.php
      43. inflating: /usr/share/extplorer/webdav_authenticate.php
      44. inflating: /usr/share/extplorer/webdav_table.sql.php
      45. /usr/share/openmediavault/mkconf/php5fpm.d/90-nginx-server: line 115: [: : integer expression expected
      46. Reloading PHP5 FastCGI Process Manager: php5-fpm.
      47. /usr/share/openmediavault/mkconf/nginx.d/90-nginx-server: line 236: [: : integer expression expected
      48. Reloading nginx configuration: nginx: [emerg] invalid number of arguments in "server_names_hash_bucket_size" directive in /etc/nginx/conf.d/openmediavault-nginx.conf:1
      49. nginx: configuration file /etc/nginx/nginx.conf test failed
      50. dpkg: error processing openmediavault-extplorer (--configure):
      51. subprocess installed post-installation script returned error exit status 1
      52. Setting up openmediavault-nginx (1.0.12) ...
      53. Processing triggers for openmediavault ...
      54. Updating locale files ...
      55. Updating file permissions ...
      56. Purging internal cache ...
      57. Restarting engine daemon ...
      58. Errors were encountered while processing:
      59. openmediavault-extplorer
      60. Creating index of upgradeable packages ...
      61. Creating index of OpenMediaVault plugins ...
      Display All


      I cannot close the window.

      The error.log of nginx shows:

      Source Code

      1. 2014/11/16 12:44:03 [emerg] 24388#0: invalid number of arguments in "server_names_hash_bucket_size" directive in /etc/nginx/conf.d/openmediavault-nginx.conf:1
      2. 2014/11/16 12:44:03 [emerg] 24389#0: invalid number of arguments in "server_names_hash_bucket_size" directive in /etc/nginx/conf.d/openmediavault-nginx.conf:1


      Loking into the mentioned file I find this:

      Source Code

      1. root@omv:/etc/nginx/conf.d# cat *
      2. server_names_hash_bucket_size ;


      The installation routine seems not to make a backup of the original file ...

      What should I do?