So far so good. The disk is standby. I don't have other issues for now.
Posts by matefon
-
-
After reading some online sources, I masked udisks2. Will write if the disk spindown error is fixed or if I encounter other problems caused by the masking.
-
Also, the result of sudo apt-get remove --simulate udisks2:
Code
Display MoreReading package lists... Done Building dependency tree... Done Reading state information... Done The following packages were automatically installed and are no longer required: exfatprogs gir1.2-evince-3.0 gir1.2-gmenu-3.0 gir1.2-gtksource-4 gvfs-common gvfs-libs libblockdev-crypto2 libblockdev-fs2 libblockdev-loop2 libblockdev-part-err2 libblockdev-part2 libblockdev-swap2 libblockdev-utils2 libblockdev2 libcdio-cdda2 libcdio-paranoia2 libgnome-menu-3-0 libgtksourceview-4-0 libgtksourceview-4-common libparted-fs-resize0 libportal-gtk4-1 libvolume-key1 nautilus-data Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED: gnome-disk-utility gnome-shell-extensions gnome-sushi gvfs gvfs-backends gvfs-daemons gvfs-fuse nautilus udisks2 0 upgraded, 0 newly installed, 9 to remove and 0 not upgraded. Remv gnome-disk-utility [43.0-1] Remv gnome-shell-extensions [43.1-1] Remv gnome-sushi [43.0-2] Remv gvfs-backends [1.50.3-1] Remv nautilus [43.2-1] Remv gvfs [1.50.3-1] [gvfs-fuse:amd64 ] Remv gvfs-daemons [1.50.3-1] [gvfs-fuse:amd64 ] Remv gvfs-fuse [1.50.3-1] Remv udisks2 [2.9.4-4]
So I'm a little confused: how can it be that dbus and udev depends on udisks2 but removing it apparently doesn't break those?
-
I compared the installed packages dpkg --get-selections | grep -v deinstall output with the output of apt-cache depends udisks2 and apt-cache rdepends udisks2, here is the output:
I have a lot of gnome stuff installed, and I don't know why. I will investigate that, and also which packages need the other stuff.
-
Anyone, any idea?
-
In case someone stumbles upon this thread, here are 2 solutions:
- Use a self hosted VPN (requires port forwarding): I recommend WireGuard. I have WG set up on my MikroTik switch that my server is connected to, but you can set up a WireGuard server where OMV is running. (Alternatively: OpenVPN)
- NordVPN Meshnet: NordVPN made Meshnet free claiming that the infrastructure is already present, and Meshnet doesn't have big impact on their servers. This solution requires a NordVPN account, and after installing the NordVPN client on your server (and logging in), you just connect to the Meshnet network. On your other device (e.g. phone) you can also download NordVPN, and in the Meshnet tab you can connect to it. This is essentially a VPN connection between your devices, but without port forwarding. Similar to TailScale or ZeroTier.
-
Hi,
I tried troubleshooting this issue from posts I found on this forum and others too, and with the help of ChatGPT, but nothing helped.
I have a 4TB WD drive that I use for data which I don't access a lot. I also have a 1TB WD drive that is constantly running for Plex, torrents, etc. As I don't use the 4TB one, I always had it configured to spin down after 20 minutes. On my previous server (RPi4, OMV 6, USB HDD enclosures) it worked, but I have another server now (J4125B, OMV 7, SATA connections), and it doesn't work.
After some investigation with btrace I can see that nothing accesses the drive when I don't use it, except pool-udisksd and udisksd.
I tried to apply the OMV settings again (see attached picture), but didn't work. With hdparm -C it is always active/idle. I tried editing /etc/udisks2/udisks2.conf, my config is this now:
Code
Display More[udisks2] # Comma separated list of modules to load. # Use asterisk to load all the modules. modules=* # Valid options are 'ondemand' or 'onstartup'. modules_load_preference=ondemand [defaults] # Valid options are 'luks1' or 'luks2' encryption=luks1 [Device wd40] #PollingInterval=86400 EnableSmart=false
And you can see, I also tried to set the polling rate to a day. (I restarted udisks after modifications)
I tried editing /etc/smartd.conf, but there is a message that it is OMV generated and changes will be lost.
I need SMART monitoring, for my SSD system drive and 1TB HDD I don't care if they are checked every 5 minutes or so by udisks, but my 4TB drive should be checked less frequently, maybe once a day.
I really hope someone can help me with this.
Thanks in advance for the answers,
Matt -
I managed to solve the issue.
So I remembered that after I installed python3.10 the update command had this strange message.
In my browsing history I found the guide I followed to install python3.10.
Then I searched for the python version that does not show an error when I try to import openmediavault:
Coderoot@raspberrypi:/usr/bin# python3.10 -c "import openmediavault" Traceback (most recent call last): File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'openmediavault' root@raspberrypi:/usr/bin# python3.7 -c "import openmediavault" root@raspberrypi:/usr/bin#
Then I followed the guide to make python3 call python3.7 instead of 3.10.
-
I have only PHP and Raspi enabled in sources.d
-
Hi, after updating python3 to 3.10 with some help (I am using a Raspberry Pi) I tried to apply the configuration and this error message shows:
Code
Display MoreOMV\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 --no-color cron 2>&1' with exit code '1': Traceback (most recent call last): File "/usr/sbin/omv-salt", line 25, in <module> import openmediavault.log ModuleNotFoundError: No module named 'openmediavault' in /usr/share/php/openmediavault/system/process.inc:196 Stack trace: #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): 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/bgstatusuq...', '/tmp/bgoutputGG...') #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}
Also, when I run apt update this happens:
CodeTraceback (most recent call last): File "/usr/sbin/omv-mkaptidx", line 38, in <module> import aptModuleNotFoundError: No module named 'apt'Reading package lists... DoneBuilding dependency treeReading state information... DoneAll packages are up to date.
Can anyone help me? Thanks.
-
Thank you.
I already found that one and others too.
This temporary solution was tested and it works for now: echo 524288 > /proc/sys/net/netfilter/nf_conntrack_max
Also this move was not too clever because according to this I can have maximum 65535 connections with 2GB RAM. This is why I chose this forum for an advice.
Cheers,
Matt
-
Hello,
My new OMV NAS (Raspberry Pi 4 2GB) started not answering.
It is the first time I have seen this message in syslog: nf_conntrack: table full, dropping packet.
Uptime was not a problem: now it is 4 or 5 days but the maximum was 20 days and due to a power outage, it couldn't have been more.
I don't know what it is: I'm using exactly the same things as I did before.
Please, help,
Matt
-
REMOVED:
chrony omvextras-common omvextras-unionbackend openmediavault
Yes... And with almost nothing experience with Linux systems I thought "It installs ntp, not removing anything." Was wrong.
Hopefully, install script worked, and all my setting were there.
-
Problem solved: removing plugin OMV Extras then updating was available. Then I just simply reinstalled OMV Extras.
-
Okay, web interface is available. I did this:
Then I could change the network interface in omv-firstaid and after a reboot WebUI is working.
Now I've got another problem. After sudo apt-get update I get this:
Code
Display Moreroot@raspberrypi:~# sudo apt-get update Get:1 file:/var/cache/openmediavault/archives InRelease Ign:1 file:/var/cache/openmediavault/archives InRelease Get:2 file:/var/cache/openmediavault/archives Release Ign:2 file:/var/cache/openmediavault/archives Release Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Hit:5 http://archive.raspberrypi.org/debian buster InRelease Hit:6 http://security.debian.org/debian-security buster/updates InRelease Hit:7 http://packages.openmediavault.org/public usul InRelease Ign:8 https://dl.bintray.com/openmediavault-plugin-developers/usul buster InRelease Ign:9 https://dl.bintray.com/openmediavault-plugin-developers/usul-testing buster InRelease Ign:10 https://dl.bintray.com/openmediavault-plugin-developers/usul-extras buster InRelease Hit:11 https://openmediavault.github.io/packages usul InRelease Get:12 https://dl.bintray.com/openmediavault-plugin-developers/usul buster Release [4363 B] Get:13 https://dl.bintray.com/openmediavault-plugin-developers/usul-testing buster Release [3538 B] Get:14 https://dl.bintray.com/openmediavault-plugin-developers/usul-extras buster Release [3538 B] Hit:15 http://raspbian.raspberrypi.org/raspbian buster InRelease Get:16 https://dl.bintray.com/openmediavault-plugin-developers/usul buster Release.gpg [821 B] Get:17 https://dl.bintray.com/openmediavault-plugin-developers/usul-testing buster Release.gpg [821 B] Get:18 https://dl.bintray.com/openmediavault-plugin-developers/usul-extras buster Release.gpg [821 B] Hit:19 https://download.docker.com/linux/debian buster InRelease Ign:16 https://dl.bintray.com/openmediavault-plugin-developers/usul buster Release.gpg Ign:17 https://dl.bintray.com/openmediavault-plugin-developers/usul-testing buster Release.gpg Ign:18 https://dl.bintray.com/openmediavault-plugin-developers/usul-extras buster Release.gpg Reading package lists... Done W: GPG error: https://dl.bintray.com/openmediavault-plugin-developers/usul buster Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7AA630A1EDEE7D73 E: The repository 'https://dl.bintray.com/openmediavault-plugin-developers/usul buster Release' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. W: GPG error: https://dl.bintray.com/openmediavault-plugin-developers/usul-testing buster Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7AA630A1EDEE7D73 E: The repository 'https://dl.bintray.com/openmediavault-plugin-developers/usul-testing buster Release' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. W: GPG error: https://dl.bintray.com/openmediavault-plugin-developers/usul-extras buster Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7AA630A1EDEE7D73 E: The repository 'https://dl.bintray.com/openmediavault-plugin-developers/usul-extras buster Release' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
-
Hello.
I removed OMV by mistake.
Then I installed it and got this:
OMV\Rpc\Exception: Failed to connect to socket: No such file or directory in /usr/share/php/openmediavault/rpc/rpc.inc:141
Please help
Matt
-
Hello.
I wanted to install ntp.
I type sudo apt-get install ntp.
And contiuned.
It removed openmediavault.
Be careful guys, read everything.
-
Hello there,
I installed haugene/transmission with vpn on Raspbian (Raspberry Pi 4) with Portainer stack
Code
Display Moreversion: '2' services: transmission: image: haugene/transmission-openvpn:latest-armhf container_name: vpntrans cap_add: - NET_ADMIN devices: - /dev/net/tun restart: unless-stopped ports: - 9093:9091 # - 8888:8888 dns: - 1.1.1.1 # sysctls: # - net.ipv6.conf.all.disable_ipv6=1 volumes: - /etc/localtime:/etc/localtime:ro - /sharedfolders/:/data - /sharedfolders/appdata/vpntrans:/config environment: - OPENVPN_PROVIDER=VPNBOOK - OPENVPN_CONFIG=de4-udp5 - OPENVPN_USERNAME=vpnbook - OPENVPN_PASSWORD=8AKctYE - OPENVPN_OPTS=--inactive 3600 --ping 10 --ping-exit 60 - LOCAL_NETWORK=192.168.0.0/24 10.8.0.0/24 - WEBPROXY_ENABLED=false - TRANSMISSION_PORT_FORWARDING_ENABLED=true - TRANSMISSION_PEER_PORT=51413 - PUID=1000 - PGID=100 - TRANSMISSION_WATCH_DIR=/data/torrent/watch - TRANSMISSION_WATCH_DIR_ENABLED=true - TRANSMISSION_RPC_AUTHENTICATION_REQUIRED=true - TRANSMISSION_RPC_USERNAME=xxxxx - TRANSMISSION_RPC_PASSWORD=xxxxx - TRANSMISSION_RPC_PORT=9091 - TRANSMISSION_INCOMPLETE_DIR_ENABLED=false - TRANSMISSION_DOWNLOAD_DIR=/data/video - TRANSMISSION_PEER_LIMIT_GLOBAL=500 - TRANSMISSION_ALT_SPEED_DOWN=2400000 - TRANSMISSION_ALT_SPEED_UP=4000 - TRANSMISSION_ALT_SPEED_TIME_ENABLED=true - TRANSMISSION_ALT_SPEED_TIME_BEGIN=390 - TRANSMISSION_ALT_SPEED_TIME_DAY=127 - TRANSMISSION_ALT_SPEED_TIME_END=1350 - TRANSMISSION_SPEED_LIMIT_DOWN_ENABLED=true - TRANSMISSION_SPEED_LIMIT_DOWN=80000 - TRANSMISSION_SPEED_LIMIT_UP_ENABLED=true - TRANSMISSION_SPEED_LIMIT_UP=1 - TRANSMISSION_HOME=/data/appdata/transmissionovpn - TRANSMISSION_WEB_UI=transmission-web-control - HEALTH_CHECK_HOST=google.com
What should I do? Peering (uploading) doesn't work either.
Bests,
Matt
-
What if I disable port forwarding?
-
So, what should I do?