omv-extras plugins - porting progress to OMV 6.x (done)

    • Offizieller Beitrag

    Unfortunately after trying to mount a remote dir, I got the same message "The property fstab" does not exist in the model conf.service.remotemount.mount".


    same here

    When you install the same version with changes in a short timeframe, your will need to clear the salt cache:


    sudo /usr/bin/salt-call --local saltutil.clear_cache

    sudo omv-salt stage run prepare


    I recommend hitting ctrl-shift-R after every new install too.

    omv 7.1.0-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.5 | scripts 7.0.7


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • did what you sugested

    still a error 500


    Could not fetch a matching mount point from the provided fsname: '//192.168.xxx.xxx/LS-WXL231'.


    OMV\Exception: Could not fetch a matching mount point from the provided fsname: '//192.168.xxx.xxx/LS-WXL231'. in /usr/share/php/openmediavault/system/filesystem/backend/remoteabstract.inc:209

    Stack trace:

    #0 /usr/share/php/openmediavault/system/filesystem/backend/remoteabstract.inc(139): OMV\System\Filesystem\Backend\RemoteAbstract::fetchMountPointFromFstabByFsnameAndType('//192.168.xxx.x...', 'cifs')

    #1 /usr/share/php/openmediavault/system/filesystem/filesystem.inc(873): OMV\System\Filesystem\Backend\RemoteAbstract->getImpl('//192.168.xxx.x...')

    #2 /usr/share/openmediavault/engined/rpc/sharemgmt.inc(90): OMV\System\Filesystem\Filesystem::getImplByMountPoint('/srv/27d7cebe-d...')

    #3 [internal function]: Engined\Rpc\ShareMgmt->getCandidates(NULL, Array)

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

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

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

    #7 {main}

    • Offizieller Beitrag

    still a error 500


    Could not fetch a matching mount point from the provided fsname: '//192.168.xxx.xxx/LS-WXL231'.


    OMV\Exception: Could not fetch a matching mount point from the provided fsname: '//192.168.xxx.xxx/LS-WXL231'. in

    That usually happens when the remote share is not mounted. I would delete the remote mount and try again.

    omv 7.1.0-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.5 | scripts 7.0.7


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • finally 2 error's


    Could not fetch a matching mount point from the provided fsname: '/srv/55528bb0-cefe-4d0c-969b-fafbd22cbec7'.


    OMV\Exception: Could not fetch a matching mount point from the provided fsname: '/srv/55528bb0-cefe-4d0c-969b-fafbd22cbec7'. in /usr/share/php/openmediavault/system/filesystem/backend/remoteabstract.inc:209

    Stack trace:

    #0 /usr/share/php/openmediavault/system/filesystem/backend/remoteabstract.inc(139): OMV\System\Filesystem\Backend\RemoteAbstract::fetchMountPointFromFstabByFsnameAndType('/srv/55528bb0-c...', 'cifs')

    #1 /usr/share/php/openmediavault/system/filesystem/filesystem.inc(799): OMV\System\Filesystem\Backend\RemoteAbstract->getImpl('/srv/55528bb0-c...')

    #2 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(182): OMV\System\Filesystem\Filesystem::getFilesystems()

    #3 [internal function]: Engined\Rpc\OMVRpcServiceFileSystemMgmt->enumerateFilesystems(NULL, Array)

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

    #5 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(371): OMV\Rpc\ServiceAbstract->callMethod('enumerateFilesy...', NULL, Array)

    #6 [internal function]: Engined\Rpc\OMVRpcServiceFileSystemMgmt->getList(Array, Array)

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

    #8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('getList', Array, Array)

    #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusBt...', '/tmp/bgoutputNa...')

    #10 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))

    #11 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(505): OMV\Rpc\ServiceAbstract->callMethodBg('getList', Array, Array)

    #12 [internal function]: Engined\Rpc\OMVRpcServiceFileSystemMgmt->getListBg(Array, Array)

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

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

    #15 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('FileSystemMgmt', 'getListBg', Array, Array, 1)

    #16 {main}





    Could not fetch a matching mount point from the provided fsname: '//192.168.xxx.xxx/LS-WXL231'.


    OMV\Exception: Could not fetch a matching mount point from the provided fsname: '//192.168.xxx.xxx/LS-WXL231'. in /usr/share/php/openmediavault/system/filesystem/backend/remoteabstract.inc:209

    Stack trace:

    #0 /usr/share/php/openmediavault/system/filesystem/backend/remoteabstract.inc(139): OMV\System\Filesystem\Backend\RemoteAbstract::fetchMountPointFromFstabByFsnameAndType('//192.168.xxx.x...', 'cifs')

    #1 /usr/share/php/openmediavault/system/filesystem/filesystem.inc(873): OMV\System\Filesystem\Backend\RemoteAbstract->getImpl('//192.168.xxx.x...')

    #2 /usr/share/openmediavault/engined/rpc/sharemgmt.inc(90): OMV\System\Filesystem\Filesystem::getImplByMountPoint('/srv/55528bb0-c...')

    #3 [internal function]: Engined\Rpc\ShareMgmt->getCandidates(NULL, Array)

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

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

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

    #7 {main}

    • Offizieller Beitrag

    finally 2 error's

    And this is why I hate this plugin and was avoiding porting it... Is the remote mount mounted? grep 55528 /proc/mounts

    omv 7.1.0-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.5 | scripts 7.0.7


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • And this is why I hate this plugin and was avoiding porting it... Is the remote mount mounted? grep 55528 /proc/mounts

    root@odroidxu4:~# grep 55528 /proc/mounts

    systemd-1 /srv/55528bb0-cefe-4d0c-969b-fafbd22cbec7 autofs rw,relatime,fd=86,pgrp=1,timeout=0,minproto=5,maxproto=5,direct 0 0

    root@odroidxu4:~#



    Also, file systems mount is empty


    after clearing remote mount it works again

    • Offizieller Beitrag

    I will have to setup a smb remote mount and try it. nfs is working fine. Might be a couple of days.

    omv 7.1.0-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.5 | scripts 7.0.7


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    jives ok, I lied. I looked at it again and think I fixed it. New version uploaded to same place. Not going to look at it again today though : )

    omv 7.1.0-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.5 | scripts 7.0.7


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    i will test some more

    Can you please test reboots? I'm not having any problems with my test system that has nfs and cifs mounts.

    omv 7.1.0-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.5 | scripts 7.0.7


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • New version uploaded to same place. Not going to look at it again today though : )

    Many thanks for the new upload. I got the new version. Now I can get the config "stored" but not "validated". Here is the error message.



    I can manually mount the filesystem.


    François-Xavier

    • Offizieller Beitrag

    Here is the error message.

    New version uploaded. I'm hoping you are checking the fstab checkbox for testing purposes : )

    omv 7.1.0-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.5 | scripts 7.0.7


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • what does fstab add?, can it be on my old nas?,

    gives an error



    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 fstab 2>&1' with exit code '1': odroidxu4:

    Data failed to compile:

    ----------

    Rendering SLS 'base:omv.deploy.fstab.90remotemount' failed: Jinja variable openmediavault.collectiontools.DotDict object has no element 0


    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; omv-salt deploy run --no-color fstab 2>&1' with exit code '1': odroidxu4:

    Data failed to compile:

    ----------

    Rendering SLS 'base:omv.deploy.fstab.90remotemount' failed: Jinja variable openmediavault.collectiontools.DotDict object has no element 0 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/bgstatusbX...', '/tmp/bgoutput4Y...')

    #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}

  • I will test it and tell you what is going on.

    When I try to delete the remote-mounted drive I get :



    and /var/log/syslog says:


    Feb 7 16:45:01 GariPI CRON[17498]: (root) CMD (/usr/sbin/omv-mkrrdgraph >/dev/null 2>&1)

    Feb 7 16:46:45 GariPI omv-engined[17987]: PHP Fatal error: Uncaught Error: Wrong parameters for Exception([string $message [, long $code [, Throwable $previous = NULL]]]) in /usr/share/openmediavault/engined/rpc/remotemount.inc:198

    Feb 7 16:46:45 GariPI omv-engined[17987]: Stack trace:

    Feb 7 16:46:45 GariPI omv-engined[17987]: #0 /usr/share/openmediavault/engined/rpc/remotemount.inc(198): Exception->__construct('The filesystem ...', '/srv/11d545f9-a...')

    Feb 7 16:46:45 GariPI omv-engined[17987]: #1 [internal function]: OMV\Engined\Rpc\RemoteMount->delete(Array, Array)

    Feb 7 16:46:45 GariPI omv-engined[17987]: #2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)

    Feb 7 16:46:45 GariPI omv-engined[17987]: #3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('delete', Array, Array)

    Feb 7 16:46:45 GariPI omv-engined[17987]: #4 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('RemoteMount', 'delete', Array, Array, 1)

    Feb 7 16:46:45 GariPI omv-engined[17987]: #5 {main}

    Feb 7 16:46:45 GariPI omv-engined[17987]: thrown in /usr/share/openmediavault/engined/rpc/remotemount.inc on line 198


    fx

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!