Ok, I feel very humble now. I just noticed that the Docker Repository checkbox in the omv-extra section was not marked.
I checked it and clicked reinstall. It correctly detected that no docker was installed and started the proper installation.
Ok, I feel very humble now. I just noticed that the Docker Repository checkbox in the omv-extra section was not marked.
I checked it and clicked reinstall. It correctly detected that no docker was installed and started the proper installation.
Hi,
I have just reinstalled from scratch my RPi3 with Raspberry OS Lite (debian 12) and followed the wiki for installing OMV7.
Everything went well up until the point I needed to setup docker.
Unfortunately I did the mistake of first trying to setup the compose and data folder without installing docker first with the button at the bottom.
Now my installation is stuck with "Reinstall docker" but if I click on it I get an error as it tries to uninstall docker first.
500 - Internal Server Error
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; apt-get --yes --autoremove purge docker-ce docker.io containerd.io containerd docker-ce-cli docker-compose-plugin docker-compose 2>&1': Reading package lists... Building dependency tree... Reading state information... Package 'docker-ce' is not installed, so not removed Package 'docker-ce-cli' is not installed, so not removed Package 'docker-compose-plugin' is not installed, so not removed E: Unable to locate package containerd.io E: Couldn't find any package by glob 'containerd.io' E: Couldn't find any package by regex 'containerd.io'
How can I "reset" the inner configuration of OMV and let it know that it should first install docker?
And what issue would that be?
tricky! I have been using the ultrafeeder containers (https://sdr-enthusiasts.gitbook.io/ads-b/) with a RTL-SD to capture ADS-B signals from planes nearby.
I had a omv RPI 3B running only pihole and chose to use it for the purpose.
With debian 11 (Rasbperry OS Lite 32bit version) and omv 6 it has been running great for more than a year.
When I tried to move to debian 11 64bit version (still from Raspberry OS lite) and omv6, I started having very weird reboots.
Whenever I deployed any stack (docker compose up / down) , even unrelated to the ultrafeeder container itself, the system would reboot.
I tried chasing it down with ultrafeeder community eventually gave up since I couldn't do a lot of testing.
In the meantime debian 11 was being phased out, so I would like to try with debian 12, if the problem persists it would be better to chase it further with 12.
I didn't write about it on this forum because I believe it is really something related to the RTL-SD management itself, OMV is just a commodity I use for not having to manually install docker vanilla (although I might try it before installing OMV7).
Yeah. You have to download that script. Then give it execute permissions and run it with the -b flag
Isn't that guide explicitly for bullseye?
I am looking to install debian 12 and omv7 to see if an issue that I was having with 11 will be still there (not directly related to omv but I would like to try on another raspberry before updating the main system. So absolutely no production intentions with omv7
Hi, is there an updated script for installing omv7 (purely for testing) on debian 12?
This one esplicitly requires 10 or 11.
thanks!
Addition: I can manually create a new folder from my Mac into the TestOMVForum folder and even nested ones.
I can also delete those ones.
But I cannot delete the test folder I created in my previous post.
So it looks even stranger, any idea?
Hi everyone,
I am struggling a bit understanding how OMV manages the permissions to the shared folders.
I run a RPi4 with RPi OS lite and I have normally three users:
- mine (nick2k3)
- one for my partner
- one for the docker user (dockeruser)
- one for the AppleTV
I normally share some folders with SMB and access them by Apple products (Macs, iPhones, iPad, Apple TV as said).
My assumptions/understandings:
This being said I have started fresh and formatted one HD with BTRFS.
I have then created a shared folder named : TestOMVForum:
I create one SMB share for this folder (leaving all settings as default):
By accessing the folder via terminal I see these permissions:
nick2k3@ceres:/srv/dev-disk-by-uuid-5a9bbce0-47cc-4bf7-a572-15a7683179bc/TestOMVForum $ ll
total 16
drwxrwsr-x 1 root users 0 Aug 7 14:42 .
drwxr-xr-x 1 root root 24 Aug 7 14:35 ..
I now try to connect through MacOS (13.4.1 Ventura) and I notice that I have writing permissions (no dashed pencil in the bottom right of the window).
I have created a test hierarchy ( one root file with a subfolder and some files) to try and transfer them.
Result:
if I transfer the image file one by one, the transfer is successful.
Here are the permissions of these two files:
nick2k3@ceres:/srv/dev-disk-by-uuid-5a9bbce0-47cc-4bf7-a572-15a7683179bc/TestOMVForum $ ll
total 32
drwxrwsr-x 1 root users 44 Aug 7 14:47 .
drwxr-xr-x 1 root root 24 Aug 7 14:35 ..
-rw-rw-r-- 1 nick2k3 users 4633 Aug 7 14:40 'image 1.png'
-rw-rw-r-- 1 nick2k3 users 4494 Aug 7 14:40 'image 2.png'
If I try to transfer the whole hierarchy "test folder", the root folder is created but the sub-folder copy fails with an error "I cannot complete the operation because you don't have the necessary permissions to access some elements":
here are the permissions of the folder now:
nick2k3@ceres:/srv/dev-disk-by-uuid-5a9bbce0-47cc-4bf7-a572-15a7683179bc/TestOMVForum $ ll
total 32
drwxrwsr-x 1 root users 66 Aug 7 14:49 .
drwxr-xr-x 1 root root 24 Aug 7 14:35 ..
-rw-rw-r-- 1 nick2k3 users 4633 Aug 7 14:40 'image 1.png'
-rw-rw-r-- 1 nick2k3 users 4494 Aug 7 14:40 'image 2.png'
drw-rwsr-x 1 nick2k3 users 0 Aug 7 14:49 'test folder'
any idea on why this is happening? Am I doing something wrong?
The situation does not change even if I manually grant Read/Write access to my user (nick2k3) in the shared folder/permission page.
Actually the PiOs is setting up a file as swap:
cat /etc/fstab
proc /proc proc defaults 0 0
PARTUUID=418ce17e-01 /boot vfat defaults 0 2
PARTUUID=418ce17e-02 / ext4 noatime,nodiratime,defaults 0 1
# >>> [openmediavault]
/dev/disk/by-uuid/6f8fd172-6832-4765-9ce8-b6ecd297d64d /srv/dev-disk-by-uuid-6f8fd172-6832-4765-9ce8-b6ecd297d64d ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
/dev/disk/by-uuid/3d69abaa-b18a-4f04-815c-af49f1365a64 /srv/dev-disk-by-uuid-3d69abaa-b18a-4f04-815c-af49f1365a64 ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
/dev/disk/by-uuid/efdc2651-8801-4e10-bc7f-9e7db7a2d108 /srv/dev-disk-by-uuid-efdc2651-8801-4e10-bc7f-9e7db7a2d108 ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
/dev/disk/by-uuid/a8a3db91-0edb-4fbe-993b-c9c8577fa256 /srv/dev-disk-by-uuid-a8a3db91-0edb-4fbe-993b-c9c8577fa256 ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
/dev/disk/by-uuid/b51384eb-f95e-40df-b2c8-032a662fcd12 /srv/dev-disk-by-uuid-b51384eb-f95e-40df-b2c8-032a662fcd12 btrfs defaults,nofail,ssd 0 2
# <<< [openmediavault]
# a swapfile is not a swap partition, no line here
# use dphys-swapfile swap[on|off] for that
Alles anzeigen
So I think I will try using dphys-swapfile and point it to a folder in one of my drives.
Hello,
I am looking for the best way to change the swap file position on a raspberry Pi 4 with RPI Os 64bit.
Right now I extended it at 600MB in the dphys-swapfile but lately I am reaching this limit as well.
As I understand, the swap is placed in /var/swap, which is currently placed on the SD card which is pretty slow.
I was wondering if I can also place it into an external drive which is mounted and maintained by OMV
This drive would be a SSD that I use to also keep all the config for my docker containers, so quite fast.
Would it be enough to change the setting in /etc/dphys-swapfile to the following?
# where we want the swapfile to be, this is the default
#CONF_SWAPFILE=/var/swap
CONF_SWAPFILE=/path/to/new/swap
# set size to absolute value, leaving empty (default) then uses computed value
# you most likely don't want this, unless you have an special disk situation
CONF_SWAPSIZE=600
do you see any risks doing so (other than the full dependency of the system on this partition( which is already the case)?
Additionally, would it be possible to use two swap files, one on the sd and one on the ext.drive?
thanks,
Hi everyone,
I have been running a RPi 4 OMV 5 setup with 5 USB 3.0 external drives accumulated through the years.
As you can imagine, this resulted in a tangle of cables, USB hubs etc.
I am thus looking to replace it with a more compact solution and I noticed quite some on Amazon (Yottamaster, ICY BOX, Orico etc) but given the considerable price point ( 150-200€) i wanted to check if someone has some positive experience in terms of compatibility with RPi 4 and OMV.
Here are the main boxes I would like to tick:
- at least 4 or 5 bays
- one or more USB 3 interfaces
- autonomous power supply
- possibility to house 2.5" or 3.5" drives
- compatibility with debian/OMV
- some sort of cooling system (either active or passive)
- not particularly interested in RAID
- I would prefer to keep the RPI outside of the enclosure so that I can still use it for other purposes (GPIO etc)
If anyone has some positive experiences and models to reccomend, I would be glad to hear it.
I would also like to understand "what to look for" in those products (like Yottamaster etc) to understand if they are compatible or not, or at least to identify some red flags for cheep chinese stuff.
Thanks,
HI everyone,
I am writing because I need some help investigating some errors i've been having this morning.
My home setup is made by two raspberries running OMV:
1) Raspberry Pi 3 runs OMV and Pihole via docker (IP 192.168.178.120)
2) Raspberry Pi 4 runs OMV and acts as main file server and several other docker containers (IP 192.168.178.100)
I have configured my router to use the Pi3 as default DNS server for the whole network:
- IP 192.168.178.120
- domain: fritz.box
If the Pi3 running pihole is up and running, everything works smooth.
On the Pi4 I have set the hostname and the search domain, and used DHCP.
As soon as the Pi3-pihole is down (reboot, disconnects, fails etc.) the OMV web interfaces ceases to work correctly, even by accessing it directly with the IP and not hostname+domain.
It takes ages to load and eventually will simply default with a dialog "An Error occurred"
From the syslog I can see that nginx is restarted several times:
Feb 23 13:16:33 ceres monit[1044]: 'nginx' failed protocol test [HTTP] at [127.0.0.1]:82 [TCP/IP] -- HTTP: Error receiving data -- Resource temporarily unavailable
Feb 23 13:16:33 ceres monit[1044]: 'nginx' trying to restart
Feb 23 13:16:33 ceres monit[1044]: 'nginx' stop: '/bin/systemctl stop nginx'
Feb 23 13:16:33 ceres systemd[1]: Stopping A high performance web server and a reverse proxy server...
Feb 23 13:16:38 ceres systemd[1]: nginx.service: Succeeded.
Feb 23 13:16:38 ceres systemd[1]: Stopped A high performance web server and a reverse proxy server.
Feb 23 13:16:38 ceres monit[1044]: 'nginx' start: '/bin/systemctl start nginx'
Feb 23 13:16:38 ceres systemd[1]: Starting A high performance web server and a reverse proxy server...
Feb 23 13:16:38 ceres systemd[1]: Started A high performance web server and a reverse proxy server.
Feb 23 13:17:01 ceres CRON[13984]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Feb 23 13:17:01 ceres postfix/postsuper[13996]: Deleted: 1 message
Feb 23 13:17:24 ceres monit[1044]: 'nginx' failed protocol test [HTTP] at [127.0.0.1]:82 [TCP/IP] -- HTTP: Error receiving data -- Resource temporarily unavailable
Feb 23 13:17:24 ceres monit[1044]: 'nginx' trying to restart
Feb 23 13:17:24 ceres monit[1044]: 'nginx' stop: '/bin/systemctl stop nginx'
Feb 23 13:17:24 ceres systemd[1]: Stopping A high performance web server and a reverse proxy server...
Feb 23 13:17:29 ceres systemd[1]: nginx.service: Stopping timed out. Terminating.
Feb 23 13:17:29 ceres systemd[1]: nginx.service: Control process exited, code=killed, status=15/TERM
Feb 23 13:17:29 ceres systemd[1]: nginx.service: Failed with result 'timeout'.
Feb 23 13:17:29 ceres systemd[1]: Stopped A high performance web server and a reverse proxy server.
Feb 23 13:17:29 ceres monit[1044]: 'nginx' start: '/bin/systemctl start nginx'
Feb 23 13:17:29 ceres systemd[1]: Starting A high performance web server and a reverse proxy server...
Feb 23 13:17:29 ceres systemd[1]: Started A high performance web server and a reverse proxy server.
Alles anzeigen
The moment I turn Pi3-pihole up again, everything runs smoothly and the interface is way more reactive.
Is there anything I can do to diagnose further?
Thanks!
Hi everyone, I am writing because I encountered some errors while updating the docker container for Radarr, maintained by linuxserver.
They issued an update last night :
Zitat
- 11.28.20: - Switch to v3 .NET CORE builds (no more mono,
5.14
tag is deprecated). Rebase to Focal (for issues on arm32v7, see here).
following the link ( https://docs.linuxserver.io/fa…ges-based-on-ubuntu-focal ) their advice is:
Zitat2) Add the backports repo for DebianBuster. As seen here.
3) Manually install an updated version of the library with dpkg.Codesudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 04EE7237B7D453EC 648ACFD622F3D138 echo "deb http://deb.debian.org/debian buster-backports main" | sudo tee -a /etc/apt/sources.list.d/buster-backports.list sudo apt install -t buster-backports libseccomp2
Codewget http://ftp.us.debian.org/debian/pool/main/libs/libseccomp/libseccomp2_2.4.4-1~bpo10+1_armhf.deb -o libseccomp2.deb sudo dpkg -i libseccomp2.deb
Note this url may have been updated. Find the latest by browsing here.
So far, I have managed to run the previous-last image using the following tag: linuxserver/radarr:version-v0.2.0.1504
But my question is: is this safe to execute these command on a raspbian lite image on which OMV5 run?
Thank you I'll give it a try!
as a side note, probably OT: is there an "easy" way to have the raspberry pi " turn on again automatically when the power comes back to the UPS?
Hi everyone,
I am having troubles using the NUT plugin with OMV 5.5.5-1.
The installation is fresh, just reinstalled everything on a new microSD.
I can install the plugin correctly, set up the name of the UPS (epyc) and the other parameters like timer etc..
However when I try to apply the modification I get the following Salt output:
Error #0:
OMV\ExecException: 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 monit 2>&1' with exit code '1': 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: 19:42:56.597517
Duration: 87.93 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:42:56.685761
Duration: 27.67 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:42:56.713741
Duration: 23.628 ms
Changes:
----------
ID: configure_monit_nut_service
Function: file.managed
Name: /etc/monit/conf.d/openmediavault-nut.conf
Result: True
Comment: File /etc/monit/conf.d/openmediavault-nut.conf is in the correct state
Started: 19:42:56.737719
Duration: 29.163 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:42:56.767221
Duration: 21.193 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:42:56.788762
Duration: 22.307 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: 19:42:56.811414
Duration: 1.896 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:42:56.813643
Duration: 24.062 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:42:56.838164
Duration: 45.193 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:42:56.883671
Duration: 5.669 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:42:56.889641
Duration: 43.956 ms
Changes:
----------
ID: test_monit_config
Function: cmd.run
Name: monit -t
Result: False
Comment: Command "monit -t" run
Started: 19:42:56.935613
Duration: 30.495 ms
Changes:
----------
pid:
7080
retcode:
1
stderr:
/etc/monit/conf.d/openmediavault-nut.conf:12: Program does not exist: '/usr/bin/upsc'
/etc/monit/conf.d/openmediavault-nut.conf:12: Program does not exist: 'epyc'
/etc/monit/conf.d/openmediavault-nut.conf:14: Program does not exist: '/usr/sbin/upsdrvctl'
AssertException: File '/usr/bin/upsc' does not exist
raised in Command_new at src/system/Command.c:359
stdout:
----------
ID: reload_monit_service
Function: service.running
Name: monit
Result: True
Comment: The service monit is already running
Started: 19:42:57.001853
Duration: 109.196 ms
Changes:
Summary for raspberrypi
-------------
Succeeded: 12 (changed=1)
Failed: 1
-------------
Total states run: 13
Total run time: 472.358 ms in /usr/share/php/openmediavault/system/process.inc:182
Stack trace:
#0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(60): OMV\System\Process->execute()
#1 /usr/share/openmediavault/engined/rpc/config.inc(167): OMV\Engine\Module\ServiceAbstract->deploy()
#2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array)
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusjo...', '/tmp/bgoutputNp...')
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#7 /usr/share/openmediavault/engined/rpc/config.inc(189): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
#8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array)
#9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
#11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
#12 {main}
Alles anzeigen
I checked the nut conf used by conf.d:
pi@pluto:~ $ cat /etc/monit/conf.d/openmediavault-nut.conf
check process nut-server with matching upsd
group nut
start program = "/bin/systemctl start nut-server"
stop program = "/bin/systemctl stop nut-server"
mode active
check process nut-monitor with matching upsmon
group nut
start program = "/bin/systemctl start nut-monitor"
stop program = "/bin/systemctl stop nut-monitor"
mode active
check program nut-upsc-epyc with path "/usr/bin/upsc epyc"
group nut
start program = "/usr/sbin/upsdrvctl start"
if status != 0 for 2 cycles then restart
Alles anzeigen
and Indeed it has some incorrect folders for upsc and upsdrvctl:
I tried to create some links between:
- /bin/upsc and /usr/bin/upsc
- /sbin/upsdrvctl and /usr/sbin/upsdrvctl
and it seems to work.
However I wonder if this is an error in the plugin (which I believe controls the openmediavault-nut.conf) or the result of some change upstream (like debian or nut changing the installation folders).
Any hint on how to proceed?
Thanks,
ok so if I ad a new .conf file in /etc/collectd/collectd.conf.d/ it will persist? Or at somepoint some update will rewrite everything?
Hi everyone,
I would like to configure collectd to export data (which is already collected as part of the monitoring features of OMV) to an external instance.
In particular I'd like to modify /etc/collectd/collectd.conf
PIDFile "/run/collectd.pid"
Hostname "localhost"
FQDNLookup true
<Include "/etc/collectd/collectd.conf.d">
Filter "*.conf"
</Include>
adding the network plugin:
My question is wether or not should I modify /etc/collectd/collectd.conf or it will be overwritten at the next OMV update or salt run.
Any hint?
Thanks, now I got it.
4.19.118-v7+ indeed has the fix for Macvlan so I won't have to go to 5.4!
Thanks again!
If you need an ultra stable NAS, an RPi should not be your first choice.
let's say I'm more looking for a compromise : won't' look for trouble going regularly installing the latest firmware and kernel with rpi-update but also want some functionalities and i'll wait for them to be properly fixed int he stable branch.
Since I know many more will do this, I updated an RPi4 to the 5.4 kernel. Seems fine so far.
did you do it with rpi-update? or is the 5.4 in the official repository by now?
But is it really useful to have a larger swapfile on a RPi4?
Unless you run run out of memory pretty ofter i'd say the swap it's just an avoidable write on the SD card. wouldn't it wear it more?
Ok, i run a apt-get upgrade on the "test"rpi3 on which I 've run rpi-update previosuly, and the kernel was bumped to 4.19.118-v7+.
Is this normal? I was expecting it to go to 5.4.42, perhaps I was wrong.
so fare everything is working ok..
Will try in the afternoon to upgrade the RPi4 (not previously updated with rpi-update).