Posts by pcon

    executed the file command, one broken link and a non existing file.

    root@OMV:~# file /usr/lib/python3/dist-packages/Cryptodome/Util/../Hash/
    /usr/lib/python3/dist-packages/Cryptodome/Util/../Hash/ broken symbolic link to GTS_Root_R3.pem
    root@OMV:~# file  /usr/lib/python3/dist-packages/Cryptodome/Util/../Hash/GTS_Root_R3.pem
    /usr/lib/python3/dist-packages/Cryptodome/Util/../Hash/GTS_Root_R3.pem: cannot open `/usr/lib/python3/dist-packages/Cryptodome/Util/../Hash/GTS_Root_R3.pem' (No such file or directory)

    I bet it needs usrmerge installed. apt-get install usrmerge then run the fix script -…lob/master/fix5to6upgrade

    run apt install usrmerge message: usrmerge is already the latest version.

    apt install usrmerge
    Package lists are read... Done
    Dependency tree is built... Done
    Status information is read... Done
    usrmerge is already the latest version (25).
    0 updated, 0 reinstalled, 0 to remove and 0 not updated.

    executing the script I get the same and other error messages. See the attached file. Code box not possible:

    Zoki pycryptodome is installed see the code box.

    root@OMV:~# ls -l /usr/lib/python3/dist-packages/Cryptodome/Util/../Hash/
    lrwxrwxrwx 1 root root 15 10. Jul 2021  /usr/lib/python3/dist-packages/Cryptodome/Util/../Hash/ -> GTS_Root_R3.pem
    root@OMV:~# apt install python3-pycryptodome
    Paketlisten werden gelesen… Fertig
    Abhängigkeitsbaum wird aufgebaut… Fertig
    Statusinformationen werden eingelesen… Fertig
    python3-pycryptodome ist schon die neueste Version (3.9.7+dfsg1-1+b2).
    0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.

    Here the error messaage in a Code Box

    I have an issue after the upgrade from OMV 5 to OMV 6. After the first login I get the message: "Pending configuration changes. You must apply these changes in order for them to take effect." If I start and confirm the pending configuration changes I get an error messages: 500 - Internal Server Error Failed to execute command 'export PATH=/bin: ... Do you have any idea what to do?

    cu pcon

    Sul OMV5 non e possibile connetare con la versione SMB1 che tante stampante usano ancora.

    Se volete davvero usare SMBv1 (cattiva idea), fatelo come root nel file smb.conf

    nano /etc/samba/smb.conf

    nella sezione GLOBAL aggiungere

    protocollo min = NT1

    restart Samba

    systemctl restart smbd.service

    Pue essere che la stampante usa SMB1 e il OMV 5 usa SMB 3 e questo causa problemi con le vecchie stampanti multifunzione che cercano di eseguire la scansione sulle condivisioni SMB 3.0. Consiglierei di aggiornare il firmware della Canon iRC per vedere se è compatibile con SMB 3.0.

    I will try the fix and test the code and give feedback.

    Update #1

    I have tested with 3 cycles and the code change for line 965 is working fine.

    You wrote that you fix this issue in 6.03. If there any changes to do before update to 6.03? Maybe rollback the code change for line 965?

    AutoShutdown shut down after first cycle with no result. Set are 6 cycles with no result before shutdown.

    In the autoshutdown.log I found this: /usr/sbin/autoshutdown: line 923: 0.00: syntax error: invalid arithmetic operator (error token is ".00")

    here the line 922, 923, 924:

    line 922: # Calculate the total value.

    line 923: local t_hddio_read=$((P_HDDIO_DEVS["${hdd}_r"] + hddio_increase))

    line 924: local t_hddio_write=$((P_HDDIO_DEVS["${hdd}_w"] + hddio_increase))

    Is there a bug in the cycles calculation?

    What a confusing question :-) What happen? Maybe a data loss, maybe nothing. If the USB Box connected to a Linux system, then USB storage devices must be unmount or ejected before disconnected from the desktop. If not in some cases that can cause a data loss or the USB device can't be read after reconnection. Windows USB storage connection can be disconnected without an eject, but it recommanded to eject the USB storage.

    When copying files, the Samba service failed and all shares gone. The restart of the SMB Service in the OMV Web Interface caused a log out from the Web interface. A log in was no longer possible, message: wrong user, wrong password. Try to fix it with omv-firstaid but it didn't work. After a reboot a lot of services failed on start up and the boot up process stop with the message: Beep after System start. (see attachment).

    A new installation stops with: !! Partition disks !! Failed to partition the selected disk ... after clicking continue the next error message appears: no roots file system ... (see attachment)

    I tried two different SSDs, I wiped the SSDs and treated them with fdisk and gpard. The installation is not possible and stop at the partitioning.

    The system is a TerraMaster F220, with 4 GB RAM, the SSD is attached on a USB port. The install medium is a 8 USB Stick.

    Any idea what I can do to install the OMV 5?

    This works for me

    For OMV 4.x only

    cd /etc/apt/sources.list.d

    sudo mv omv-extras-org.list omv-extras-org.bak

    echo "deb arrakis main" | sudo tee omv-extras-org.list

    cd /etc/apt/trusted.gpg.d/

    sudo wget

    sudo apt-key add omvextras2026.asc

    sudo apt-get update


    omv-update was terminated with some errors like: 403 Forbidden or failed to fetch. How to fix this problem?