[SOLVED]Upgrade to 3.0 causes problem with samba and apt-get

  • After upgrade from the webGUI to 3.0, which in the middle just whent bezerk, i upgraded using ap-get upgrade. Worked fine.


    However, doing apt-get update causes the following error:


    /usr/lib/apt/methods/https: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory
    E: Method https has died unexpectedly!
    E: Sub-process https returned an error code (127)
    E: Method /usr/lib/apt/methods/https did not start correctly
    root@harmoni:/usr/lib/x86_64-linux-gnu#[/tt]


    Also, in webGUI when allying changes to samba shares, I get the following error:


    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; systemctl stop smbd 2>&1' with exit code '1': Failed to get D-Bus connection: Unknown error -1


    Details
    Fel #0:exception 'OMV\ExecException' with message 'Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; systemctl stop smbd 2>&1' with exit code '1': Failed to get D-Bus connection: Unknown error -1' in /usr/share/php/openmediavault/system/process.inc:175Stack trace:#0 /usr/share/php/openmediavault/system/systemctl.inc(83): OMV\System\Process->execute(Array, 1)#1 /usr/share/php/openmediavault/system/systemctl.inc(118): OMV\System\SystemCtl->exec('stop', NULL, false)#2 /usr/share/openmediavault/engined/module/samba.inc(48): OMV\System\SystemCtl->disable(true)#3 /usr/share/openmediavault/engined/rpc/config.inc(147): OMVModuleSamba->stopService()#4 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(150): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)#7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(528): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatus8f...', '/tmp/bgoutputFR...')#8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(151): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))#9 /usr/share/openmediavault/engined/rpc/config.inc(208): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)#10 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)#11 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)#12 /usr/share/php/openmediavault/rpc/rpc.inc(84): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)#13 /usr/sbin/omv-engined(516): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)#14 {main}



    Help appreciated!

    • Offizieller Beitrag

    Did you reboot and then restart the upgrade with apt-get -f install? the dbus error is only fixed with a reboot.

    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!

  • Reboot solved dbus, but apt-get -f instal does not install anything.


    Still same error running apt-get update. New error when applying changes to smb:


    The file /var/lib/openmediavault/fstab_tasks.json is actually empty

    • Offizieller Beitrag

    This is an old error that has been fixed in newer versions. Fix it with:


    echo "[]" > /var/lib/openmediavault/fstab_tasks.json

    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!

    • Offizieller Beitrag

    It should be using libssl that old. What is the output of: apt-cache policy openssl

    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!

  • It seems that it's dpkg or apt that are old


    apt-cache... gives:

    • Offizieller Beitrag

    It seems that it's dpkg or apt that are old

    Stange... what is the output of: apt-cache policy apt dpkg

    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!

  • Just for fun I created a soft link for libssl and libcrypto, and get the following:

    Code
    root@harmoni:/usr/lib/x86_64-linux-gnu# apt-get update
    /usr/lib/apt/methods/https: /usr/lib/x86_64-linux-gnu/libcrypto.so.0.9.8: version `OPENSSL_0.9.8' not found (required by /usr/local/lib/librtmp.so.1)
    /usr/lib/apt/methods/https: /usr/lib/x86_64-linux-gnu/libssl.so.0.9.8: version `OPENSSL_0.9.8' not found (required by /usr/local/lib/librtmp.so.1)
    E: Method https has died unexpectedly!
    E: Sub-process https returned an error code (1)
    E: Method /usr/lib/apt/methods/https did not start correctly


    apt-cache policy apt dpkg gives:


    • Offizieller Beitrag

    Just for fun I created a soft link for libssl and libcrypto, and get the following:

    libssl is smarter than just the file name. I wouldn't do that.


    What is the output of: apt-cache policy apt-transport-https

    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!

  • Code
    root@harmoni:/usr/lib/x86_64-linux-gnu# apt-cache policy apt-transport-https
    apt-transport-https:
      Installed: 1.0.9.8.4
      Candidate: 1.0.9.8.4
      Version table:
     *** 1.0.9.8.4 0
            990 http://ftp.se.debian.org/debian/ jessie/main amd64 Packages
            500 http://security.debian.org/ jessie/updates/main amd64 Packages
            100 /var/lib/dpkg/status
    • Offizieller Beitrag

    Are there any packages to be upgraded with apt-get dist-upgrade

    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!

  • Nope, apt-get dist-upgrade does not upgrade anything.

    Code
    root@harmoni:/usr/lib/x86_64-linux-gnu# apt-get dist-upgrade
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Calculating upgrade... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    • Offizieller Beitrag

    Assuming you have omv-extras installed, what is the output of: omv-aptclean

    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!

  • Hmmm, that command is unavailable:

    Code
    root@harmoni:/usr/lib/x86_64-linux-gnu# omv-
    omv-engined       omv-jsonprettify  omv-mki18ndict    omv-po2json       omv-sysinfo
    omv-firstaid      omv-mkaptidx      omv-mkraid        omv-rmraid        omv-update
    omv-initsystem    omv-mkconf        omv-mkwebjs       omv-rpc
    omv-jsminify      omv-mkgraph       omv-pm-standby    omv-run
    • Offizieller Beitrag

    Do you have omv-extras installed?

    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!

    • Offizieller Beitrag

    Sure you can...
    wget http://omv-extras.org/omvextras3.deb
    dpkg -i omvextras3.deb


    Then do the omv-aptclean

    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!

    • Offizieller Beitrag

    wget http://ftp.us.debian.org/debian/pool/main/a/apt/apt_1.0.9.8.4_amd64.deb
    dpkg -i apt_1.0.9.8.4_amd64.deb


    wget http://ftp.us.debian.org/debian/pool/main/a/apt/apt-transport-https_1.0.9.8.4_amd64.deb
    dpkg -i apt-transport-https_1.0.9.8.4_amd64.deb


    apt-get update

    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!

Jetzt mitmachen!

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