Hello,
i made a stupid mistake by accident. By accident i deleted a nginx folder inside the /var/lib path and just before i wanted to change my OMV port to 90 instead of 81.
I have nextcloud running on port 80. i disabled it now and i can access rthe portainer interface but not the OMV one. it shows something like nginx couldn't start or something.
Please help me to fix it. I need my data and at the moment cannot afford a new install of OMV and do all stetings again...
When i now try to chnage the OMV port in the first aid settings again then it shows this.
I cannot do anything in OMV.
But shared folders etc is working fine just the interface not. I scare i have screwed up my OMV...
Code
Updating web control panel settings. Please wait ...
(...)
(...)
ERROR: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run --no-color nginx 2>&1' with exit code '1': raspberrypi:
----------
ID: prereq_nginx_certificates
Function: salt.state
Result: True
Comment: States ran successfully. Updating raspberrypi.
Started: 02:39:35.410316
Duration: 4599.215 ms
Changes:
Alles anzeigen
Code
ID: prereq_nginx_service_monit
Function: salt.state
Result: True
Comment: States ran successfully. Updating raspberrypi.
Started: 02:39:40.472478
Duration: 1865.121 ms
Changes:
raspberrypi:
----------
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: 02:39:41.743279
Duration: 109.42 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: 02:39:41.853025
Duration: 35.548 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: 02:39:41.888904
Duration: 32.12 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: 02:39:41.921350
Duration: 24.878 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: 02:39:41.946571
Duration: 24.903 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: 02:39:41.971804
Duration: 1.565 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: 02:39:41.973658
Duration: 25.458 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: 02:39:41.999443
Duration: 50.286 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: 02:39:42.050064
Duration: 6.39 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: 02:39:42.056769
Duration: 50.478 ms
Changes:
----------
ID: test_monit_config
Function: cmd.run
Name: monit -t
Result: True
Comment: Command "monit -t" run
Started: 02:39:42.109340
Duration: 34.254 ms
Changes:
----------
pid:
13558
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: 02:39:42.207605
Duration: 124.727 ms
Changes:
Summary for raspberrypi
-------------
Succeeded: 12 (changed=1)
Failed: 0
-------------
Total states run: 12
Total run time: 520.027 ms
----------
ID: test_nginx_service_config
Function: cmd.run
Name: nginx -t
Result: False
Comment: Command "nginx -t" run
Started: 02:39:42.338121
Duration: 63.894 ms
Changes:
----------
pid:
13567
retcode:
1
stderr:
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: [emerg] mkdir() "/var/lib/nginx/body" failed (2: No such file or directory)
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: 02:39:42.446291
Duration: 0.019 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: 02:39:42.450003
Duration: 0.02 ms
Changes:
Summary for raspberrypi
------------
Succeeded: 5 (changed=5)
Failed: 3
------------
Total states run: 8
Total run time: 6.981 s
Alles anzeigen