Installation FAILED for plugins OpenMediavault-Openvpn 3.0.6

  • Hello !
    I've got many erros when I try to install the plugins OpenMediavault-Openvpn 3.0.6 on my RPI3.
    Find below what I've done :
    - write in a SD card the image OpenMediaVault v3.0.63
    - do an apt-get update
    - do an apt-get upgrade
    - Access to the web page configuration of OMV (192.168.XXX.XXX)
    - Activate the repo Plexmediaserver (because I've red in this forum that we need it for OMV-Openvpn)
    - Install the plugins Oenmediavault-Openvpn 3.0.6
    And then, I got ERRORS.
    Find below a copy of the installation log.


    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following packages were automatically installed and are no longer required:
    python3-sysv-ipc tftpd-hpa
    Use 'apt-get autoremove' to remove them.
    The following extra packages will be installed:
    easy-rsa jq libpkcs11-helper1 openmediavault openvpn
    Recommended packages:
    opensc
    The following NEW packages will be installed:
    easy-rsa jq libpkcs11-helper1 openmediavault-openvpn openvpn
    The following packages will be upgraded:
    openmediavault
    1 upgraded, 5 newly installed, 0 to remove and 2 not upgraded.
    Need to get 1526 kB of archives.
    After this operation, 1542 kB of additional disk space will be used.
    Get:1 http://packages.openmediavault.org/public/ erasmus/main openmediavault all 3.0.69 [910 kB]
    Get:2 http://mirrordirector.raspbian.org/raspbian/ jessie/main libpkcs11-helper1 armhf 1.11-2 [39.4 kB]
    Get:3 http://mirrordirector.raspbian.org/raspbian/ jessie/main jq armhf 1.4-2.1+deb8u1 [97.2 kB]
    Get:4 https://dl.bintray.com/openmed…lugin-developers/erasmus/ jessie/main openmediavault-openvpn all 3.0.6 [27.8 kB]
    Get:5 http://mirrordirector.raspbian.org/raspbian/ jessie/main easy-rsa all 2.2.2-1 [17.1 kB]
    Get:6 http://mirrordirector.raspbian.org/raspbian/ jessie/main openvpn armhf 2.3.4-5+deb8u1 [435 kB]
    Preconfiguring packages ...
    Fetched 1526 kB in 1s (855 kB/s)
    Selecting previously unselected package libpkcs11-helper1:armhf.
    (Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 43752 files and directories currently installed.)
    Preparing to unpack .../libpkcs11-helper1_1.11-2_armhf.deb ...
    Unpacking libpkcs11-helper1:armhf (1.11-2) ...
    Selecting previously unselected package jq.
    Preparing to unpack .../jq_1.4-2.1+deb8u1_armhf.deb ...
    Unpacking jq (1.4-2.1+deb8u1) ...
    Preparing to unpack .../openmediavault_3.0.69_all.deb ...
    Unpacking openmediavault (3.0.69) over (3.0.63) ...
    Selecting previously unselected package easy-rsa.
    Preparing to unpack .../easy-rsa_2.2.2-1_all.deb ...
    Unpacking easy-rsa (2.2.2-1) ...
    Selecting previously unselected package openvpn.
    Preparing to unpack .../openvpn_2.3.4-5+deb8u1_armhf.deb ...
    Unpacking openvpn (2.3.4-5+deb8u1) ...
    Selecting previously unselected package openmediavault-openvpn.
    Preparing to unpack .../openmediavault-openvpn_3.0.6_all.deb ...
    Unpacking openmediavault-openvpn (3.0.6) ...
    Processing triggers for man-db (2.7.0.2-5) ...
    Processing triggers for systemd (215-17+deb8u6) ...
    Setting up libpkcs11-helper1:armhf (1.11-2) ...
    Setting up jq (1.4-2.1+deb8u1) ...
    Setting up openmediavault (3.0.69) ...


    Configuration file '/etc/default/openmediavault'
    ==> Modified (by you or by a script) since installation.
    ==> Package distributor has shipped an updated version.
    What would you like to do about it ? Your options are:
    Y or I : install the package maintainer's version
    N or O : keep your currently-installed version
    D : show the differences between the versions
    Z : start a shell to examine the situation
    The default action is to keep your current version.
    *** openmediavault (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package openmediavault (--configure):
    EOF on stdin at conffile prompt
    Setting up easy-rsa (2.2.2-1) ...
    Setting up openvpn (2.3.4-5+deb8u1) ...
    Restarting virtual private network daemon.:.
    dpkg: dependency problems prevent configuration of openmediavault-openvpn:
    openmediavault-openvpn depends on openmediavault (>= 3.0.67); however:
    Package openmediavault is not configured yet.


    dpkg: error processing package openmediavault-openvpn (--configure):
    dependency problems - leaving unconfigured
    Processing triggers for libc-bin (2.19-18+deb8u7) ...
    Processing triggers for systemd (215-17+deb8u6) ...
    Errors were encountered while processing:
    openmediavault
    openmediavault-openvpn


    >>> *************** Error ***************


    <<< *************************************


    >>> *************** Error ***************


    <<< *************************************


    >>> *************** Error ***************


    <<< *************************************


    >>> *************** Error ***************


    <<< *************************************


    >>> *************** Error ***************


    <<< *************************************


    >>> *************** Error ***************


    <<< *************************************

    When I close the log window and when I refresh the web page configuration of OMV, I cannot find the OpenVpn configuration on any section...


    Someone can help me ?
    What should I do to
    Many thanks for the answers....

  • Run apt-get -f install via commandline and if you encounter the question about the openmediavault package, type n to not replace your config file.


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

  • Thanks for the info Davidh2k, the installation was done without errors....
    After that, I've filled the OpenVpn parameters in the OMV web configuration page / Services section :


    General parameters :
    - Activate : on
    - Port : 11948
    - Protocole : UDP
    - Use compression : on
    - PAM : on
    - Options : blank
    - Logging level : Normal usage output

    VPN network :
    Address : 10.8.0.0
    Mask : 255.255.255.0
    Gateway interface : eth0
    Default gateway : on
    Client to client : on


    DHCP options :
    DNS server(s) : 192.168.50.1 <-- my router ip
    DNS search : google.ca
    WINS server)s) : blank

    Public :
    Public address : <my IP>

    Then, I've created a certificate with a user I've created in OMV and I've downloaded it.


    I've started the software OpenVPN on my laptop (windows 7 64 bits).
    I've imported the ovpn file downloaded in the previous step.
    I tried to connect to OMV vpn and this is the log :


    Sat Apr 08 08:30:31 2017 MANAGEMENT: CMD 'echo all on'
    Sat Apr 08 08:30:31 2017 MANAGEMENT: CMD 'hold off'
    Sat Apr 08 08:30:31 2017 MANAGEMENT: CMD 'hold release'
    Sat Apr 08 08:30:38 2017 MANAGEMENT: CMD 'username "Auth" "pi"'
    Sat Apr 08 08:30:38 2017 MANAGEMENT: CMD 'password [...]'
    Sat Apr 08 08:30:38 2017 WARNING: --ns-cert-type is DEPRECATED. Use --remote-cert-tls instead.
    Sat Apr 08 08:30:38 2017 TCP/UDP: Preserving recently used remote address: [AF_INET]<my IP>:11948
    Sat Apr 08 08:30:38 2017 Socket Buffers: R=[8192->8192] S=[8192->8192]
    Sat Apr 08 08:30:38 2017 UDP link local: (not bound)
    Sat Apr 08 08:30:38 2017 UDP link remote: [AF_INET]<my IP>:11948
    Sat Apr 08 08:30:38 2017 MANAGEMENT: >STATE:1491654638,WAIT,,,,,,
    Sat Apr 08 08:31:38 2017 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
    Sat Apr 08 08:31:38 2017 TLS Error: TLS handshake failed
    Sat Apr 08 08:31:38 2017 SIGUSR1[soft,tls-error] received, process restarting
    Sat Apr 08 08:31:38 2017 MANAGEMENT: >STATE:1491654698,RECONNECTING,tls-error,,,,,


    Do you have an idea why I've got the error 'TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)' ?


    Many thanks.

Jetzt mitmachen!

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