Posts by matefon

    Also, the result of sudo apt-get remove --simulate udisks2:

    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:

    Code
    dbus
    fwupd
    gnome-disk-utility
    gvfs-daemons      
    parted
    udev

    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.

    In case someone stumbles upon this thread, here are 2 solutions:

    1. 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)
    2. 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:

    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:

    Code
    root@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.

    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:

    Also, when I run apt update this happens:

    Code
    Traceback (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

    Okay, web interface is available. I did this:

    Code
    # systemctl unmask openmediavault-engined

    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:

    Hello there,

    I installed haugene/transmission with vpn on Raspbian (Raspberry Pi 4) with Portainer stack

    What should I do? Peering (uploading) doesn't work either. :|


    Bests,

    Matt