GUI nach Stromausfall nicht mehr erreichbar - GUI after power failure no longer attainable

  • Hallo alle,
    bitte helft mir bei der Lösung folgenden Problems:


    nach Stromausfall ist das GUI meines OMV nicht mehr erreichbar, es kommt:


    Leider können wir nicht auf diese Seite zugreifen. Probieren sie Folgendes ...


    Über ssh kann ich auf den OMV zugreifen, kommt nach omv-firstaid folgender Fehler:


    Code
    root@omv-jd:~# 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': nginx: [emerg] invalid number of arguments in \"proxy_set_header\" directive in \/etc\/nginx\/openmediavault-webgui.d\/sab.conf:3\nnginx: configuration file \/etc\/nginx\/nginx.conf test failed","trace":"exception 'OMVException' with message 'Failed to execute command 'export LANG=C; nginx -t 2>&1': nginx: [emerg] invalid number of arguments in \"proxy_set_header\" directive in \/etc\/nginx\/openmediavault-webgui.d\/sab.conf:3\nnginx: configuration 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->applyConfig()\n#1 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)\n#2 \/usr\/share\/php\/openmediavault\/rpcservice.inc(125): call_user_func_array(Array, Array)\n#3 \/usr\/share\/php\/openmediavault\/rpc.inc(79): OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array)\n#4 \/usr\/sbin\/omv-engined(500): OMVRpc::exec('Config', 'applyChanges', Array, Array, 1)\n#5 {main}"}}
    Failed to execute RPC (service=Config, method=applyChanges)
    root@omv-jd:~#


    Gibt es Abhilfe oder muss ich den OMV neu aufsetzen?


    Viele Grüße und Danke bereits jetzt.



    Hello everyone,
    please help me in solving the following problem:


    after a power failure, the GUI of my OMV is no longer accessible, there is:


    Sorry, we can not access this page. Try this ...


    About ssh I can on the OMV access, comes after OMV firstaid following error:


    [code]
    root @ OMV jd: ~ # omv-firstaid
    Updating Web Administration settings. Please wait ...
    &1': nginx: [emerg] invalid number of arguments">{"response":
    null, "error": {"code": 4000, "message": "Failed to execute command
    'export LANG = C; nginx -t 2> & 1': nginx: [emerg] invalid number
    of arguments in
    \ "proxy_set_header \" directive in \ / etc \ / nginx \
    /openmediavault-webgui.d \ /sab.conf: 3 \ nnginx: Configuration File \ /
    etc \ / nginx \ /nginx.conf test failed "," trace &1': nginx: [emerg] invalid number of arguments in \"proxy_set_header\" directive in \/etc\/">":"
    Exception 'OMVException' with message 'Failed to execute command'
    export LANG = C; nginx -t 2> & 1 ': nginx: [emerg] invalid number
    of arguments in \ "proxy_set_header \" directive in \ / etc \ / nginx
    \ /openmediavault-webgui.d \ /sab.conf: 3 \ nnginx: Configuration File \
    / etc \ / nginx \ /nginx.conf test failed 'in \ / usr \ / share \ /
    openmediavault \ / engined \ / module applyConfig()\n#1 [">\
    /webserver.inc: 41 \ nStack trace: \ n # 0 \ / usr \ / share \ /
    openmediavault \ / engined \ / rpc \ /config.inc (180):
    OMVModuleNginxAbstract-> applyConfig () \ n # 1 [ applyChanges(Array, Array)\n#2 \/usr\/share\/php\/openmediavault\/rpcservice.inc(125): call_user_func_array(Array, Array)\n#3 \/">internal
    function]: OMVRpcServiceConfig-> applyChanges (Array, Array) \ n # 2
    \ / usr \ / share \ / php \ / openmediavault \ /rpcservice.inc (125):
    call_user_func_array (Array, Array) \ n # 3 \ / callMethod('applyChanges', Array, Array)\n#4 \/usr\/sbin\/omv-engined(500)">usr
    \ / share \ / php \ / openmediavault \ /rpc.inc (79):
    OMVRpcServiceAbstract-> CALL METHOD ('applyChanges', Array, Array) \ n
    # 4 \ / usr \ / sbin \ / OMV-engined (500) : OMVRpc :: exec ('Config', 'applyChanges', Array, Array, 1) \ n # 5 {main} "}}
    Failed to execute RPC (service = Config, method = applyChanges)
    root @ OMV jd: ~ #
    [/ code]


    Are there any remedy or do I need to set up new OMV?


    Many greetings and thanks already now.

    2 BananaPi, 1 OrangePiPC+, 1 OrangePiPC with OMV 6.0.x

  • Same problem here. I¨ve installed the latest updates. After some playing with nginx-plugin and Sickbeard-plugin, I had to reboot the system. Then I was unable to connect to the OMV gui.
    I can SSH, connect to NZBget, Subsonic. SabNZBd+.


    Has there been a change in the last update?


    Rgds.

  • Hey tekkb;


    here the results please:


    Code
    root@omv-jd:~# service nginx start
    Starting nginx: nginx: [emerg] invalid number of arguments in "proxy_set_header" directive in /etc/nginx/openmediavault-webgui.d/sab.conf:3
    nginx: configuration file /etc/nginx/nginx.conf test failed
    root@omv-jd:~#


    Thank you.


    EDIT:
    I comment the 5 lines in /etc/nginx/openmediavault-webgui.d/sab.conf with #, GUI is available! :) :)

    2 BananaPi, 1 OrangePiPC+, 1 OrangePiPC with OMV 6.0.x

    2 Mal editiert, zuletzt von omavoss ()

Jetzt mitmachen!

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