Is there any kind of software or plugin that helps us inside OMV?
Posts by fmnamado
-
-
Thank you for your quick answer and insights.
Go for ext4 if you do not need the advanced features of btrfs.
btrfs needs some learning and maintenance.
OK Thank you, I was leaning to this option. If it needs learning and maintenance I'm out, I better learn something that adds more value.
The plugin is making use of luks. You can google "luks linux" to see if it is considered stable. I would think so. I use it since several years on a portable drive.
I know that LUKS is "old" and stable, but the plugin could be beta like and unstable.
Just to get your opinion because I don't feel like being a tester of this.
Just want as robust as the filesystem underneath.
But why do you need file encryption on a NAS? Biggest risk is probably that someone is hacking your server while it is running and the filesystem is decrypted.
Different risks that I can see the difference.
I want LUKS to avoid anyone with physical access to the NAS to access data.
It will be mainly turn off.
I will turn it on when needed, it is meant to be used as a vault.
Hence the security and need for privacy.
Luks cannot prevent you from loosing data. For that you need backup.
Think about backup.
Not an issue ATM.
In terms of losing data, I will be at the same risk as now, with external drives.
I am only gaining some functionality
Also consider the age of your drives. Check the SMART values of those drives.
Now that is something interesting and useful to explore.
My drives are somewhat old but haven't been turned on many hours.
Mild usage.
But I would like to check it.
Unfortunately, the information is always somehwat criptic.
There are some programs for PC the decode the information into a more human form.
Like comparing to other drives of the same model, explaining the values, etc.
Can OMV display in an easy way and alert for a problem?
Right now I cannot check because I only have access to a virtualized testing instalation.
I guess now one can judge if some hardware purchased from aliexpress will work without problems with Debian (OMV is based on Debian).
Let's see what happens
I am looking forward for the hardware. -
Hello,
Please advise me with your thoughts.
Sorry if it is not the right place to ask, but as there are many subjects, I chose this one.
ATM I have 8 external USB hard drives with my data.
To avoid plugin in my computer, and avoid all the problems with USB hubs, mounting etc etc, I am thinking in schuking the hard drives and connecting it to a JONSBO N3 PC build.
It would be 8 HDD (plus one SSD for OMV) single volumes, no RAIDs, redundancy/backups or complicated setup.
Just to replace simple drives connected to a PC.
Yes, I know I will have to copy my data over and over to format with a new filesystem.
I am a daily user of OMV, so I have some moderate experience.
For this setup, I quickly tried OMV with LUKS plugin, simulated some ahrd drives, encrypting and decrypting info.
With no problem.
Just to be sure, I mounted this virtual drives in Ubuntu, and using the passphrase, I could access data.
So for me it is fine.
That brings me some questions:
- BTRFS or EXT4 (or other)? This drives ar archive media and files (downloads, etc), so I won't need snapshots. Is the checksum feature good? Or I should just use EXT4? Right now they are with AppleFS, so I assume EXT4 would be a fine replacement.
- Is the OMV LUKS plugin stable enough to not lose data?
- Other suggestions to be aware (...?)
Bear in mind that my main objective is to be robust and stable.
I want to setup this and forget, to simply work.
Don't want to administrate and solve problems. Setup and forget.
It will be mainly turned off, turn on, access the files, and off again.
Performance is not the main issue.
I will get a PC motherboard with gigabit connection and enough SATA ports.
Probably will have to buy soemthing like this https://pt.aliexpress.com/item/1005005653706057.html
I assume it will be detected by BIOS (driverless) and OMV without a problem, right?
Any comments?
Thank you very much !

