Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@omv:~# omv-salt deploy run nginx
- /usr/lib/python3/dist-packages/salt/modules/file.py:32: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
- from collections import Iterable, Mapping, namedtuple
- /usr/lib/python3/dist-packages/salt/utils/jinja.py:630: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
- if isinstance(lst1, collections.Hashable) and isinstance(lst2, collections.Hashable):
- omv.fritz.box:
- ----------
- ID: prereq_nginx_certificates
- Function: salt.state
- Result: True
- Comment: States ran successfully. Updating omv.fritz.box.
- Started: 19:17:34.238445
- Duration: 716.476 ms
- Changes:
- omv.fritz.box:
- ----------
- ID: remove_ssl_certificates_crt
- Function: module.run
- Result: True
- Comment: file.find: []
- Started: 19:17:34.354392
- Duration: 5.528 ms
- Changes:
- ----------
- file.find:
- ----------
- ID: remove_ssl_certificates_key
- Function: module.run
- Name: file.find
- Result: True
- Comment:
- Started: 19:17:34.360002
- Duration: 0.251 ms
- Changes:
- ----------
- ID: update_ssl_certificates
- Function: cmd.run
- Name: update-ca-certificates --fresh
- Result: True
- Comment: Command "update-ca-certificates --fresh" run
- Started: 19:17:34.360693
- Duration: 591.259 ms
- Changes:
- ----------
- pid:
- 3109
- retcode:
- 0
- stderr:
- stdout:
- Clearing symlinks in /etc/ssl/certs...
- done.
- Updating certificates in /etc/ssl/certs...
- 128 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: 19:17:34.952145
- Duration: 1.203 ms
- Changes:
- ----------
- file.find:
- Summary for omv.fritz.box
- ------------
- Succeeded: 4 (changed=3)
- Failed: 0
- ------------
- Total states run: 4
- Total run time: 598.241 ms
- ----------
- 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 updated
- Started: 19:17:34.956633
- Duration: 28.673 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -1,3 +1,6 @@
- +# This file is auto-generated by openmediavault (https://www.openmediavault.org)
- +# WARNING: Do not edit this file, your changes will get lost.
- +
- server {
- server_name openmediavault-webgui;
- root /var/www/openmediavault;
- @@ -17,7 +20,7 @@
- alias /usr/share/javascript/extjs6/;
- expires 2d;
- }
- - location ~ ^/(css|fonts|js|images)/ {
- + location ~ ^/(css|js|images)/ {
- expires 2d;
- }
- location /favicon {
- @@ -26,12 +29,12 @@
- location ~ \.php$ {
- try_files $uri =404;
- fastcgi_split_path_info ^(.+\.php)(/.+)$;
- - fastcgi_pass unix:/var/run/php-fpm-openmediavault-webgui.sock;
- + fastcgi_pass unix:/run/php/php7.3-fpm-openmediavault-webgui.sock;
- fastcgi_index index.php;
- fastcgi_read_timeout 60s;
- include fastcgi.conf;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- }
- - listen 80;
- + listen [::]:80 default_server ipv6only=off;
- include /etc/nginx/openmediavault-webgui.d/*.conf;
- -}+}
- ----------
- 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 updated
- Started: 19:17:34.985396
- Duration: 9.986 ms
- Changes:
- ----------
- diff:
- ---
- +++
- @@ -1,13 +1,13 @@
- +# This file is auto-generated by openmediavault (https://www.openmediavault.org)
- +# WARNING: Do not edit this file, your changes will get lost.
- +
- # Content Security Policy (CSP)
- # https://www.owasp.org/index.php/Content_Security_Policy
- add_header Content-Security-Policy "default-src 'self' 'unsafe-inline' 'unsafe-eval'; img-src 'self' data:;";
- -
- # https://developer.mozilla.org/en-US/docs/Web/HTTP/X-Frame-Options
- add_header X-Frame-Options "SAMEORIGIN";
- -
- # http://blogs.msdn.com/b/ie/archive/2008/07/02/ie8-security-part-v-comprehensive-protection.aspx
- add_header X-Content-Type-Options "nosniff";
- -
- # https://wiki.mozilla.org/Security/Features/XSS_Filter
- # http://blogs.msdn.com/b/ieinternals/archive/2011/01/31/controlling-the-internet-explorer-xss-filter-with-the-x-xss-protection-http-header.aspx
- add_header X-XSS-Protection "1; mode=block";
- ----------
- ID: execute_nginx_ensite
- Function: cmd.run
- Name: nginx_ensite openmediavault-webgui
- Result: True
- Comment: Command "nginx_ensite openmediavault-webgui" run
- Started: 19:17:34.995841
- Duration: 5.402 ms
- Changes:
- ----------
- pid:
- 4482
- 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 omv.fritz.box.
- Started: 19:17:35.001479
- Duration: 351.959 ms
- Changes:
- omv.fritz.box:
- ----------
- 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: 19:17:35.247555
- Duration: 5.165 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: 19:17:35.252798
- Duration: 6.481 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: 19:17:35.259359
- Duration: 4.792 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: 19:17:35.264227
- Duration: 4.324 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: 19:17:35.268629
- Duration: 4.447 ms
- Changes:
- ----------
- ID: configure_monit_proftpd_service
- Function: file.managed
- Name: /etc/monit/conf.d/openmediavault-proftpd.conf
- Result: True
- Comment: File /etc/monit/conf.d/openmediavault-proftpd.conf is in the correct state
- Started: 19:17:35.273157
- Duration: 4.698 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: 19:17:35.277932
- Duration: 4.31 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: 19:17:35.282326
- Duration: 8.944 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: 19:17:35.291348
- Duration: 1.136 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: 19:17:35.292547
- Duration: 8.809 ms
- Changes:
- ----------
- ID: test_monit_config
- Function: cmd.run
- Name: monit -t
- Result: True
- Comment: Command "monit -t" run
- Started: 19:17:35.301787
- Duration: 6.719 ms
- Changes:
- ----------
- pid:
- 4483
- 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: 19:17:35.315384
- Duration: 34.277 ms
- Changes:
- Summary for omv.fritz.box
- -------------
- Succeeded: 12 (changed=1)
- Failed: 0
- -------------
- Total states run: 12
- Total run time: 94.102 ms
- ----------
- ID: test_nginx_service_config
- Function: cmd.run
- Name: nginx -t
- Result: True
- Comment: Command "nginx -t" run
- Started: 19:17:35.353780
- Duration: 21.613 ms
- Changes:
- ----------
- pid:
- 4491
- 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: True
- Comment: Service restarted
- Started: 19:17:35.410023
- Duration: 65.913 ms
- Changes:
- ----------
- nginx:
- True
- ----------
- ID: monitor_nginx_service
- Function: module.run
- Name: monit.monitor
- Result: True
- Comment:
- Started: 19:17:35.477199
- Duration: 0.361 ms
- Changes:
- Summary for omv.fritz.box
- ------------
- Succeeded: 8 (changed=7)
- Failed: 0
- ------------
- Total states run: 8
- Total run time: 1.200 s
Add Comment
Please, Sign In to add comment