v3.0.96 Issue ?

    • OMV 3.x (stable)
    • Update

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

    • v3.0.96 Issue ?

      Hi guys,

      Anybody in here have the same issue with no Web Interface after update to v3.0.96 ?
      First upgrade crashed on me, I had to restore to OMV 3.0.94.
      And after the restore and updated, same issue.

      Server is receiving an IP address.
      Emby & Plex services are working fine.


      Source Code

      1. sudo service nginx status
      2. ● nginx.service - A high performance web server and a reverse proxy server
      3. Loaded: loaded (/lib/systemd/system/nginx.service; enabled)
      4. Active: failed (Result: exit-code) since Sun 2018-01-07 15:37:13 EST; 51s ago
      5. Process: 5113 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
      6. Jan 07 15:37:13 server nginx[5113]: nginx: [emerg] SSL_CTX_use_PrivateKey_file("/etc/ssl/private/openmed...atch)
      7. Jan 07 15:37:13 server nginx[5113]: nginx: configuration file /etc/nginx/nginx.conf test failed
      8. Jan 07 15:37:13 server systemd[1]: nginx.service: control process exited, code=exited status=1
      9. Jan 07 15:37:13 server systemd[1]: Failed to start A high performance web server and a reverse proxy server.
      10. Jan 07 15:37:13 server systemd[1]: Unit nginx.service entered failed state.
      11. Hint: Some lines were ellipsized, use -l to show in full.
      Display All
      OMV v3.0
      Asus Z97-A/3.1; i3-4370
      32GB RAM Corsair Vengeance Pro
      4x3TB RAID10

      The post was edited 2 times, last by tinh_x7 ().

    • Hello.

      I have a similar problem after upgrading to version 3.0.96.

      Source Code

      1. systemctl status nginx.service
      2. ● nginx.service - A high performance web server and a reverse proxy server
      3. Loaded: loaded (/lib/systemd/system/nginx.service; enabled)
      4. Active: failed (Result: exit-code) since So 2018-01-07 23:34:50 CET; 11s ago
      5. Docs: man:nginx(8)
      6. Process: 28192 ExecStop=/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/nginx.pid (code=exited, status=0/SUCCESS)
      7. Process: 28359 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=1/FAILURE)
      8. Process: 28357 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
      9. Main PID: 27959 (code=exited, status=0/SUCCESS)
      10. Jan 07 23:34:47 nasbt nginx[28359]: nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
      11. Jan 07 23:34:48 nasbt nginx[28359]: nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
      12. Jan 07 23:34:48 nasbt nginx[28359]: nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
      13. Jan 07 23:34:49 nasbt nginx[28359]: nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
      14. Jan 07 23:34:49 nasbt nginx[28359]: nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
      15. Jan 07 23:34:50 nasbt nginx[28359]: nginx: [emerg] still could not bind()
      16. Jan 07 23:34:50 nasbt systemd[1]: nginx.service: control process exited, code=exited status=1
      17. Jan 07 23:34:50 nasbt systemd[1]: Failed to start A high performance web server and a reverse proxy server.
      18. Jan 07 23:34:50 nasbt systemd[1]:
      Display All
      If I disable the virtual hosts and restart the nginx service, then the web interface works again.

      Source Code

      1. nginx_dissite zzz-omv-nginx
      2. systemctl start nginx.service
      If i change the web interface to e.g. Port 444, I can enable all virtual hosts again and the web interface is reachable.
      The vhosts are all set to use only ssl 443.

      What has changed, that this does not work anymore? :huh:
      *future backup system*
      OMV 3.0.96 (Erasmus) -
      Linux 4.9.0-0.bpo.4-amd64
      Core2Quad Q8200 @2,33 GHz | 6 GB
      Intel SSD 320 40GB System |
      6x2TB WD-Red Raid5

      *replacement under construction*
      OMV 3.0.96 (Erasmus) -
      Linux 4.9.0-0.bpo.4-amd64
      i3-2120 @ 3,30 GHz | 8 GB
      Sandisk SSD 126GB System | 3x6TB WD-Red Raid5
    • I disabled the vhosts over the cli with the command belo

      Source Code

      1. nginx_dissite zzz-omv-nginx
      and restartet nginx wit

      Source Code

      1. systemctl start nginx.service
      If you have vhosts, please look at /etc/nginx/sites-enabled, which name yours have, if it is enabled.
      That's what it looks like in my folder.
      *future backup system*
      OMV 3.0.96 (Erasmus) -
      Linux 4.9.0-0.bpo.4-amd64
      Core2Quad Q8200 @2,33 GHz | 6 GB
      Intel SSD 320 40GB System |
      6x2TB WD-Red Raid5

      *replacement under construction*
      OMV 3.0.96 (Erasmus) -
      Linux 4.9.0-0.bpo.4-amd64
      i3-2120 @ 3,30 GHz | 8 GB
      Sandisk SSD 126GB System | 3x6TB WD-Red Raid5
    • Stop stop. ^^
      Do you have vhosts?
      Is the name of the config-file in /etc/nginx/sites-enabled zz-omv-nginx?

      If yes, then open a cli via ssh or local on your mashine and type the command

      Source Code

      1. nginx_dissite zzz-omv-nginx
      2. or
      3. sudo nginx_dissite zzz-omv-nginx
      if you are not root.
      This disables your vhosts.

      After that, restart nginx with

      Source Code

      1. systemctl start nginx.service
      Now you should be able to oben your web interface.

      After login, you get an information for applying changes. Don't save that.

      I changed the port for the ssl web interface to 444, saved and applied the changes.
      You get a communication failure message after saving. Add :444 or whatever yout changed your ssl-port for the web interface and log in to your web interface.
      After that, you should be able to activate your vhosts over the webinterface.

      I hope this workes for you.
      It worked for me.

      But now, i say good night. Must go to bed.
      *future backup system*
      OMV 3.0.96 (Erasmus) -
      Linux 4.9.0-0.bpo.4-amd64
      Core2Quad Q8200 @2,33 GHz | 6 GB
      Intel SSD 320 40GB System |
      6x2TB WD-Red Raid5

      *replacement under construction*
      OMV 3.0.96 (Erasmus) -
      Linux 4.9.0-0.bpo.4-amd64
      i3-2120 @ 3,30 GHz | 8 GB
      Sandisk SSD 126GB System | 3x6TB WD-Red Raid5
    • Gotcha.

      The problem is that I don't use SSL for OMV, but why it still being affected ?

      Try to change the port, but got an error message:

      Source Code

      1. Error #0:
      2. exception 'OMV\ExecException' with message 'Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; nginx -t 2>&1' with exit code '1': nginx: [emerg] SSL_CTX_use_PrivateKey_file("/etc/ssl/private/openmediavault-c6236025-290b-46da-b3fa-72df9c1406a9.key") failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch)
      3. nginx: configuration file /etc/nginx/nginx.conf test failed' in /usr/share/php/openmediavault/system/process.inc:175
      4. Stack trace:
      5. #0 /usr/share/openmediavault/engined/module/webserver.inc(40): OMV\System\Process->execute()
      6. #1 /usr/share/openmediavault/engined/rpc/config.inc(168): OMVModuleNginxAbstract->applyConfig()
      7. #2 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
      8. #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
      9. #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(150): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
      10. #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(528): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusIt...', '/tmp/bgoutputHb...')
      11. #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(151): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
      12. #7 /usr/share/openmediavault/engined/rpc/config.inc(213): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
      13. #8 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
      14. #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
      15. #10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
      16. #11 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
      17. #12 {main}
      Display All
      OMV v3.0
      Asus Z97-A/3.1; i3-4370
      32GB RAM Corsair Vengeance Pro
      4x3TB RAID10

      The post was edited 1 time, last by tinh_x7 ().

    • Good.

      About the error message, please have a look at this post: openmediavault-letsencrypt :)
      There was a post in the forum about how to find the right entrys in the config.xml and paths. But i don't find it right now. :|
      *future backup system*
      OMV 3.0.96 (Erasmus) -
      Linux 4.9.0-0.bpo.4-amd64
      Core2Quad Q8200 @2,33 GHz | 6 GB
      Intel SSD 320 40GB System |
      6x2TB WD-Red Raid5

      *replacement under construction*
      OMV 3.0.96 (Erasmus) -
      Linux 4.9.0-0.bpo.4-amd64
      i3-2120 @ 3,30 GHz | 8 GB
      Sandisk SSD 126GB System | 3x6TB WD-Red Raid5
    • @votdev

      Same thing with 4.0.16-1
      All my vhosts were down and nginx won't start anymore

      Error (x7 vhosts) :

      Source Code

      1. janv. 08 22:20:06 www nginx[1617]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
      2. janv. 08 22:20:06 www nginx[1617]: nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)

      Fixed by downgrading omv to 4.0.15-1, "omv-mkconf nginx" and finally "service nginx start"
      English isn't my native language, so, sorry if I made any mistake ^^

      OMV 4.0.15-1 | 64 bit | openmediavault-omvextrasorg 4.1.2
    • Please have a look at this thread: Nginx - name based site - address already in use
      I have not tested it on my system.
      *future backup system*
      OMV 3.0.96 (Erasmus) -
      Linux 4.9.0-0.bpo.4-amd64
      Core2Quad Q8200 @2,33 GHz | 6 GB
      Intel SSD 320 40GB System |
      6x2TB WD-Red Raid5

      *replacement under construction*
      OMV 3.0.96 (Erasmus) -
      Linux 4.9.0-0.bpo.4-amd64
      i3-2120 @ 3,30 GHz | 8 GB
      Sandisk SSD 126GB System | 3x6TB WD-Red Raid5