Please help!! no access to OMV WebGUI nginx 503 service temporarily unavailable

  • First of all Hi there,

    I am very new to all of this and this is my first NAS build so I have been researching and watching videos and today I setup my OMV NAS and configured my own cloud using NextCloud and nginx to secure it. now all of a sudden I am unable to get into my OMV WebGUI. Everything else is working and running, all shares are fine and Portainer is working, i just cant access the GUI.

    If I run the following command "sudo omv-salt deploy run nginx" which I found on the forums I get the following. not sure how to resolve all this. please can someone help me.

    ;(;(

    debian:

    ----------

    ID: prereq_nginx_certificates

    Function: salt.state

    Result: True

    Comment: States ran successfully. Updating debian.

    Started: 17:32:15.635177

    Duration: 1798.486 ms

    Changes:

    debian:

    ----------

    ID: remove_ssl_certificates_crt

    Function: module.run

    Result: True

    Comment: file.find: []

    Started: 17:32:15.942127

    Duration: 12.64 ms

    Changes:

    ----------

    file.find:

    ----------

    ID: remove_ssl_certificates_key

    Function: module.run

    Result: True

    Comment: file.find: []

    Started: 17:32:15.954993

    Duration: 2.218 ms

    Changes:

    ----------

    file.find:

    ----------

    ID: update_ssl_certificates

    Function: cmd.run

    Name: update-ca-certificates --fresh

    Result: True

    Comment: Command "update-ca-certificates --fresh" run

    Started: 17:32:15.958540

    Duration: 1467.199 ms

    Changes:

    ----------

    pid:

    11713

    retcode:

    0

    stderr:

    stdout:

    Clearing symlinks in /etc/ssl/certs...

    done.

    Updating certificates in /etc/ssl/certs...

    129 added, 0 removed; done.

    Running hooks in /etc/ca-certificates/update.d...

    done.

    ----------

    ID: remove_ssh_certificates

    Function: module.run

    Result: True

    Comment: file.find: []

    Started: 17:32:17.426110

    Duration: 4.025 ms

    Changes:

    ----------

    file.find:


    Summary for debian

    ------------

    Succeeded: 4 (changed=4)

    Failed: 0

    ------------

    Total states run: 4

    Total run time: 1.486 s

    ----------

    ID: configure_nginx_site_webgui

    Function: file.managed

    Name: /etc/nginx/sites-available/openmediavault-webgui

    Result: True

    Comment: File /etc/nginx/sites-available/openmediavault-webgui is in the correct state

    Started: 17:32:17.437016

    Duration: 92.534 ms

    Changes:

    ----------

    ID: configure_nginx_security

    Function: file.managed

    Name: /etc/nginx/openmediavault-webgui.d/security.conf

    Result: True

    Comment: File /etc/nginx/openmediavault-webgui.d/security.conf is in the correct state

    Started: 17:32:17.529798

    Duration: 28.864 ms

    Changes:

    ----------

    ID: execute_nginx_ensite

    Function: cmd.run

    Name: nginx_ensite openmediavault-webgui

    Result: True

    Comment: Command "nginx_ensite openmediavault-webgui" run

    Started: 17:32:17.560056

    Duration: 22.531 ms

    Changes:

    ----------

    pid:

    13034

    retcode:

    0

    stderr:

    stdout:

    Site configuration file 'openmediavault-webgui' is already enabled.

    ----------

    ID: prereq_nginx_service_monit

    Function: salt.state

    Result: True

    Comment: States ran successfully. Updating debian.

    Started: 17:32:17.583001

    Duration: 1116.431 ms

    Changes:

    debian:

    ----------

    ID: configure_monit_collectd_service

    Function: file.managed

    Name: /etc/monit/conf.d/openmediavault-collectd.conf

    Result: True

    Comment: File /etc/monit/conf.d/openmediavault-collectd.conf is in the correct state

    Started: 17:32:18.241474

    Duration: 56.666 ms

    Changes:

    ----------

    ID: configure_monit_filesystem_service

    Function: file.managed

    Name: /etc/monit/conf.d/openmediavault-filesystem.conf

    Result: True

    Comment: File /etc/monit/conf.d/openmediavault-filesystem.conf is in the correct state

    Started: 17:32:18.298346

    Duration: 22.862 ms

    Changes:

    ----------

    ID: configure_monit_nginx_service

    Function: file.managed

    Name: /etc/monit/conf.d/openmediavault-nginx.conf

    Result: True

    Comment: File /etc/monit/conf.d/openmediavault-nginx.conf is in the correct state

    Started: 17:32:18.321411

    Duration: 18.096 ms

    Changes:

    ----------

    ID: configure_monit_omv-engined_service

    Function: file.managed

    Name: /etc/monit/conf.d/openmediavault-engined.conf

    Result: True

    Comment: File /etc/monit/conf.d/openmediavault-engined.conf is in the correct state

    Started: 17:32:18.339712

    Duration: 14.137 ms

    Changes:

    ----------

    ID: configure_monit_php-fpm_service

    Function: file.managed

    Name: /etc/monit/conf.d/openmediavault-phpfpm.conf

    Result: True

    Comment: File /etc/monit/conf.d/openmediavault-phpfpm.conf is in the correct state

    Started: 17:32:18.354058

    Duration: 14.032 ms

    Changes:

    ----------

    ID: remove_monit_proftpd_service

    Function: file.absent

    Name: /etc/monit/conf.d/openmediavault-proftpd.conf

    Result: True

    Comment: File /etc/monit/conf.d/openmediavault-proftpd.conf is not present

    Started: 17:32:18.368299

    Duration: 0.955 ms

    Changes:

    ----------

    ID: configure_monit_rrdcached_service

    Function: file.managed

    Name: /etc/monit/conf.d/openmediavault-rrdcached.conf

    Result: True

    Comment: File /etc/monit/conf.d/openmediavault-rrdcached.conf is in the correct state

    Started: 17:32:18.369414

    Duration: 14.417 ms

    Changes:

    ----------

    ID: configure_monit_system_service

    Function: file.managed

    Name: /etc/monit/conf.d/openmediavault-system.conf

    Result: True

    Comment: File /etc/monit/conf.d/openmediavault-system.conf is in the correct state

    Started: 17:32:18.384075

    Duration: 29.18 ms

    Changes:

    ----------

    ID: configure_default_monit

    Function: file.managed

    Name: /etc/default/monit

    Result: True

    Comment: File /etc/default/monit is in the correct state

    Started: 17:32:18.413458

    Duration: 3.584 ms

    Changes:

    ----------

    ID: divert_default_monit

    Function: omv_dpkg.divert_add

    Name: /etc/default/monit

    Result: True

    Comment: Leaving 'local diversion of /etc/default/monit to /etc/default/monit.distrib'

    Started: 17:32:18.417975

    Duration: 44.264 ms

    Changes:

    ----------

    ID: configure_monit_monitrc

    Function: file.managed

    Name: /etc/monit/monitrc

    Result: True

    Comment: File /etc/monit/monitrc is in the correct state

    Started: 17:32:18.462648

    Duration: 36.095 ms

    Changes:

    ----------

    ID: divert_monit_monitrc

    Function: omv_dpkg.divert_add

    Name: /etc/monit/monitrc

    Result: True

    Comment: Leaving 'local diversion of /etc/monit/monitrc to /etc/monit/monitrc.distrib'

    Started: 17:32:18.498953

    Duration: 42.947 ms

    Changes:

    ----------

    ID: test_monit_config

    Function: cmd.run

    Name: monit -t

    Result: True

    Comment: Command "monit -t" run

    Started: 17:32:18.544492

    Duration: 29.28 ms

    Changes:

    ----------

    pid:

    13037

    retcode:

    0

    stderr:

    stdout:

    Control file syntax OK

    ----------

    ID: reload_monit_service

    Function: service.running

    Name: monit

    Result: True

    Comment: The service monit is already running

    Started: 17:32:18.610768

    Duration: 85.231 ms

    Changes:


    Summary for debian

    -------------

    Succeeded: 14 (changed=1)

    Failed: 0

    -------------

    Total states run: 14

    Total run time: 411.746 ms

    ----------

    ID: test_nginx_service_config

    Function: cmd.run

    Name: nginx -t

    Result: False

    Comment: Command "nginx -t" run

    Started: 17:32:18.699769

    Duration: 44.488 ms

    Changes:

    ----------

    pid:

    13045

    retcode:

    1

    stderr:

    nginx: [emerg] "server" directive is not allowed here in /etc/nginx/nginx.conf:63

    nginx: configuration file /etc/nginx/nginx.conf test failed

    stdout:

    ----------

    ID: restart_nginx_service

    Function: service.running

    Name: nginx

    Result: False

    Comment: One or more requisite failed: omv.deploy.nginx.default.test_nginx_service_config

    Started: 17:32:18.770673

    Duration: 0.021 ms

    Changes:

    ----------

    ID: monitor_nginx_service

    Function: module.run

    Result: False

    Comment: One or more requisite failed: omv.deploy.nginx.default.restart_nginx_service

    Started: 17:32:18.772668

    Duration: 0.018 ms

    Changes:


    Summary for debian

    ------------

    Succeeded: 5 (changed=4)

    Failed: 3

  • Did you follow a guide from DBTech?


    Did you change this file? /etc/nginx/nginx.conf

    If yes, revert the change

    Thankyou for the response. I did follow the guide from DBTech, and i did change that file, will revert the change and post back shortly. if that is the issue wont reverting the change also cause an issue?

  • ok so after removing the following line

    Code
    server {    client_max_body_size 0;
    }

    from the nginx.conf file I now have access back into my WebGUI. Thankyou so much. What impact will leaving out this above line have?? I've left this line in.

    Code
    client_max_body_size 0;
  • It is an error in the guide. He is asking to change ALL nginx.conf but that is wrong. The one in the container has to be changed, not the one on the host.

    Thankyou so much for your help. So I guess i should remove both the lines of code from the nginx.conf then? to be safe. even though it seems to be working with that one line still there.

  • Roxboy

    Hat das Label gelöst hinzugefügt.
  • Hello, I have almost the exact same issue. I no longer have access to the GUI due to SSL issues. I will post my results of "sudo omv-salt deploy run nginx" below. Also, I haven't been able to find the nginx.conf file anywhere in AppData. Where would I find it? The difference in my results are outlined in green if that helps.


    Summary for openmediavault.local

    -------------

    Succeeded: 14 (changed=1)

    Failed: 0

    -------------

    Total states run: 14

    Total run time: 208.835 ms

    ----------

    ID: test_nginx_service_config

    Function: cmd.run

    Name: nginx -t

    Result: False

    Comment: Command "nginx -t" run

    Started: 13:06:38.261380

    Duration: 24.215 ms

    Changes:

    ----------

    pid:

    7879

    retcode:

    1

    stderr:

    nginx: [emerg] unexpected end of file, expecting ";" or "}" in /etc/nginx/sites-enabled/openmediavault-webgui.save:44

    nginx: configuration file /etc/nginx/nginx.conf test failed

    stdout:

    ----------

    ID: restart_nginx_service

    Function: service.running

    Name: nginx

    Result: False

    Comment: One or more requisite failed: omv.deploy.nginx.default.test_nginx_service_config

    Started: 13:06:38.301891

    Duration: 0.007 ms

    Changes:

    ----------

    ID: monitor_nginx_service

    Function: module.run

    Result: False

    Comment: One or more requisite failed: omv.deploy.nginx.default.restart_nginx_service

    Started: 13:06:38.302797

    Duration: 0.004 ms

    Changes:


    Summary for openmediavault.local

    ------------

    Succeeded: 5 (changed=4)

    Failed: 3

    ------------

    Total states run: 8

    Total run time: 2.241 s


    Any help would be great!

  • The nginx.conf file for omv is here: /etc/nginx/nginx.conf

    This file is corrupt: /etc/nginx/sites-enabled/openmediavault-webgui but this should have been written by the command.


    Post the complete output please.

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • My apologies, the complete output is below. I do see the path of the file, based on the OP and the output, but I have no idea how to find it or edit it.

    ----------

    ID: prereq_nginx_certificates

    Function: salt.state

    Result: True

    Comment: States ran successfully. Updating openmediavault.local.

    Started: 15:40:15.318590

    Duration: 1520.452 ms

    Changes:

    openmediavault.local:

    ----------

    ID: remove_ssl_certificates_crt

    Function: module.run

    Result: True

    Comment: file.find: []

    Started: 15:40:15.512673

    Duration: 7.321 ms

    Changes:

    ----------

    file.find:

    ----------

    ID: remove_ssl_certificates_key

    Function: module.run

    Result: True

    Comment: file.find: []

    Started: 15:40:15.520121

    Duration: 1.214 ms

    Changes:

    ----------

    file.find:

    ----------

    ID: update_ssl_certificates

    Function: cmd.run

    Name: update-ca-certificates --fresh

    Result: True

    Comment: Command "update-ca-certificates --fresh" run

    Started: 15:40:15.522003

    Duration: 1312.423 ms

    Changes:

    ----------

    pid:

    11225

    retcode:

    0

    stderr:

    stdout:

    Clearing symlinks in /etc/ssl/certs...

    done.

    Updating certificates in /etc/ssl/certs...

    137 added, 0 removed; done.

    Running hooks in /etc/ca-certificates/update.d...

    done.

    ----------

    ID: remove_ssh_certificates

    Function: module.run

    Result: True

    Comment: file.find: []

    Started: 15:40:16.834710

    Duration: 2.171 ms

    Changes:

    ----------

    file.find:


    Summary for openmediavault.local

    ------------

    Succeeded: 4 (changed=4)

    Failed: 0

    ------------

    Total states run: 4

    Total run time: 1.323 s

    ----------

    ID: configure_nginx_site_webgui

    Function: file.managed

    Name: /etc/nginx/sites-available/openmediavault-webgui

    Result: True

    Comment: File /etc/nginx/sites-available/openmediavault-webgui is in the correct state

    Started: 15:40:16.841185

    Duration: 53.38 ms

    Changes:

    ----------

    ID: configure_nginx_security

    Function: file.managed

    Name: /etc/nginx/openmediavault-webgui.d/security.conf

    Result: True

    Comment: File /etc/nginx/openmediavault-webgui.d/security.conf is in the correct state

    Started: 15:40:16.894708

    Duration: 16.906 ms

    Changes:

    ----------

    ID: execute_nginx_ensite

    Function: cmd.run

    Name: nginx_ensite openmediavault-webgui

    Result: True

    Comment: Command "nginx_ensite openmediavault-webgui" run

    Started: 15:40:16.912323

    Duration: 7.677 ms

    Changes:

    ----------

    pid:

    12690

    retcode:

    0

    stderr:

    stdout:

    Site configuration file 'openmediavault-webgui' is already enabled.

    ----------

    ID: prereq_nginx_service_monit

    Function: salt.state

    Result: True

    Comment: States ran successfully. Updating openmediavault.local.

    Started: 15:40:16.920281

    Duration: 627.932 ms

    Changes:

    openmediavault.local:

    ----------

    ID: configure_monit_collectd_service

    Function: file.managed

    Name: /etc/monit/conf.d/openmediavault-collectd.conf

    Result: True

    Comment: File /etc/monit/conf.d/openmediavault-collectd.conf is in the correct state

    Started: 15:40:17.311385

    Duration: 34.14 ms

    Changes:

    ----------

    ID: configure_monit_filesystem_service

    Function: file.managed

    Name: /etc/monit/conf.d/openmediavault-filesystem.conf

    Result: True

    Comment: File /etc/monit/conf.d/openmediavault-filesystem.conf is in the correct state

    Started: 15:40:17.345649

    Duration: 11.529 ms

    Changes:

    ----------

    ID: configure_monit_nginx_service

    Function: file.managed

    Name: /etc/monit/conf.d/openmediavault-nginx.conf

    Result: True

    Comment: File /etc/monit/conf.d/openmediavault-nginx.conf is in the correct state

    Started: 15:40:17.357298

    Duration: 10.979 ms

    Changes:

    ----------

    ID: configure_monit_omv-engined_service

    Function: file.managed

    Name: /etc/monit/conf.d/openmediavault-engined.conf

    Result: True

    Comment: File /etc/monit/conf.d/openmediavault-engined.conf is in the correct state

    Started: 15:40:17.368400

    Duration: 8.131 ms

    Changes:

    ----------

    ID: configure_monit_php-fpm_service

    Function: file.managed

    Name: /etc/monit/conf.d/openmediavault-phpfpm.conf

    Result: True

    Comment: File /etc/monit/conf.d/openmediavault-phpfpm.conf is in the correct state

    Started: 15:40:17.376651

    Duration: 8.103 ms

    Changes:

    ----------

    ID: remove_monit_proftpd_service

    Function: file.absent

    Name: /etc/monit/conf.d/openmediavault-proftpd.conf

    Result: True

    Comment: File /etc/monit/conf.d/openmediavault-proftpd.conf is not present

    Started: 15:40:17.384872

    Duration: 0.538 ms

    Changes:

    ----------

    ID: configure_monit_rrdcached_service

    Function: file.managed

    Name: /etc/monit/conf.d/openmediavault-rrdcached.conf

    Result: True

    Comment: File /etc/monit/conf.d/openmediavault-rrdcached.conf is in the correct state

    Started: 15:40:17.385505

    Duration: 7.988 ms

    Changes:

    ----------

    ID: configure_monit_system_service

    Function: file.managed

    Name: /etc/monit/conf.d/openmediavault-system.conf

    Result: True

    Comment: File /etc/monit/conf.d/openmediavault-system.conf is in the correct state

    Started: 15:40:17.393613

    Duration: 16.875 ms

    Changes:

    ----------

    ID: configure_default_monit

    Function: file.managed

    Name: /etc/default/monit

    Result: True

    Comment: File /etc/default/monit is in the correct state

    Started: 15:40:17.410609

    Duration: 2.155 ms

    Changes:

    ----------

    ID: divert_default_monit

    Function: omv_dpkg.divert_add

    Name: /etc/default/monit

    Result: True

    Comment: Leaving 'local diversion of /etc/default/monit to /etc/default/monit.distrib'

    Started: 15:40:17.413277

    Duration: 17.518 ms

    Changes:

    ----------

    ID: configure_monit_monitrc

    Function: file.managed

    Name: /etc/monit/monitrc

    Result: True

    Comment: File /etc/monit/monitrc is in the correct state

    Started: 15:40:17.431085

    Duration: 22.174 ms

    Changes:

    ----------

    ID: divert_monit_monitrc

    Function: omv_dpkg.divert_add

    Name: /etc/monit/monitrc

    Result: True

    Comment: Leaving 'local diversion of /etc/monit/monitrc to /etc/monit/monitrc.distrib'

    Started: 15:40:17.453386

    Duration: 15.702 ms

    Changes:

    ----------

    ID: test_monit_config

    Function: cmd.run

    Name: monit -t

    Result: True

    Comment: Command "monit -t" run

    Started: 15:40:17.470923

    Duration: 11.945 ms

    Changes:

    ----------

    pid:

    12693

    retcode:

    0

    stderr:

    stdout:

    Control file syntax OK

    ----------

    ID: reload_monit_service

    Function: service.running

    Name: monit

    Result: True

    Comment: The service monit is already running

    Started: 15:40:17.504957

    Duration: 40.357 ms

    Changes:


    Summary for openmediavault.local

    -------------

    Succeeded: 14 (changed=1)

    Failed: 0

    -------------

    Total states run: 14

    Total run time: 208.134 ms

    ----------

    ID: test_nginx_service_config

    Function: cmd.run

    Name: nginx -t

    Result: False

    Comment: Command "nginx -t" run

    Started: 15:40:17.548535

    Duration: 24.15 ms

    Changes:

    ----------

    pid:

    12701

    retcode:

    1

    stderr:

    nginx: [emerg] unexpected end of file, expecting ";" or "}" in /etc/nginx/sites-enabled/openmediavault-webgui.save:44

    nginx: configuration file /etc/nginx/nginx.conf test failed

    stdout:

    ----------

    ID: restart_nginx_service

    Function: service.running

    Name: nginx

    Result: False

    Comment: One or more requisite failed: omv.deploy.nginx.default.test_nginx_service_config

    Started: 15:40:17.590074

    Duration: 0.007 ms

    Changes:

    ----------

    ID: monitor_nginx_service

    Function: module.run

    Result: False

    Comment: One or more requisite failed: omv.deploy.nginx.default.restart_nginx_service

    Started: 15:40:17.590968

    Duration: 0.004 ms

    Changes:

  • There is a strange file here: /etc/nginx/sites-enabled/openmediavault-webgui.save


    move it away mv  /etc/nginx/sites-enabled/openmediavault-webgui.save ~/openmediavault-webgui.save and rerun sudo omv-salt deploy run nginx


    if this does not work paste the output of cat /etc/nginx/nginx.conf

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • Didn't work. Output below:


  • This file looks correct. run nginx -t

    ls /etc/nginx/conf.d

    ls /etc/nginx/sites-enabled

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • Code
    root@openmediavault:~# nginx -t
    nginx: [emerg] unexpected end of file, expecting ";" or "}" in /etc/nginx/sites-enabled/openmediavault-webgui.save.1:43
    nginx: configuration file /etc/nginx/nginx.conf test failed
    Code
    root@openmediavault:~# ls /etc/nginx/conf.d
    root@openmediavault:~# ls /etc/nginx/sites-enabled
    openmediavault-webgui  openmediavault-webgui.save.1
  • File name is a bit different. Do this:


    mv /etc/nginx/sites-enabled/openmediavault-webgui.save.1 ~/openmediavault-webgui.save.1

    nginx -t if it works

    sudo omv-salt deploy run nginx

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • Seems closer!


    openmediavault.local:

    ----------

    ID: prereq_nginx_certificates

    Function: salt.state

    Result: True

    Comment: States ran successfully. Updating openmediavault.local.

    Started: 18:07:44.239435

    Duration: 1530.834 ms

    Changes:

    openmediavault.local:

    ----------

    ID: remove_ssl_certificates_crt

    Function: module.run

    Result: True

    Comment: file.find: []

    Started: 18:07:44.431460

    Duration: 7.149 ms

    Changes:

    ----------

    file.find:

    ----------

    ID: remove_ssl_certificates_key

    Function: module.run

    Result: True

    Comment: file.find: []

    Started: 18:07:44.438735

    Duration: 1.202 ms

    Changes:

    ----------

    file.find:

    ----------

    ID: update_ssl_certificates

    Function: cmd.run

    Name: update-ca-certificates --fresh

    Result: True

    Comment: Command "update-ca-certificates --fresh" run

    Started: 18:07:44.440599

    Duration: 1322.592 ms

    Changes:

    ----------

    pid:

    17313

    retcode:

    0

    stderr:

    stdout:

    Clearing symlinks in /etc/ssl/certs...

    done.

    Updating certificates in /etc/ssl/certs...

    137 added, 0 removed; done.

    Running hooks in /etc/ca-certificates/update.d...

    done.

    ----------

    ID: remove_ssh_certificates

    Function: module.run

    Result: True

    Comment: file.find: []

    Started: 18:07:45.763608

    Duration: 3.26 ms

    Changes:

    ----------

    file.find:


    Summary for openmediavault.local

    ------------

    Succeeded: 4 (changed=4)

    Failed: 0

    ------------

    Total states run: 4

    Total run time: 1.334 s

    ----------

    ID: configure_nginx_site_webgui

    Function: file.managed

    Name: /etc/nginx/sites-available/openmediavault-webgui

    Result: True

    Comment: File /etc/nginx/sites-available/openmediavault-webgui is in the correct state

    Started: 18:07:45.773580

    Duration: 55.146 ms

    Changes:

    ----------

    ID: configure_nginx_security

    Function: file.managed

    Name: /etc/nginx/openmediavault-webgui.d/security.conf

    Result: True

    Comment: File /etc/nginx/openmediavault-webgui.d/security.conf is in the correct state

    Started: 18:07:45.828866

    Duration: 16.898 ms

    Changes:

    ----------

    ID: execute_nginx_ensite

    Function: cmd.run

    Name: nginx_ensite openmediavault-webgui

    Result: True

    Comment: Command "nginx_ensite openmediavault-webgui" run

    Started: 18:07:45.846487

    Duration: 8.171 ms

    Changes:

    ----------

    pid:

    18778

    retcode:

    0

    stderr:

    stdout:

    Site configuration file 'openmediavault-webgui' is already enabled.

    ----------

    ID: prereq_nginx_service_monit

    Function: salt.state

    Result: True

    Comment: States ran successfully. Updating openmediavault.local.

    Started: 18:07:45.854948

    Duration: 625.377 ms

    Changes:

    openmediavault.local:

    ----------

    ID: configure_monit_collectd_service

    Function: file.managed

    Name: /etc/monit/conf.d/openmediavault-collectd.conf

    Result: True

    Comment: File /etc/monit/conf.d/openmediavault-collectd.conf is in the correct state

    Started: 18:07:46.243050

    Duration: 33.955 ms

    Changes:

    ----------

    ID: configure_monit_filesystem_service

    Function: file.managed

    Name: /etc/monit/conf.d/openmediavault-filesystem.conf

    Result: True

    Comment: File /etc/monit/conf.d/openmediavault-filesystem.conf is in the correct state

    Started: 18:07:46.277129

    Duration: 11.524 ms

    Changes:

    ----------

    ID: configure_monit_nginx_service

    Function: file.managed

    Name: /etc/monit/conf.d/openmediavault-nginx.conf

    Result: True

    Comment: File /etc/monit/conf.d/openmediavault-nginx.conf is in the correct state

    Started: 18:07:46.288772

    Duration: 10.984 ms

    Changes:

    ----------

    ID: configure_monit_omv-engined_service

    Function: file.managed

    Name: /etc/monit/conf.d/openmediavault-engined.conf

    Result: True

    Comment: File /etc/monit/conf.d/openmediavault-engined.conf is in the correct state

    Started: 18:07:46.299878

    Duration: 8.134 ms

    Changes:

    ----------

    ID: configure_monit_php-fpm_service

    Function: file.managed

    Name: /etc/monit/conf.d/openmediavault-phpfpm.conf

    Result: True

    Comment: File /etc/monit/conf.d/openmediavault-phpfpm.conf is in the correct state

    Started: 18:07:46.308132

    Duration: 8.065 ms

    Changes:

    ----------

    ID: remove_monit_proftpd_service

    Function: file.absent

    Name: /etc/monit/conf.d/openmediavault-proftpd.conf

    Result: True

    Comment: File /etc/monit/conf.d/openmediavault-proftpd.conf is not present

    Started: 18:07:46.316316

    Duration: 0.547 ms

    Changes:

    ----------

    ID: configure_monit_rrdcached_service

    Function: file.managed

    Name: /etc/monit/conf.d/openmediavault-rrdcached.conf

    Result: True

    Comment: File /etc/monit/conf.d/openmediavault-rrdcached.conf is in the correct state

    Started: 18:07:46.316958

    Duration: 7.97 ms

    Changes:

    ----------

    ID: configure_monit_system_service

    Function: file.managed

    Name: /etc/monit/conf.d/openmediavault-system.conf

    Result: True

    Comment: File /etc/monit/conf.d/openmediavault-system.conf is in the correct state

    Started: 18:07:46.325046

    Duration: 16.812 ms

    Changes:

    ----------

    ID: configure_default_monit

    Function: file.managed

    Name: /etc/default/monit

    Result: True

    Comment: File /etc/default/monit is in the correct state

    Started: 18:07:46.341978

    Duration: 2.19 ms

    Changes:

    ----------

    ID: divert_default_monit

    Function: omv_dpkg.divert_add

    Name: /etc/default/monit

    Result: True

    Comment: Leaving 'local diversion of /etc/default/monit to /etc/default/monit.distrib'

    Started: 18:07:46.344683

    Duration: 17.186 ms

    Changes:

    ----------

    ID: configure_monit_monitrc

    Function: file.managed

    Name: /etc/monit/monitrc

    Result: True

    Comment: File /etc/monit/monitrc is in the correct state

    Started: 18:07:46.362213

    Duration: 24.047 ms

    Changes:

    ----------

    ID: divert_monit_monitrc

    Function: omv_dpkg.divert_add

    Name: /etc/monit/monitrc

    Result: True

    Comment: Leaving 'local diversion of /etc/monit/monitrc to /etc/monit/monitrc.distrib'

    Started: 18:07:46.386391

    Duration: 16.118 ms

    Changes:

    ----------

    ID: test_monit_config

    Function: cmd.run

    Name: monit -t

    Result: True

    Comment: Command "monit -t" run

    Started: 18:07:46.404081

    Duration: 11.07 ms

    Changes:

    ----------

    pid:

    18781

    retcode:

    0

    stderr:

    stdout:

    Control file syntax OK

    ----------

    ID: reload_monit_service

    Function: service.running

    Name: monit

    Result: True

    Comment: The service monit is already running

    Started: 18:07:46.438011

    Duration: 39.739 ms

    Changes:


    Summary for openmediavault.local

    -------------

    Succeeded: 14 (changed=1)

    Failed: 0

    -------------

    Total states run: 14

    Total run time: 208.341 ms

    ----------

    ID: test_nginx_service_config

    Function: cmd.run

    Name: nginx -t

    Result: True

    Comment: Command "nginx -t" run

    Started: 18:07:46.480630

    Duration: 23.634 ms

    Changes:

    ----------

    pid:

    18789

    retcode:

    0

    stderr:

    nginx: the configuration file /etc/nginx/nginx.conf syntax is ok

    nginx: configuration file /etc/nginx/nginx.conf test is successful

    stdout:

    ----------

    ID: restart_nginx_service

    Function: service.running

    Name: nginx

    Result: False

    Comment: Job for nginx.service failed because the control process exited with error code.

    See "systemctl status nginx.service" and "journalctl -xe" for details.

    Started: 18:07:46.519982

    Duration: 2613.234 ms

    Changes:

    ----------

    ID: monitor_nginx_service

    Function: module.run

    Result: False

    Comment: One or more requisite failed: omv.deploy.nginx.default.restart_nginx_service

    Started: 18:07:49.136599

    Duration: 0.008 ms

    Changes:

  • See "systemctl status nginx.service" and "journalctl -xe" for details.

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • Looks like SSL is still causing me problems.

Jetzt mitmachen!

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