-
Hello
I have a raspberry pi 4 2GB running OMV 6.3.4-1 (Shaitan).
I could download via FTP @ 12MB/s (i have only Ethernet 100 mbit there, so it's normal) but now I coan only fo on 2-3MB and sometimes it hangs and downloads fail.
Looking online it seems to be trim related.
How can I chak if there is something I can do?
openmediavault-flashmemory 6.2 is installed
Thank you.
-
Hello,
I just came here to give you feedback and record for others.
I got clonezilla in a usb thumbdrive using rufus and other pen I put ubuntu, because I was already thinking I would need Gparted, what came to be true.
I booted into clonezilla and having A LOT OF ATTENTION, I chose the option clone drive.
always selected the default options, and chose from my 240GB SSD to my new 1TB SSD.
Waited some time. I managed to get an average 25MB/s, what as near the USB2.0 limit.
My SSD cases were USB2.0, which has 480mbit max speed, which is 60MB/s. As I am sharing the bus to write and read, would be 30MB/s max.
I whink it went great.
Another good thing, has clonezilla knew the partition, ext4 type, it only copied the data.
I was having nightmares into thinking it would copy 240GB of data, even unused. But know.Right after copying without any problem with clonezilla, I booted into Ubuntu and used Gparted.
Clonezilla copied 240GB of partition data into a 1TB, so I would need to resize the partition in order to use the full 1TB.
In fact I had two partitions: one with 50GB and the other, aprox. 175GB of data.
I wanted to covert the 50GB into 100GB (double the space for system), and the 175GB to data, to convert the remaining space.
Once again, zero issues.
I put the SSD into the case, booted the raspberry pi 4, it booted everything OK.
All my shares and services of OMV were working without changing anything, so as @macom said, the identifiers got copied, etc.
@macom THANK YOU VERY MUCH for your help, as I was afraid of not working.
I risked into buying an SSD that could turn useless.
And I didn't know clonezilla, so thank you very much for everything!

-
Hello,
I have the following setup
Raspberry pi 4 with 2GB ram
Argon M.2 Case
Kingston SSD m.2 240GB SA400M8240G
Raspberry pi OS Lite
Open Media Vault with docker and portainer installed from Open Media Vault interface.
Several services in docker containers (HomeAssistant, JDownloader, another Self Hosted Apps, etc).
I have at the moment two partitions in the same SSD: first 50GB for OS and OMV, and the remaining 173GB for data.
If I recall correctly, after installing everything (OS, OMV, docker/portaneiner) I made this two partitions by putting the SSD connected to an ubuntu machine and resizing it. I made this because OMV cannot share the system partition.
I want to buy a new 1TB SSD. I would like to migrate in some low-level clone disk tool to have the minimum, or preferably, no hassle. Just copy and plug the new SSD and boot, everything working. I am expecting just to have to resize again the new partitions in order to use all the space of bigger SSD. I would resize the first partition to 100GB and the second to the maximum remining space (aprox. 830GB).
First question, how can I do this? I assume with dd command.
Second question: can I expect this flawless copy method, or may have some kind of hardware related implications, like relying on some weird partition ID the creates a problem when booting? Will OMV accept this with no problem?
Is there some kind of tutorial? I can only find from SD card to SSD. I don’t know if there aren’t any differences in SSD to SSD.
I don’t know if this is the right place to post, if not please tell me where it should be.
Thank you very much.
-
Has I explained, usually after a reboot it works...for some time.
And a reboot is needed. And sometimes, more than once in a row.
From the errors shown, can you perceive something?
-
sudo omv-salt deploy run phpfpm
Code
Display Morepi_admin@raspberrypi:~ $ sudo omv-salt deploy run phpfpm raspberrypi: ---------- ID: configure_phpfpm_webgui Function: file.managed Name: /etc/php/7.4/fpm/pool.d/openmediavault-webgui.conf Result: True Comment: File /etc/php/7.4/fpm/pool.d/openmediavault-webgui.conf is in the correct state Started: 10:35:23.756494 Duration: 101.814 ms Changes: ---------- ID: prereq_phpfpm_service_monit Function: salt.state Result: True Comment: States ran successfully. Updating raspberrypi. Started: 10:35:23.863825 Duration: 2538.255 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: 10:35:25.429200 Duration: 178.052 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: 10:35:25.607624 Duration: 46.642 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: 10:35:25.654725 Duration: 39.364 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: 10:35:25.694488 Duration: 33.616 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: 10:35:25.728642 Duration: 29.752 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: 10:35:25.758746 Duration: 33.795 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: 10:35:25.792931 Duration: 31.543 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: 10:35:25.824959 Duration: 60.063 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: 10:35:25.885425 Duration: 10.338 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: 10:35:25.899293 Duration: 49.301 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: 10:35:25.949403 Duration: 71.283 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: 10:35:26.021384 Duration: 45.522 ms Changes: ---------- ID: test_monit_config Function: cmd.run Name: monit -t Result: True Comment: Command "monit -t" run Started: 10:35:26.073831 Duration: 85.537 ms Changes: ---------- pid: 14285 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: 10:35:26.258533 Duration: 134.298 ms Changes: Summary for raspberrypi ------------- Succeeded: 14 (changed=1) Failed: 0 ------------- Total states run: 14 Total run time: 849.106 ms ---------- ID: test_phpfpm_service_config Function: cmd.run Name: php-fpm7.4 --test Result: True Comment: Command "php-fpm7.4 --test" run Started: 10:35:26.405125 Duration: 197.742 ms Changes: ---------- pid: 14294 retcode: 0 stderr: [26-Jul-2022 10:35:26] NOTICE: configuration file /etc/php/7.4/fpm/php-fpm.conf test is successful stdout: ---------- ID: restart_phpfpm_service Function: service.running Name: php7.4-fpm Result: True Comment: The service php7.4-fpm is already running Started: 10:35:26.662457 Duration: 150.208 ms Changes: ---------- ID: monitor_phpfpm_service Function: module.run Result: True Comment: monit.monitor: True Started: 10:35:26.820998 Duration: 39.002 ms Changes: ---------- monit.monitor: True Summary for raspberrypi ------------ Succeeded: 5 (changed=3) Failed: 0 ------------ Total states run: 5 Total run time: 3.027 s pi_admin@raspberrypi:~ $So it seems something breaks related to the third command?
Sorry the multi-posting but it kept saying I had a limit of 10000 characters...is there a way of bypassing this in this long copy pasting debugs?
Thank you!
-
Just to see if something might be different, I rebooted. Tried to access the Web GUI with sucess so I ran your commands again.
This is the result of the same commands after a reboot.
systemctl status openmediavault-engined
Code
Display More● openmediavault-engined.service - The OpenMediaVault engine daemon that processes the RPC request Loaded: loaded (/lib/systemd/system/openmediavault-engined.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2022-07-26 10:26:54 WEST; 3min 0s ago Process: 853 ExecStart=/usr/sbin/omv-engined (code=exited, status=0/SUCCESS) Main PID: 998 (omv-engined) Tasks: 1 (limit: 1829) CPU: 1.951s CGroup: /system.slice/openmediavault-engined.service └─998 omv-engined Jul 26 10:26:53 raspberrypi systemd[1]: Starting The OpenMediaVault engine daemon that processes the RPC request... Jul 26 10:26:54 raspberrypi systemd[1]: Started The OpenMediaVault engine daemon that processes the RPC request. Jul 26 10:29:13 raspberrypi omv-engined[8343]: pam_unix(openmediavault:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=172.16.0.10 user=adminsudo omv-salt deploy run nginx
Code
Display Morepi_admin@raspberrypi:~ $ pi_admin@raspberrypi:~ $ sudo omv-salt deploy run nginx [sudo] password for pi_admin: raspberrypi: ---------- ID: prereq_nginx_certificates Function: salt.state Result: True Comment: States ran successfully. Updating raspberrypi. Started: 10:34:30.263072 Duration: 7252.633 ms Changes: raspberrypi: ---------- ID: remove_ssl_certificates_crt Function: module.run Result: True Comment: file.find: ['/etc/ssl/certs/openmediavault-82994966-e445-46c2-a052-3248f8974030.crt'] Started: 10:34:30.966069 Duration: 291.865 ms Changes: ---------- file.find: - /etc/ssl/certs/openmediavault-82994966-e445-46c2-a052-3248f8974030.crt ---------- ID: remove_ssl_certificates_key Function: module.run Result: True Comment: file.find: ['/etc/ssl/private/openmediavault-82994966-e445-46c2-a052-3248f8974030.key'] Started: 10:34:31.258578 Duration: 29.828 ms Changes: ---------- file.find: - /etc/ssl/private/openmediavault-82994966-e445-46c2-a052-3248f8974030.key ---------- ID: create_ssl_82994966-e445-46c2-a052-3248f8974030_crt Function: file.managed Name: /etc/ssl/certs/openmediavault-82994966-e445-46c2-a052-3248f8974030.crt Result: True Comment: File /etc/ssl/certs/openmediavault-82994966-e445-46c2-a052-3248f8974030.crt updated Started: 10:34:31.380297 Duration: 79.785 ms Changes: ---------- diff: New file mode: 0644 ---------- ID: create_ssl_82994966-e445-46c2-a052-3248f8974030_key Function: file.managed Name: /etc/ssl/private/openmediavault-82994966-e445-46c2-a052-3248f8974030.key Result: True Comment: File /etc/ssl/private/openmediavault-82994966-e445-46c2-a052-3248f8974030.key updated Started: 10:34:31.460569 Duration: 15.018 ms Changes: ---------- diff: New file mode: 0640 ---------- ID: update_ssl_certificates Function: cmd.run Name: update-ca-certificates --fresh Result: True Comment: Command "update-ca-certificates --fresh" run Started: 10:34:31.480144 Duration: 5958.31 ms Changes: ---------- pid: 12140 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: 10:34:37.482343 Duration: 15.958 ms Changes: ---------- file.find: Summary for raspberrypi ------------ Succeeded: 6 (changed=6) Failed: 0 ------------ Total states run: 6 Total run time: 6.391 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: 10:34:37.525020 Duration: 425.1 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: 10:34:37.950567 Duration: 58.169 ms Changes: ---------- ID: execute_nginx_ensite Function: cmd.run Name: nginx_ensite openmediavault-webgui Result: True Comment: Command "nginx_ensite openmediavault-webgui" run Started: 10:34:38.012355 Duration: 55.436 ms Changes: ---------- pid: 13513 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 raspberrypi. Started: 10:34:38.068606 Duration: 2723.408 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: 10:34:39.622744 Duration: 126.782 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: 10:34:39.749974 Duration: 54.978 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: 10:34:39.805424 Duration: 94.22 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: 10:34:39.900045 Duration: 30.185 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: 10:34:39.930644 Duration: 33.131 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: 10:34:39.964229 Duration: 39.36 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: 10:34:40.004101 Duration: 34.941 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: 10:34:40.039536 Duration: 60.294 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: 10:34:40.100459 Duration: 12.367 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: 10:34:40.115761 Duration: 55.272 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: 10:34:40.171932 Duration: 73.894 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: 10:34:40.246202 Duration: 42.073 ms Changes: ---------- ID: test_monit_config Function: cmd.run Name: monit -t Result: True Comment: Command "monit -t" run Started: 10:34:40.293860 Duration: 64.871 ms Changes: ---------- pid: 13580 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: 10:34:40.634759 Duration: 151.725 ms Changes: Summary for raspberrypi ------------- Succeeded: 14 (changed=1) Failed: 0 ------------- Total states run: 14 Total run time: 874.093 ms ---------- ID: test_nginx_service_config Function: cmd.run Name: nginx -t Result: True Comment: Command "nginx -t" run Started: 10:34:40.792620 Duration: 143.288 ms Changes: ---------- pid: 13601 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: The service nginx is already running Started: 10:34:40.990091 Duration: 338.959 ms Changes: ---------- ID: monitor_nginx_service Function: module.run Result: True Comment: monit.monitor: True Started: 10:34:41.336017 Duration: 67.963 ms Changes: ---------- monit.monitor: True Summary for raspberrypi ------------ Succeeded: 8 (changed=5) Failed: 0 ------------ Total states run: 8 Total run time: 11.065 s pi_admin@raspberrypi:~ $ -
This one got two errors/red flags
sudo omv-salt deploy run phpfpm
Code
Display Morepi_admin@raspberrypi:/portainer/Files/AppData/Config $ sudo omv-salt deploy run phpfpm raspberrypi: ---------- ID: configure_phpfpm_webgui Function: file.managed Name: /etc/php/7.4/fpm/pool.d/openmediavault-webgui.conf Result: True Comment: File /etc/php/7.4/fpm/pool.d/openmediavault-webgui.conf is in the correct state Started: 10:25:06.140866 Duration: 100.828 ms Changes: ---------- ID: prereq_phpfpm_service_monit Function: salt.state Result: True Comment: States ran successfully. Updating raspberrypi. Started: 10:25:06.247600 Duration: 2349.998 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: 10:25:07.786832 Duration: 116.248 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: 10:25:07.903525 Duration: 43.062 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: 10:25:07.946984 Duration: 38.27 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: 10:25:07.985632 Duration: 29.092 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: 10:25:08.015125 Duration: 28.524 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: 10:25:08.044034 Duration: 33.288 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: 10:25:08.077670 Duration: 29.504 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: 10:25:08.107599 Duration: 57.395 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: 10:25:08.165348 Duration: 8.57 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: 10:25:08.176331 Duration: 45.022 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: 10:25:08.222196 Duration: 63.207 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: 10:25:08.285985 Duration: 41.72 ms Changes: ---------- ID: test_monit_config Function: cmd.run Name: monit -t Result: True Comment: Command "monit -t" run Started: 10:25:08.333037 Duration: 41.554 ms Changes: ---------- pid: 146769 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: 10:25:08.453662 Duration: 135.055 ms Changes: Summary for raspberrypi ------------- Succeeded: 14 (changed=1) Failed: 0 ------------- Total states run: 14 Total run time: 710.511 ms ---------- ID: test_phpfpm_service_config Function: cmd.run Name: php-fpm7.4 --test Result: True Comment: Command "php-fpm7.4 --test" run Started: 10:25:08.600682 Duration: 136.67 ms Changes: ---------- pid: 146786 retcode: 0 stderr: [26-Jul-2022 10:25:08] NOTICE: configuration file /etc/php/7.4/fpm/php-fpm.conf test is successful stdout: ---------- ID: restart_phpfpm_service Function: service.running Name: php7.4-fpm Result: False Comment: Job for php7.4-fpm.service failed because the control process exited with error code. See "systemctl status php7.4-fpm.service" and "journalctl -xe" for details. Started: 10:25:08.804975 Duration: 357.238 ms Changes: ---------- ID: monitor_phpfpm_service Function: module.run Result: False Comment: One or more requisite failed: omv.deploy.phpfpm.default.restart_phpfpm_service Started: 10:25:09.168068 Duration: 0.021 ms Changes: Summary for raspberrypi ------------ Succeeded: 3 (changed=2) Failed: 2 ------------ Total states run: 5 Total run time: 2.945 s -
sudo omv-salt deploy run nginx
Diff
Display More---------- ID: prereq_nginx_certificates Function: salt.state Result: True Comment: States ran successfully. Updating raspberrypi. Started: 10:22:12.010594 Duration: 4502.325 ms Changes: raspberrypi: ---------- ID: remove_ssl_certificates_crt Function: module.run Result: True Comment: file.find: ['/etc/ssl/certs/openmediavault-82994966-e445-46c2-a052-3248f8974030.crt'] Started: 10:22:12.716110 Duration: 65.114 ms Changes: ---------- file.find: - /etc/ssl/certs/openmediavault-82994966-e445-46c2-a052-3248f8974030.crt ---------- ID: remove_ssl_certificates_key Function: module.run Result: True Comment: file.find: ['/etc/ssl/private/openmediavault-82994966-e445-46c2-a052-3248f8974030.key'] Started: 10:22:12.781622 Duration: 6.231 ms Changes: ---------- file.find: - /etc/ssl/private/openmediavault-82994966-e445-46c2-a052-3248f8974030.key ---------- ID: create_ssl_82994966-e445-46c2-a052-3248f8974030_crt Function: file.managed Name: /etc/ssl/certs/openmediavault-82994966-e445-46c2-a052-3248f8974030.crt Result: True Comment: File /etc/ssl/certs/openmediavault-82994966-e445-46c2-a052-3248f8974030.crt updated Started: 10:22:12.795585 Duration: 12.655 ms Changes: ---------- diff: New file mode: 0644 ---------- ID: create_ssl_82994966-e445-46c2-a052-3248f8974030_key Function: file.managed Name: /etc/ssl/private/openmediavault-82994966-e445-46c2-a052-3248f8974030.key Result: True Comment: File /etc/ssl/private/openmediavault-82994966-e445-46c2-a052-3248f8974030.key updated Started: 10:22:12.808631 Duration: 10.205 ms Changes: ---------- diff: New file mode: 0640 ---------- ID: update_ssl_certificates Function: cmd.run Name: update-ca-certificates --fresh Result: True Comment: Command "update-ca-certificates --fresh" run Started: 10:22:12.822576 Duration: 3663.808 ms Changes: ---------- pid: 142807 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: 10:22:16.487180 Duration: 18.079 ms Changes: ---------- file.find: Summary for raspberrypi ------------ Succeeded: 6 (changed=6) Failed: 0 ------------ Total states run: 6 Total run time: 3.776 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 updated Started: 10:22:16.519110 Duration: 215.059 ms Changes: ---------- diff: --- +++ @@ -34,8 +34,8 @@ # Force redirection to HTTPS. return 301 https://$host:4430$request_uri; } - listen *:4430 default_server ssl deferred; - listen [::]:4430 default_server ssl deferred; + listen *:4430 default_server http2 ssl deferred; + listen [::]:4430 default_server http2 ssl deferred; ssl_certificate /etc/ssl/certs/openmediavault-82994966-e445-46c2-a052-3248f8974030.crt; ssl_certificate_key /etc/ssl/private/openmediavault-82994966-e445-46c2-a052-3248f8974030.key; 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 is in the correct state Started: 10:22:16.734645 Duration: 71.812 ms Changes: ---------- ID: execute_nginx_ensite Function: cmd.run Name: nginx_ensite openmediavault-webgui Result: True Comment: Command "nginx_ensite openmediavault-webgui" run Started: 10:22:16.810057 Duration: 32.977 ms Changes: ---------- pid: 144213 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 raspberrypi. Started: 10:22:16.843917 Duration: 2435.284 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: 10:22:18.288120 Duration: 130.671 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: 10:22:18.419194 Duration: 60.313 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: 10:22:18.480149 Duration: 46.783 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: 10:22:18.527443 Duration: 40.456 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: 10:22:18.568332 Duration: 40.033 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: 10:22:18.609003 Duration: 38.31 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: 10:22:18.647746 Duration: 41.16 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: 10:22:18.689397 Duration: 74.665 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: 10:22:18.764754 Duration: 11.648 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: 10:22:18.778930 Duration: 71.681 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: 10:22:18.851667 Duration: 78.632 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: 10:22:18.930877 Duration: 45.796 ms Changes: ---------- ID: test_monit_config Function: cmd.run Name: monit -t Result: True Comment: Command "monit -t" run Started: 10:22:18.982025 Duration: 49.028 ms Changes: ---------- pid: 144251 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: 10:22:19.129632 Duration: 142.374 ms Changes: Summary for raspberrypi ------------- Succeeded: 14 (changed=1) Failed: 0 ------------- Total states run: 14 Total run time: 871.550 ms ---------- ID: test_nginx_service_config Function: cmd.run Name: nginx -t Result: True Comment: Command "nginx -t" run Started: 10:22:19.279956 Duration: 117.185 ms Changes: ---------- pid: 144260 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: 10:22:19.583629 Duration: 4910.833 ms Changes: ---------- nginx: True ---------- ID: monitor_nginx_service Function: module.run Result: True Comment: monit.monitor: True Started: 10:22:24.502239 Duration: 41.661 ms Changes: ---------- monit.monitor: True Summary for raspberrypi ------------ Succeeded: 8 (changed=7) Failed: 0 ------------ Total states run: 8 Total run time: 12.327 s -
Hello,
I tried running this via SSH in my raspbian port.
I can confirm that I ran this when the bad gateway problem was happning, I just tried accessing Web interface and I am having the 502 error.
I ran each oof your command one by one, I don't know if it is supposed or all at once.
When I run the first command, the CLI "hangs" (changes line and keeps the cursor on _
Via other SSH CLI, with top, I see the systemctl doing something, taking 20% of my CPU
I would say it hangs for a minute or so, is this normal?
systemctl status openmediavault-engined
Code
Display Morepi_admin@raspberrypi:/portainer/Files/AppData/Config $ systemctl status openmediavault-engined ● openmediavault-engined.service - The OpenMediaVault engine daemon that processes the RPC request Loaded: loaded (/lib/systemd/system/openmediavault-engined.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2022-07-26 07:33:15 WEST; 2h 42min ago Process: 486 ExecStart=/usr/sbin/omv-engined (code=exited, status=0/SUCCESS) Main PID: 561 (omv-engined) Tasks: 1 (limit: 1829) CPU: 1.696s CGroup: /system.slice/openmediavault-engined.service └─561 omv-engined Jul 26 07:33:14 raspberrypi systemd[1]: Starting The OpenMediaVault engine daemon that processes the RPC request... Jul 26 07:33:15 raspberrypi systemd[1]: openmediavault-engined.service: Supervising process 561 which is not our child.>Jul 26 07:33:15 raspberrypi systemd[1]: Started The OpenMediaVault engine daemon that processes the RPC request. -
Hello and thank you for your support.
Yes I did, and just got to some problem about NGINX, which someone said it wasn't installed, as others mentioned that it is by default...
So I didn't get to any point as I am very new to OMV. I have some experience in linux but right now I don't know where to start, that's why I made a so-long and so-broad post... to see if someone with more experience could guide me to a direction.
Copy paste information just after a reboot.
Nome do anfitrião
raspberrypiVersão
6.0.31-2 (Shaitan)Processador
BCM2835Kernel
Linux 5.15.32-v8+System Time
25/07/2022, 14:52:37Tempo de disponibilidade
4 minutesLoad Average
4.58, 3.50, 1.50CPU Usage
51.5%
Memory Usage81.1% of 1.81 GiB
Thank you once again, if you can help me guiding to a direction, I would be very grateful

-
Well I just made some reboots because of other things, and I haven't had an internet/router/DNS failure, I can ping google via SSH and the WebGUI interface is giving me 502 bad gateway error.
-
Hello,
I have some random problem I cannot seem to understand where should I start to debug it, so I write here to see if you can help me pinpoint where can I start.
If this isn't in the right place please mention ir or move the thread.
Hardware:
Raspberry pi 4 with 2GB ram.
Argon One M.2 SSD case
SSD: Kingston A400 240GB
HDD: 2.5" WD HDD 500GB in USB case
The SSD has two partitions. The first one with 50GB (where all the system files are) and the other has 170GB to use with my files (the idea os to serve as cache files for self-hosted apps).
Software (by installed order)
Raspbian OS 64bit
OpenMediaVault
Docker/Portainer (installed via OpenMediaVault interface)
Home Assistant Supervised
Several docker packages - I list next the ones that are running (I have others installed but stopped right now)
QuoteDisplay Moreaddon_core_dnsmasq created
homer healthy
photoview_stack_photoview_1 healthy
addon_15d21743_samba_backup running
addon_a0d7b954_esphome running
addon_core_configurator running
addon_a0d7b954_adb running
addon_core_ssh running
addon_core_samba running
addon_a0d7b954_chrony running
addon_core_mosquitto running
hassio_multicast running
hassio_audio running
hassio_dns running
hassio_cli running
hassio_supervisor running
portainer running
homeassistant running
nextcloudpi running
plex running
transmission running
JDownloader running
hassio_observer running
photoview_stack_db_1 running
guacamole running
So the problem is, somehwere in time (I don't know the pattern of when or why), Openmediavault ceases to let me in. I Put my password and login in WebGUI and it says
502 - BAD GATEWAY
If I access the pi via SHH, pinging DNSs stops working, but IP pinging works, either local or internet. Pinging 1.1.1.1 works, ping google.com does not, gives the message:
ping: google.com: Name or service not known
I am not sure if this is consequence of my router losing DNS connection, because it's a thing that is happening: internet keeps on but the wireless connection or DHCP service stops assigning/aception new wireless clients, the DNS solving stops but the ip connection keeps working.).
I don't know if this has something to do with this because:
-All the clients, wired or wireless do somekind of refreshing, and as soon I power cycle my router, all of them have DNS connectivity, with the rpi this doesn't happen (remmeber that I dont know if this is related.
-It shouldn't have nothing to do with a local login, via WebGUI, in the same local network.
99% of the time, rebooting the pi via SSH solves the problem. I say 99% of the time because I think that one time it didn't, it needed another reboot.
The WebGUI accepted me and pinging DNSs works after reboot.
All of my remote access is done via OpenVPN connection via my router, so I am not talking about remote acess, as via VPN, all is as I was in my physical local network.
I know it is a long text, but can you please help me? Where to start?
Updating something? What?
Step by step trial and error? How/which?
Thank you very much.
-
OK thank you for your help
just a quick update. with so much practice, I almost do this blindfolded... lol some many reintalls
reintalled raspberry OS
then OMV 6
then docker and portainer
then home assistant supervised
tried to restore and everything OK
tomorrow I will continue putting my containers back
what is the best way to backup the rip minimizing my trouble both into backuing up, checking the integrity of the backups and restoring?
everything from OS, OMV, docker, containers, etc. I would like a one click approach (sort of) and preferably online, with rip on to a samba share.
thank you!
-
No I haven't, I was following a tutorial.
What do you want me to specific see? I already now I cannot install in Desktop version, that one I already found out

lite version - check
64 bits - check
clean ssd (not using sd card) + pi imager - check
SHA256 on IMG - check
until the install script of OMV I am completely comfortable, already made the processo dozens of times
any thing you want to point out or just pointing me to a tutorial ?
in any case TY

-
I guess my best option is to start over (once again) by using a fresh install
Now I will use :
raspberry pi os -> OMV6 -> docker
by this order, let me see if now I can make this work!
-
I didn't even entered your command yet
just before reading your help, I was trying to install a plugin, remote munt
that's why I came to this thread, because I couldn't install a plugin
as described, I just commented the docker source in
sudo nano /etc/apt/sources.list.d/omvextras.list
I just went there and it is still commented.
after that I could install plugin. I installed remote mount.
I input the data /login and pw for samba share) and rebooted
after reboot I cannot login anymore
so it has nothing to do with your help command because I never got to enter it
I have stoped all my docker containers, ran omg first aid and changed to another port and nothing
any idea?

-
Well now it broke.
I cannot login in web ui, it gives me an error 502 bad gateway
I already ran the omg first aid command and changed the port and no solution
all I did was installing remote mount plugin, made a mount and rebooted
it is getting hard to get this working
