no more GUI after installing subsonic and owncloud plugins

  • hello,


    after upgrading my server from 0.5 to 1.0 and 1.0 to 2.1.17 I installed subsonic and owncloud plugin.


    Then I have no more web GUI, and omv-firstaid says:


    Code
    [08:20:29] root@openmediavault:~$ omv-firstaid
    Updating web administration settings. Please wait ...
    {"response":null,"error":{"code":4000,"message":"Failed to execute command 'export LANG=C; nginx -t 2>&1': ngin                                                                                                x: [emerg] invalid number of arguments in \"proxy_set_header\" directive in \/etc\/nginx\/openmediavault-webgui                                                                                                .d\/sub.conf:4\nnginx: configuration file \/etc\/nginx\/nginx.conf test failed","trace":"exception 'OMVExceptio                                                                                                n' with message 'Failed to execute command 'export LANG=C; nginx -t 2>&1': nginx: [emerg] invalid number of arg                                                                                                uments in \"proxy_set_header\" directive in \/etc\/nginx\/openmediavault-webgui.d\/sub.conf:4\nnginx: configura                                                                                                tion file \/etc\/nginx\/nginx.conf test failed' in \/usr\/share\/openmediavault\/engined\/module\/webserver.inc                                                                                                :41\nStack trace:\n#0 \/usr\/share\/openmediavault\/engined\/rpc\/config.inc(180): OMVModuleNginxAbstract->appl                                                                                                yConfig()\n#1 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)\n#2 \/usr\/share\/php\/openm                                                                                                ediavault\/rpcservice.inc(125): call_user_func_array(Array, Array)\n#3 \/usr\/share\/php\/openmediavault\/rpc.i                                                                                                nc(79): OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array)\n#4 \/usr\/sbin\/omv-engined(500): OMVR                                                                                                pc::exec('Config', 'applyChanges', Array, Array, 1)\n#5 {main}"}}
    Failed to execute RPC (service=Config, method=applyChanges)


    An idea?

  • it is no running and won't start


    Code
    [08:21:01] root@openmediavault:~$ service apache2 status
    Apache2 is NOT running.
    [13:58:07] root@openmediavault:~$ service apache2 start
    Starting web server: apache2Syntax error on line 10 of /etc/apache2/openmediavault-webgui.d/default.conf:
    Invalid command 'FcgidMaxRequestLen', perhaps misspelled or defined by a module not included in the server configuration
    Action 'start' failed.
    The Apache error log may have more information.
     failed!
  • okay then:


    Code
    [14:48:42] root@openmediavault:/etc/nginx/openmediavault-webgui.d$ service nginx restart
    Restarting nginx: nginx: [emerg] invalid number of arguments in "proxy_pass" directive in /etc/nginx/openmediavault-webgui.d/sub.conf:4
    nginx: configuration file /etc/nginx/nginx.conf test failed


    and file sub.conf has been modified by subsonic omv plugin:



    Code
    location /subsonic {
    proxy_pass        http://localhost:4040/subsonic
     #proxy_set_header  Host localhost:4040;
     proxy_set_header  Host ;
     proxy_redirect    default;
     }
      7
  • Well that subsonic file is bad. If you take it out and restart nginx your web gui will work again. You have to ask miller questions on subsonic.


    Is that a number 7 at the end of the file???? That should not be there like that. Edit the file and take that out. Then try to start nginx.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!