Posts by ggibeau

    Running the following;

    OMV 5.5.14-1

    ZFS Plugin 5.0.5

    Kernal 5.4.44-2.pve


    After latest OMV update - my ZFS pool cannot be seen by shares. I tried changing to various kernels (5.4.65.1-pve and 5.4.44-1.pve) but still no luck.


    If I click on Shared Folders - all shares show n/a under Device. If I export and import Pool - it shows up under ZFS with status "ok", but if I try to create a new test share - the device dropdown is empty.


    If I try to edit existing share - I get the following error;

    Failed to execute XPath query '//system/fstab/mntent[uuid='47753d56-a12b-4c70-bd97-89bbf3aff968']'.


    Here are details:

    Error #0:

    OMV\Config\DatabaseException: Failed to execute XPath query '//system/fstab/mntent[uuid='47753d56-a12b-4c70-bd97-89bbf3aff968']'. in /usr/share/php/openmediavault/config/database.inc:78

    Stack trace:

    #0 /usr/share/openmediavault/engined/rpc/sharemgmt.inc(234): OMV\Config\Database->get('conf.system.fil...', '47753d56-a12b-4...')

    #1 [internal function]: Engined\Rpc\ShareMgmt->get(Array, Array)

    #2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)

    #3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('get', Array, Array)

    #4 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('ShareMgmt', 'get', Array, Array, 1)

    #5 {main}



    Any thoughts on what to try to get access to my share back?


    TIA


    George

    I will try to get that info - with our new semester starting I have been busy getting labs ready, updating our Cisco curriculum to the new v7, and lots of other prep work.


    And now I have the fun experience of the UDM Pro that I manage 2000 miles took an auto update the other day - and now I cannot connect through the cloud dashboard. Lots of people having the same issue - with the WAN port and its ability to auto-negotiate - - requires an on-site fix - sigh....


    Thanks


    George

    I have played a lot with the UDM Pro's Port Forwarding rules - and never got it to work on this Nextcloud installation. The larger issue I have is I cannot even access the Nextcloud GUI from the LAN - and I have tried changing every .config and .php trouble shooting guide I could find. Still no luck ;-(

    I have been running OMV since its release and am now up to version 5. I recently put a Ubiquiti UDM Pro in my network to replace my Untangle firewall - and now I am pulling out my hair trying to get NextCloud to work again. I have tried every install/config out there I could find - and I always run into the same issue. Everything installs just fine (whether I am trying just nextcloud, or a docker stack with Letsencrypt, NextCloud, Mariadb, etc) and I am getting the same problem.


    Everything installs fine, but once installed, I cannot hit the Nextcloud admin page from my local lan (no matter what port I use) and if I try to hit it via my DDNS (using DuckDNS) and port forwarding on the UDM Pro - anything with 443 goes to my UDM Pro dashboard, and anything else (like port 444 redirected to my Nextcloud IP:444) fails.


    I do have a ticket in with Ubiquiti to see if there is a way to change the port on the UDM Pro, and I have my OMV set to port 81 - so that works just fine. This has been driving me crazy the last month trying to get this working again.


    Anyone have any suggestions?


    TIA


    George

    I did what everyone else suggested - made a reservation on my DHCP server for my static IP and that seems to have fixed the issue.



    root@OMV:~# ls -al /etc/netplan/

    total 16

    drwxr-xr-x 2 root root 4096 Jun 9 16:25 .

    drwxrwxr-x 98 root root 4096 Jun 9 18:02 ..

    -rw-r--r-- 1 root root 43 Jun 9 16:25 10-openmediavault-default.yaml

    -rw-r--r-- 1 root root 267 Jun 9 16:25 20-openmediavault-enp2s0.yaml

    root@OMV:~#

    Whenever I try to post something with copied text in the message - I get a posting error;



    Information:


    ID: 2e5e82d649ab41209fa8978ebb0b59754ba7a45d
    Please send the ID above to the site administrator.
    The error message can be looked up at “ACP » Logs » Errors”.

    After a recent routing update for SMB - now nothing will upgrade, and any changes I make and then hit apply result in a failure to complete.


    Running the ZFS plugin,
    OMV version 4.1.21-1
    Kernal = Linux 4.15.18-12-pve


    Does this info help?? (I am not a Linux expert) ;-)


    Applied recent AMB updates - can no longer access SMB shares. Also getting errors regarding clamav - errors below - - tried running "apt-get upgrade" - said it would get rid of 5 bad packages - nothing but fails. any thoughts? TIA


    After this operation, 0 B of additional disk space will be used.
    Do you want to continue? [Y/n]
    Setting up clamav-freshclam (0.100.3+dfsg-0+deb9u1) ...
    insserv: warning: current start runlevel(s) (empty) of script `clamav-freshclam' overrides LSB defaults (2 3 4 5).
    insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `clamav-freshclam' overrides LSB defaults (0 1 6).
    insserv: warning: script 'savecache' missing LSB tags and overrides
    insserv: There is a loop between service monit and savecache if stopped
    insserv: loop involving service savecache at depth 2
    insserv: loop involving service monit at depth 1
    insserv: Stopping savecache depends on monit and therefore on system facility `$all' which can not be true!
    insserv: exiting now without changing boot order!
    update-rc.d: error: insserv rejected the script header
    dpkg: error processing package clamav-freshclam (--configure):
    subprocess installed post-installation script returned error exit status 1
    Setting up udev (232-25+deb9u11) ...
    addgroup: The group `input' already exists as a system group. Exiting.
    update-initramfs: deferring update (trigger activated)
    insserv: warning: script 'savecache' missing LSB tags and overrides
    insserv: There is a loop between service monit and savecache if stopped
    insserv: loop involving service savecache at depth 2
    insserv: loop involving service monit at depth 1
    insserv: Stopping savecache depends on monit and therefore on system facility `$all' which can not be true!
    insserv: exiting now without changing boot order!
    update-rc.d: error: insserv rejected the script header
    dpkg: error processing package udev (--configure):
    subprocess installed post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of clamav-daemon:
    clamav-daemon depends on clamav-freshclam (>= 0.100.3+dfsg) | clamav-data; however:
    Package clamav-freshclam is not configured yet.
    Package clamav-data is not installed.
    Package clamav-freshclam which provides clamav-data is not configured yet.


    dpkg: error processing package clamav-daemon (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of openmediavault-clamav:
    openmediavault-clamav depends on clamav-daemon; however:
    Package clamav-daemon is not configured yet.
    openmediavault-clamav depends on clamav-freshclam; however:
    Package clamav-freshclam is not configured yet.


    dpkg: error processing package openmediavault-clamav (--configure):
    dependency problems - leaving unconfigured
    Setting up samba (2:4.5.16+dfsg-1+deb9u1) ...
    Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked.
    /usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory
    insserv: warning: script 'savecache' missing LSB tags and overrides
    insserv: There is a loop between service monit and savecache if stopped
    insserv: loop involving service savecache at depth 2
    insserv: loop involving service monit at depth 1
    insserv: Stopping savecache depends on monit and therefore on system facility `$all' which can not be true!
    insserv: exiting now without changing boot order!
    update-rc.d: error: insserv rejected the script header
    dpkg: error processing package samba (--configure):
    subprocess installed post-installation script returned error exit status 1
    Processing triggers for initramfs-tools (0.130) ...
    update-initramfs: Generating /boot/initrd.img-4.15.18-12-pve
    W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
    Processing triggers for libc-bin (2.24-11+deb9u4) ...
    Errors were encountered while processing:
    clamav-freshclam
    udev
    clamav-daemon
    openmediavault-clamav
    samba
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    root@OMV2:~#

    Thank you so much for the suggestion - had never used rsync.


    Set it up as a server on Nas4Free (with modules for each share)


    Set up as a remote pull on OMV


    It positively flies -


    -george-

    I had to rebuild my OMV NAS and while doing that - I re-initiated the storage as ZFS. I re-created all my old SMB shares and am in the process of copying everything back over from a Nas4Free box (I use 2 different installs for testing). I use Allway Sync to copy from the Nas4Free to OMV using mapped drive letters from a windows 10 box.


    The process is painfully slow. My wife wrote a book on wildflowers and has 363,623 pictures (mostly .jpg, some raw) and it takes about a minute to copy 3-4 pictures over. - at this rate it is going to take forever..


    I have both boxes connected to a 1-Gig switch


    Any thoughts as to why it is so slow (I did read the SMB thread about tuning - but it did not help)


    TIA


    -George-

    Ran these commands with these results - - will leave on for awhile without touching to see what happens.


    Thanks


    root@omv2:~# cat /proc/mdstat


    Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid1] [raid10]
    md127 : active (auto-read-only) raid5 sdb[0] sdc[1] sdd[2] sde[3]
    8790405120 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]


    unused devices: <none>


    root@omv2:~# mdadm --readwrite /dev/md127


    root@omv2:~# cat /proc/mdstat


    Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid1] [raid10]
    md127 : active raid5 sdb[0] sdc[1] sdd[2] sde[3]
    8790405120 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]


    unused devices: <none>


    root@omv2:~# omv-mkconf mdadm


    update-initramfs: Generating /boot/initrd.img-4.18.0-0.bpo.1-amd64
    update-initramfs: Generating /boot/initrd.img-4.9.0-8-amd64
    update-initramfs: Generating /boot/initrd.img-4.9.0-0.bpo.6-amd64


    root@omv2:~#

    This is a new one


    logged in as root


    run /proc/mdstat


    get Permission denied error


    root@omv2:~# /proc/mdstat
    bash: /proc/mdstat: Permission denied
    root@omv2:~#



    So I ran:


    root@omv2:~# cat /proc/mdstat
    Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid1] [raid10]
    md127 : active (auto-read-only) raid5 sdc[1] sde[3] sdb[0] sdd[2]
    8790405120 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]
    unused devices: <none>
    root@omv2:~#


    Then ran:
    root@omv2:~# mdadm --readwrite /dev/md127
    root@omv2:~# cat /proc/mdstat
    Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid1] [raid10]
    md127 : active raid5 sdc[1] sde[3] sdb[0] sdd[2]
    8790405120 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]
    unused devices: <none>
    root@omv2:~#



    Shows active raid5 now


    rebooted


    file system still shows as:
    referenced = yes
    mounted = no
    Status = missing


    this is turning into a real puzzle ;-)



    any more advice?


    thanks for all your help.

    root@omv2:~# cat /proc/mdstat
    Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid1] [raid10]
    md127 : active (auto-read-only) raid5 sdc[1] sde[3] sdd[2] sdb[0]
    8790405120 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]


    unused devices: <none>
    root@omv2:~#



    Kernal is Linux 4.9.0.8-amd64 (obtained from System Information - Overview)



    yes - I rebooted multiple times ;-)




    root@omv2:~# grep -ir backport /etc/apt/*
    /etc/apt/apt.conf.d/01autoremove: "linux-backports-modules-.*";
    /etc/apt/apt.conf.d/01autoremove-kernels: "^linux-backports-modules-.*-4\.9\.0-0\.bpo\.6-amd64$";
    /etc/apt/apt.conf.d/01autoremove-kernels: "^linux-backports-modules-.*-4\.9\.0-8-amd64$";
    /etc/apt/preferences.d/openmediavault-kernel-backports.pref:Pin: release a=jessie-backports
    /etc/apt/preferences.d/openmediavault-kernel-backports.pref:Pin: release a=jessie-backports
    /etc/apt/preferences.d/openmediavault-kernel-backports.pref:Pin: release a=jessie-backports
    /etc/apt/preferences.d/openmediavault-kernel-backports.pref:Pin: release a=jessie-backports
    /etc/apt/sources.list.d/openmediavault-kernel-backports.list:deb http://httpredir.debian.org/debian jessie-backports main contrib non-free
    root@omv2:~#



    installed omv-extras for OMV 4


    ran this command to successful completion;
    apt-get install -t stretch-backports linux-headers-4.18.0-0.bpo.1-amd64


    rebooted


    System info still shows kernal 4.9.0.8


    Go to OMV-Extras
    Click Kernal
    Installed Kernals drop down only shows 4.9.0.8's



    Went back in and ran:
    apt-get install linux-image-(TAB)
    saw the 4.18 amd64 kernal on the list - and installed it successfully.


    Went back to OMV-Extras / Kernel.
    4.18 now shows up in installed kernals drop down
    select it and click "set as default boot kernal"


    rebooted


    System info now shows kernal as;
    Linux 4.18.0-0.bpo.1-amd64


    Raid File System still shows as missing ;-(


    Went to Update-Management and upgraded all available packages


    Then ran;
    apt-get update
    apt-get upgrade
    still missing file system


    rebooted


    file system still missing


    any thoughts??


    thanks

    mdadm --readwrite /dev/md127

    ran apt-update
    apt-get upgrade (nothing to upgrade)
    removed clamav plugin
    Ran in-place upgrade to go from 3.x to 4.x
    completed with no errors
    logged in via web u=interface
    here is what I see under "File Systems"


    file_system.PNG


    Run the command you referenced - from telnet "mdadm --readwrite /dev/md127"
    Reboot


    File System same - - not mounted and Missing


    ran "apt-get update" and apt-get upgrade" just to make sure it was not due to some missing package update
    rebooted system
    File System for raid array still the same - "Missing"


    Any other thoughts? Or should I just go back to 3.x and be happy.


    Thank you