Misc Problems

  • Hi All, I really hope than some genius on here can help me. I used to have a fairly stable OMV 4 but recently I am getting more and more errors and I think I just need to upgrade the kernel. A list of my 3 main errors below: maybe someone can help me please. And if not, maybe someone can explain how I can upgrade my Kernel from 4.15 to 4.19. I cannot find a howto for that. Thank you all very much !!


    1) Update Management-Check
    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; apt-get update 2>&1' with exit code '100': Get:1 file:/var/cache/openmediavault/archives InRelease Ign:1 file:/var/cache/openmediavault/archives InRelease Get:2 file:/var/cache/openmediavault/archives Release Ign:2 file:/var/cache/openmediavault/archives Release Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Hit:5 http://security.debian.org/debian-security stretch/updates InRelease Hit:6 http://packages.openmediavault.org/public arrakis InRelease Ign:7 http://ftp.uk.debian.org/debian stretch InRelease Hit:8 http://ftp.uk.debian.org/debian stretch-updates InRelease Hit:9 http://ftp.uk.debian.org/debian stretch Release Hit:10 https://openmediavault.github.io/packages arrakis InRelease Ign:12 https://dl.bintray.com/openmed…plugin-developers/arrakis stretch InRelease Hit:11 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease Get:13 https://dl.bintray.com/openmed…plugin-developers/arrakis stretch Release [4389 B] Hit:13 https://dl.bintray.com/openmed…plugin-developers/arrakis stretch Release Hit:16 http://download.proxmox.com/debian stretch InRelease AppStream system cache was updated, but problems were found: Metadata files have errors: /var/lib/app-info/yaml/ftp.uk.debian.org_debian_dists_stretch_main_dep11_Components-amd64.yml.gz Reading package lists... E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh-cache > /dev/null; fi' E: Sub-process returned an error code



    2) Plugins-Check


    ailed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; apt-get update 2>&1' with exit code '100': Get:1 file:/var/cache/openmediavault/archives InRelease Ign:1 file:/var/cache/openmediavault/archives InRelease Get:2 file:/var/cache/openmediavault/archives Release Ign:2 file:/var/cache/openmediavault/archives Release Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Hit:5 http://packages.openmediavault.org/public arrakis InRelease Hit:6 http://security.debian.org/debian-security stretch/updates InRelease Hit:7 https://openmediavault.github.io/packages arrakis InRelease Ign:9 https://dl.bintray.com/openmed…plugin-developers/arrakis stretch InRelease Get:10 https://dl.bintray.com/openmed…plugin-developers/arrakis stretch Release [4389 B] Hit:10 https://dl.bintray.com/openmed…plugin-developers/arrakis stretch Release Ign:12 http://ftp.uk.debian.org/debian stretch InRelease Hit:13 http://ftp.uk.debian.org/debian stretch-updates InRelease Hit:14 http://ftp.uk.debian.org/debian stretch Release Hit:8 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease Hit:16 http://download.proxmox.com/debian stretch InRelease AppStream system cache was updated, but problems were found: Metadata files have errors: /var/lib/app-info/yaml/ftp.uk.debian.org_debian_dists_stretch_main_dep11_Components-amd64.yml.gz Reading package lists... E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh-cache > /dev/null; fi' E: Sub-process returned an error code


    3) I have 2 Shared Folders (without References) that cannot be removed. Everytime I try to remove them the following erros show up:


    Error #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; systemctl restart 'sharedfolders-NNSurveilance.mount' 2>&1' with exit code '1': Failed to restart sharedfolders-NNSurveilance.mount: Unit sharedfolders-NNSurveilance.mount is not loaded properly: Bad message.See system logs and 'systemctl status sharedfolders-NNSurveilance.mount' for details. in /usr/share/php/openmediavault/system/process.inc:182Stack trace:#0 /usr/share/php/openmediavault/system/systemctl.inc(86): OMV\System\Process->execute(Array, 1)#1 /usr/share/php/openmediavault/system/systemctl.inc(160): OMV\System\SystemCtl->exec('restart', NULL, false)#2 /usr/share/openmediavault/engined/module/sharedfolders.inc(66): OMV\System\SystemCtl->restart()#3 /usr/share/openmediavault/engined/rpc/config.inc(194): OMVModuleSharedfolders->startService()#4 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)#7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusL7...', '/tmp/bgoutputdY...')#8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))#9 /usr/share/openmediavault/engined/rpc/config.inc(213): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)#10 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)#11 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#12 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)#13 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)#14 {main}

    OMV6 i5-based PC

    OMV6 on Raspberry Pi4

    OMV5 on ProLiant N54L (AMD CPU)

    • Offizieller Beitrag

    Why are you starting a new thread? The first two are caused by what we were looking at in this thread - https://forum.openmediavault.o…?postID=207363#post207363


    The last one is probably happening because your system is a mess right now.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

  • thanks. Just thought I add a few more eyes and people maybe recognize a commonality between the 3 issues I am encountering....

    OMV6 i5-based PC

    OMV6 on Raspberry Pi4

    OMV5 on ProLiant N54L (AMD CPU)

    • Offizieller Beitrag

    Still having trouble with removing the shares though

    Have you fully updated the system and rebooted since fixing the other issue?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

  • Still the same problem after rebooting.
    I also cannot add a new share after creating a brand new filesystem on a new disk.


    So the error is in the general process of adding/removing shares.


    Any more ideas?

    OMV6 i5-based PC

    OMV6 on Raspberry Pi4

    OMV5 on ProLiant N54L (AMD CPU)

    • Offizieller Beitrag

    Any more ideas?

    You will probably have to remove the sections for each one from /etc/openmediavault/config.xml

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

  • OK. I will try that. Haven't edited that file. Is there some kind of instruction.
    I dont really know what to edit there exactly.
    many thanks

    OMV6 i5-based PC

    OMV6 on Raspberry Pi4

    OMV5 on ProLiant N54L (AMD CPU)

    • Offizieller Beitrag

    Is there some kind of instruction.

    No because it is generally recommended against. There is no way to fix a shared folder that has had its storage removed though. Backup the file and then try editing. It is xml.


    I dont really know what to edit there exactly.

    Look in the sharedfolder section of the xml and look for the shared folder name that you want to delete.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

  • OK. Found a solution. The drive in question was an external USB drive. The only way it worked was to boot without drive connected, wait for several Linux error messages to finish, then connect the USB drive. This obviously forces a refresh of all Linux links. The I can remove the file system on OMV and unmount the drive.
    Strangely, the drive can only be unmounted if I boot without the drive connected and connect it after booting.

    OMV6 i5-based PC

    OMV6 on Raspberry Pi4

    OMV5 on ProLiant N54L (AMD CPU)

Jetzt mitmachen!

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