Beiträge von marc_al

    Hello,

    The problematic command is

    Code
    sudo apt purge zfsutils

    update-initramfs -u didn't help (before and after the purge)

    purging openmediavault-zfs and adding back didn't help.

    After a reboot there is no zfs mount.

    I have removed the mount point and forced a mount, the shared drives work but not the docker

    When applying the changes I have some error timeout

    The first error is

    Code
     500 - Internal Server Error
    Fatal error 73: expected '>' (line=1792, column=47); Fatal error 76: Opening and ending tag mismatch: download-queue-size line 1792 and downlo (line=1792, column=47); Fatal error 74: EndTag: '</' not found (line=1792, column=47) 


    Doing the command manually

    Code
    sudo /usr/sbin/omv-rpc -u admin "config" "applyChanges" "{ \"modules\": $(cat /var/lib/openmediavault/dirtymodules.json),\"force\": true }"
    returns 
    
    {"response":null,"error":{"code":0,"message":"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=; omv-salt deploy run --no-color zfs 2>&1' with exit code '100': ERROR: The state 'zfs' does not exist","trace":"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; export LANGUAGE=; omv-salt deploy run --no-color zfs 2>&1' with exit code '100': ERROR: The state 'zfs' does not exist in \/usr\/share\/php\/openmediavault\/system\/process.inc:242\nStack trace:\n#0 \/usr\/share\/php\/openmediavault\/engine\/module\/serviceabstract.inc(62): OMV\\System\\Process->execute()\n#1 \/usr\/share\/openmediavault\/engined\/rpc\/config.inc(178): OMV\\Engine\\Module\\ServiceAbstract->deploy()\n#2 [internal function]: Engined\\Rpc\\Config->applyChanges(Array, Array)\n#3 \/usr\/share\/php\/openmediavault\/rpc\/serviceabstract.inc(123): call_user_func_array(Array, Array)\n#4 \/usr\/share\/php\/openmediavault\/rpc\/rpc.inc(86): OMV\\Rpc\\ServiceAbstract->callMethod('applyChanges', Array, Array)\n#5 \/usr\/sbin\/omv-engined(537): OMV\\Rpc\\Rpc::call('config', 'applyChanges', Array, Array, 1)\n#6 {main}"}}

    EDIT : What is the state ZFS?



    Thank you

    Hello,


    I did dpkg -l | grep wheezy (and also for the bpo10)

    I did the all the wheezy manually one by one (all in one in the first time) (and reboot when I saw a problem)

    The things still there are

    Code
    dpkg -l | grep wheezy
    rc  libzfs2                              0.6.5.7-8-wheezy                            amd64        Native ZFS filesystem library for Linux
    rc  libzpool2                            0.6.5.7-8-wheezy                            amd64        Native ZFS pool library for Linux
    rc  zfsutils                             0.6.5.7-8-wheezy                            amd64        command-line tools to manage ZFS filesystems

    When I do sudo apt purge libzfs2 libzpool2 zfsutils. After a reboot the pool doesn't load anymore on startup.

    I do a force mount from the OMV6 GUI (as docker already starts automatically the pool doesn't load automatically ( I guess).

    After the force mount the pool is loaded and I have the error when doing the Apply changes.

    I will try after one by one for the remaining files to see the last one

    Hello,


    I am still stuck at the first part :(

    When I remove the old config files my zfs pool is not mounted anymore (I can force import on the GUI) but U gave an error

    Code
    00 - Internal Server Error
    Fatal error 45: Comment not terminated (line=1072, column=51); Fatal error 74: EndTag: '</' not found (line=1072, column=51)

    I can't copy the other error (not fast enough). but talks about duplicate

    And on reboot it is not imported anymore.

    Do you have an idea? Where can I look for a way to automount (before docker).

    Thank you

    Hello,

    Thanks for the help. Here is what I have now


    Code
    uname -a
    Linux openmediavault 5.15.143-1-pve #1 SMP PVE 5.15.143-1 (2024-02-08T18:12Z) x86_64 GNU/Linux
    Code
    zfs -V
    zfs-2.1.14-pve1
    zfs-kmod-2.1.14-pve1


    Code
    sudo dkms status
    veeamsnap, 6.1.0.1498, 5.15.143-1-pve, x86_64: installed


    Code
    dpkg -l | grep zfs
    ii  libvirt-daemon-driver-storage-zfs    8.0.0-1~bpo11+1                             amd64        Virtualization daemon ZFS storage driver
    rc  libzfs2                              0.6.5.7-8-wheezy                            amd64        Native ZFS filesystem library for Linux
    ii  libzfs4linux                         2.1.14-pve1                                 amd64        OpenZFS filesystem library for Linux - general support
    ii  openmediavault-zfs                   6.0.14                                      amd64        OpenMediaVault plugin for ZFS
    rc  zfs-auto-snapshot                    1.2.4-2                                     all          ZFS automatic snapshot service
    ii  zfs-dkms                             2.1.11-1~bpo11+1                            all          OpenZFS filesystem kernel modules for Linux
    ii  zfs-zed                              2.1.14-pve1                                 amd64        OpenZFS Event Daemon
    rc  zfsutils                             0.6.5.7-8-wheezy                            amd64        command-line tools to manage ZFS filesystems
    ii  zfsutils-linux                       2.1.14-pve1                                 amd64        command-line tools to manage OpenZFS filesystems





    Code
    ls -l /etc/apt/sources.list.d
    total 32
    -rw-r--r-- 1 root root  115 Dec 31 06:48 omvdocker.list
    -rw-r--r-- 1 root root  141 Dec 31 06:48 omvextras.list
    -rw-r--r-- 1 root root  150 Aug  8  2023 openmediavault-kernel-backports.list
    -rw-r--r-- 1 root root   60 Jun  8  2023 openmediavault-local.list
    -rw-r--r-- 1 root root  336 Mar 13 08:46 openmediavault-os-security.list
    -rw-r--r-- 1 root root 1462 Jun  8  2023 openmediavault.list
    -rw-r--r-- 1 root root  144 Mar 13 10:14 pvekernel.list
    -rw-r--r-- 1 root root   96 Jun  8  2023 veeam.list

    And



    Code
    ls -l /etc/apt/sources.list.d
    total 32
    -rw-r--r-- 1 root root  115 Dec 31 06:48 omvdocker.list
    -rw-r--r-- 1 root root  141 Dec 31 06:48 omvextras.list
    -rw-r--r-- 1 root root  150 Aug  8  2023 openmediavault-kernel-backports.list
    -rw-r--r-- 1 root root   60 Jun  8  2023 openmediavault-local.list
    -rw-r--r-- 1 root root  336 Aug  8  2023 openmediavault-os-security.list
    -rw-r--r-- 1 root root 1462 Jun  8  2023 openmediavault.list
    -rw-rw-rw- 1 root root  144 Jun  8  2023 pvekernel.list
    -rw-r--r-- 1 root root   96 Jun  8  2023 veeam.list

    Thanks again

    Hello,


    Here are the information you requested (and thanks for the help)


    Code
    uname -a
    Linux openmediavault 5.15.143-1-pve #1 SMP PVE 5.15.143-1 (2024-02-08T18:12Z) x86_64 GNU/Linux
    Code
    zfs -V
    zfs-2.1.14-pve1
    zfs-kmod-2.1.14-pve1
    Code
    sudo dkms status
    veeamsnap, 6.1.0.1498, 5.15.143-1-pve, x86_64: installed
    veeamsnap, 6.1.0.1498, 6.1.0-0.deb11.13-amd64, x86_64: installed
    zfs, 2.1.11, 5.15.143-1-pve, x86_64: installed (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!)
    zfs, 2.1.11, 6.1.0-0.deb11.11-amd64, x86_64: installed
    zfs, 2.1.11, 6.1.0-0.deb11.13-amd64, x86_64: installed
    zfs, 2.1.11, 6.1.0-0.deb11.7-amd64, x86_64: installed


    Code
    dpkg -l | grep zfs
    ii  libvirt-daemon-driver-storage-zfs     8.0.0-1~bpo11+1                             amd64        Virtualization daemon ZFS storage driver
    rc  libzfs2                               0.6.5.7-8-wheezy                            amd64        Native ZFS filesystem library for Linux
    ii  libzfs4linux                          2.1.14-pve1                                 amd64        OpenZFS filesystem library for Linux - general support
    ii  openmediavault-zfs                    6.0.14                                      amd64        OpenMediaVault plugin for ZFS
    rc  zfs-auto-snapshot                     1.2.4-2                                     all          ZFS automatic snapshot service
    ii  zfs-dkms                              2.1.11-1~bpo11+1                            all          OpenZFS filesystem kernel modules for Linux
    ii  zfs-zed                               2.1.14-pve1                                 amd64        OpenZFS Event Daemon
    rc  zfsutils                              0.6.5.7-8-wheezy                            amd64        command-line tools to manage ZFS filesystems
    ii  zfsutils-linux                        2.1.14-pve1                                 amd64        command-line tools to manage OpenZFS filesystems


    And for the two lasts

    Code
    ls -l /etc/apt/sources.list.d
    total 32
    -rw-r--r-- 1 root root  115 Mar 12 07:13 omvdocker.list
    -rw-r--r-- 1 root root  142 Mar 12 07:13 omvextras.list
    -rw-r--r-- 1 root root  168 Mar 12 07:13 openmediavault-kernel-backports.list
    -rw-r--r-- 1 root root   60 Mar 12 07:13 openmediavault-local.list
    -rw-r--r-- 1 root root   87 Mar 12 07:13 openmediavault-os-security.list
    -rw-r--r-- 1 root root 1471 Mar 12 07:13 openmediavault.list
    -rw-r--r-- 1 root root  144 Mar 12 08:43 pvekernel.list
    -rw-r--r-- 1 root root   96 Mar 12 07:13 veeam.list

    Hello,

    Normally it was the PVE version (but the other kernel was still there)

    Here is all the information you n

    Code
    uname -a
    Linux openmediavault 6.2.16-20-pve #1 SMP PREEMPT_DYNAMIC PMX 6.2.16-20 (2023-12-01T13:17Z) x86_64 GNU/Linux
    Code
    zfs -V
    zfs-2.2.3-1~bpo12+1
    zfs-kmod-2.1.14-pve1


    Code
    sudo dkms status
    veeamsnap/6.1.0.1498, 5.15.143-1-pve, x86_64: installed
    veeamsnap/6.1.0.1498, 6.1.0-0.deb11.13-amd64, x86_64: installed
    veeamsnap/6.1.0.1498, 6.1.0-18-amd64, x86_64: installed
    veeamsnap/6.1.0.1498, 6.2.16-20-pve, x86_64: installed
    veeamsnap/6.1.0.1498, 6.5.13-1-pve, x86_64: installed
    zfs/2.1.11, 5.15.143-1-pve, x86_64: installed (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!)
    zfs/2.1.11, 6.2.16-20-pve, x86_64: installed (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!)
    Code
     dpkg -l | grep zfs
    ii  libvirt-daemon-driver-storage-zfs    9.0.0-4                                     amd64        Virtualization daemon ZFS storage driver
    rc  libzfs2                              0.6.5.7-8-wheezy                            amd64        Native ZFS filesystem library for Linux
    ii  libzfs4linux                         2.2.3-1~bpo12+1                             amd64        OpenZFS filesystem library for Linux - general support
    ii  openmediavault-zfs                   7.0.5                                       amd64        OpenMediaVault plugin for ZFS
    rc  zfs-auto-snapshot                    1.2.4-2                                     all          ZFS automatic snapshot service
    ii  zfs-dkms                             2.1.11-1                                    all          OpenZFS filesystem kernel modules for Linux
    ii  zfs-zed                              2.2.2-pve2                                  amd64        OpenZFS Event Daemon
    rc  zfsutils                             0.6.5.7-8-wheezy                            amd64        command-line tools to manage ZFS filesystems
    ii  zfsutils-linux                       2.2.2-pve2                                  amd64        command-line tools to manage OpenZFS filesystems

    Hello,

    Yes, OMV6 was using ZFS + PVE kernel (there was a DKMS driver for Veeam and for ZFS too ). I didn't remove non PVE kernel (just in case).

    I didn't test the ZFS version running before the upgrade but I know it has been updated while in OMV6 (as I had a message telling me I should upgrade my pool for features flags)

    Hello,


    I have upgraded my OMV6 (PVE kernel to version 7) and after some problems already solved in the forum all is fine (plugins were left on version 6 like when I upgraded from 5-6) in the GUI so I had to do

    Code
    sudo rm /usr/sbin/omv-mkaptidx 
    wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/fix6to7upgrade | sudo bash

    I also had the error 502 that I solved with

    Code
    omv-salt stage run deploy


    Now I would like to install the PVE kernel verison bask (version 6.5)


    I have attached the error message.

    Can you please tell me what I do wrong?

    It seems Using PVE kernel 6.2 has no problem.

    I guess I must configure the kernel but how can I do it?


    Thank you

    Hello,

    Thank you for the answer.

    @macom I know the difference (update loads the list of the updates that exist, and upgrade applies the upgrade)


    When I do (in a terminal "apt update"), the trigger is correctly done because the list is OK in the GUI (you helped me correct the problem with the script omv-mkaptidx thanks again for that).


    but OMV doesn't seem to do an apt update (in Version 5, it was "automatic" when I go in the Update part or perhaps it takes a few minutes to appear).


    Also (it is only an idea), perhaps it would be better to have immediately the Updates page instead of the Update management (generally you won't change a lot the settings for the updates but you will check for the updates more often).


    Thanks again

    Hello,


    My OMV6 installation doesn't check for updates. The button to check for updates does nothing (no new update in the list while apt update finds some).

    Doing apt update in a terminal session will add all the updates in the list. Can you please tell me what I am doing wrong?

    I have also seen that when I make updates appear (apt update) selecting to install the updates doesn't apply all the updates while apt upgrade will.


    Thank you