Issues with OpenVPN plugin on OMV 2.2.6 Odroid XU4

  • Hi guys,


    I'm new to the forum and OMV.


    I recently upgraded from a RPI2 Debian setup to OMV 2.2.6 on an ODROD XU4.
    On the Pi I was running OpenVPN from the standard repo, and with the switch to OMV I was happy to see that it came as a standard plugin.


    I was not able to activate to plugin and tried to install it from the standard Debian repo using apt-get install openvpn.
    This worked fine and I was able to configure the server and create certificates, however I was not able to start OpenVPN as a service.
    I poked around a lot in the forums and found this post: Problem on installation of OpenVpn as/Openvpn on raspberry PI3 OMV 3.0.13
    I tried this:
    rm /etc/apt/sources.list.d/openvpn-install.sh
    apt-get purge openmediavault-openvpn
    apt-get dist-upgrade
    omv-aptclean
    apt-get install openmediavault-openvpn


    This enabled the OpenVPN plugin and it shows up in the WebGUI, however a pop-up shows up with the following error and cannot configure OpenVPN:
    Error #3003:exception 'OMVException' with message 'Failed to get configuration (xpath=/config/services/openvpn)' in /usr/share/openmediavault/engined/module/openvpn.inc:63Stack trace:#0 /usr/share/openmediavault/engined/rpc/services.inc(63): OMVModuleOpenVpn->getStatus()#1 [internal function]: OMVRpcServiceServices->getStatus(Array, Array)#2 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)#3 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('getStatus', Array, Array)#4 /usr/sbin/omv-engined(500): OMVRpc::exec('Services', 'getStatus', Array, Array, 1)#5 {main}

    Any ideas on how to solve this?


    Thanks a ton in advance.


    CappuD

  • And I get the same when I just tried to install the BTSync pluin:
    Error #3003:exception 'OMVException' with message 'Failed to get configuration (xpath=//services/btsync)' in /usr/share/openmediavault/engined/module/btsync.inc:58Stack trace:#0 /usr/share/openmediavault/engined/rpc/services.inc(63): OMVModuleBtsync->getStatus()#1 [internal function]: OMVRpcServiceServices->getStatus(Array, Array)#2 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)#3 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('getStatus', Array, Array)#4 /usr/sbin/omv-engined(500): OMVRpc::exec('Services', 'getStatus', Array, Array, 1)#5 {main}

  • Thank you for your help :)


    I purged btsync.
    I used it on my RPI - can I install it manually on OMV without conflicts?


    Output from trying to reinstall OpenVPN:
    apt-get install --reinstall openmediavault-openvpn
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded.
    5 not fully installed or removed.
    After this operation, 0 B of additional disk space will be used.
    E: Internal Error, No file name for openmediavault-openvpn:armhf

  • Yes:


    If I try to reinstall OpenVPN I get this:
    root@xxx:~# apt-get install --reinstall openmediavault-openvpn
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following extra packages will be installed:
    openvpn
    The following NEW packages will be installed:
    openmediavault-openvpn openvpn
    0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
    1 not fully installed or removed.
    Need to get 0 B/498 kB of archives.
    After this operation, 1,080 kB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    WARNING: The following packages cannot be authenticated!
    openmediavault-openvpn
    Install these packages without verification [y/N]? y
    Preconfiguring packages ...
    Selecting previously unselected package openvpn.
    (Reading database ... 157605 files and directories currently installed.)
    Unpacking openvpn (from .../openvpn_2.2.1-8+deb7u3_armhf.deb) ...
    Selecting previously unselected package openmediavault-openvpn.
    Unpacking openmediavault-openvpn (from .../openmediavault-openvpn_1.1_all.deb) ...
    Processing triggers for man-db ...
    Processing triggers for openmediavault ...
    Restarting engine daemon ...
    Setting up php5-fpm (5.4.45-0+deb7u4) ...
    insserv: warning: script 'vncserver' missing LSB tags and overrides
    insserv: There is a loop between service openmediavault-beep and vncserver if stopped
    insserv: loop involving service vncserver at depth 2
    insserv: loop involving service openmediavault-beep at depth 1
    insserv: Stopping vncserver depends on openmediavault-beep 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 php5-fpm (--configure):
    subprocess installed post-installation script returned error exit status 1
    Setting up openvpn (2.2.1-8+deb7u3) ...
    Restarting virtual private network daemon.:.
    insserv: warning: script 'vncserver' missing LSB tags and overrides
    insserv: There is a loop between service openmediavault-beep and vncserver if stopped
    insserv: loop involving service vncserver at depth 2
    insserv: loop involving service openmediavault-beep at depth 1
    insserv: Stopping vncserver depends on openmediavault-beep 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 openvpn (--configure):
    subprocess installed post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of openmediavault-openvpn:
    openmediavault-openvpn depends on openvpn; however:
    Package openvpn is not configured yet.


    dpkg: error processing openmediavault-openvpn (--configure):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    php5-fpm
    openvpn
    openmediavault-openvpn
    Creating index of upgradeable packages ...
    Creating index of openmediavault plugins ...
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    • Offizieller Beitrag

    openmediavault-remotedesktop should be in the list once you have omv-extras installed.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

  • I thought so to, but it is not in my plugin list.
    Tried to install it with:
    root@xxx: apt-get install openmediavault-remotedesktop


    But get:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package openmediavault-remotedesktop




    After purging tightvncserver it seems like I can now activate the OpenVPN plugin, now I just need to figure out how to set it up via the web gui.

Jetzt mitmachen!

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