openmediavault-letsencrypt

  • Why don't you propose a patch with your mods on the original maste branch? In this way it will directly be integrated in omv extras



    Sent from my iPhone using Tapatalk

    I already made a pull requests in OpenMediaVault-Plugin-Developers/openmediavault-letsencrypt
    https://github.com/OpenMediaVa…avault-letsencrypt/pull/1

    OMV3 on Proxmox
    Intel E3-1245 v5 | 32GB ECC RAM | 4x3TB RAID10 HDD
    omv-zfs | omv-nginx | omv-letsencrypt | omv-openvpn
    Click link for more details

    • Official Post

    I accepted the pull request. I put the package in the testing repo.

    omv 6.2.0-1 Shaitan | 64 bit | 6.1 proxmox kernel

    plugins :: omvextrasorg 6.1.1 | kvm 6.2.8 | compose 6.6.1 | cputemp 6.1.3 | mergerfs 6.3.5 | zfs 6.0.12


    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!

  • It seems there is an issue, when i try to install it i get:


  • It seems there is an issue, when i try to install it i get:


    I fotgot to mention, apt-get install -t jessie-backports certbot
    sorry!

    OMV3 on Proxmox
    Intel E3-1245 v5 | 32GB ECC RAM | 4x3TB RAID10 HDD
    omv-zfs | omv-nginx | omv-letsencrypt | omv-openvpn
    Click link for more details

  • That one worked, can't we add it to the patch, that less experienced users, that are not costumed with cli can use it?


    LE: it worked for me, thank you!

    yes you're right
    since it is accepted by ryecoaaron, you can install out of boxes after enabling testing-repo
    and install omv-letsencrypt (without git clone.. dpkg... )
    I will edit manual now


    ===================
    I edited manual
    if you alread installed from my public repo from using git clone not installed from omv-extras testing repo
    enable testing repo and apt-get install openmediavault-letsencrypt to follow omv-extras testing repo

    OMV3 on Proxmox
    Intel E3-1245 v5 | 32GB ECC RAM | 4x3TB RAID10 HDD
    omv-zfs | omv-nginx | omv-letsencrypt | omv-openvpn
    Click link for more details

    Edited 3 times, last by luxflow ().

  • What's the difference between this new method vs the original ?

    you mean #HOW CAN I USES MULTIPLE SUBDOMAINS?

    this method is differ since no additional program is not needed to reverse proxy
    if you want to original method that's okay

    OMV3 on Proxmox
    Intel E3-1245 v5 | 32GB ECC RAM | 4x3TB RAID10 HDD
    omv-zfs | omv-nginx | omv-letsencrypt | omv-openvpn
    Click link for more details

  • Hi,


    Having some issues installing this plugin on OMV2 on an x64 system.


    Installing the plugin results in only being able to see the login page - going to the main screen results in a blank page (SSL and standard) - other webservices still work fine.


    To fix I need to run
    apt-get remove openmediavault-letsencrypt
    apt-get --reinstall install openmediavaultThis takes me back to my original setup and the process is repeatable.

  • Having same issue on omv3




    Sent from my phone

    omv 3.0.56 erasmus | 64 bit | 4.7 backport kernel
    SM-SC846(24 bay)| H8DME-2 |2x AMD Opteron Hex Core 2431 @ 2.4Ghz |49GB RAM
    PSU: Silencer 760 Watt ATX Power Supply
    IPMI |3xSAT2-MV8 PCI-X |4 NIC : 2x Realteck + 1 Intel Pro Dual port PCI-e card
    OS on 2×120 SSD in RAID-1 |
    DATA: 3x3T| 4x2T | 2x1T

  • when post report for issue, please post with more information


    such as
    error log


    installed omv-plugin lists

    Bash
    dpkg -l | grep openm



    omv-engined log
    for omv 3.x

    Bash
    # turn off already running omv-engined
    systemctl stop openmediavault-engined
    # turn on with debug & foreground process option
    omv-engined -df
    # do something
    # press ctrl+c to turn off omv-engiend
    # restart omv-engined
    systemctl start openmediavault-engined

    for omv 2.x


    Bash
    # turn off already running omv-engined
    monit stop omv-engined
    # turn on with debug & foreground process option
    omv-engined -df
    # do something
    # press ctrl+c to turn off omv-engiend
    # restart omv-engined
    monit start omv-engined

    OMV3 on Proxmox
    Intel E3-1245 v5 | 32GB ECC RAM | 4x3TB RAID10 HDD
    omv-zfs | omv-nginx | omv-letsencrypt | omv-openvpn
    Click link for more details

  • installed packages:
    ii openmediavault 2.2.5 all Open network attached storage solution
    ii openmediavault-backup 1.0.11 all backup plugin for OpenMediaVault.
    ii openmediavault-couchpotato 1.0.3 all OpenMediaVault CouchPotatoServer plugin
    ii openmediavault-extplorer 1.3.1 all OpenMediaVault eXtplorer plugin
    ii openmediavault-keyring 0.3 all GnuPG archive keys of the OpenMediaVault archiverc openmediavault-letsencrypt 2.4 all Generate free and valid SSL certificates for OMV
    ii openmediavault-omvextrasorg 2.13.2 all OMV-Extras.org Package Repositories for OpenMediaVault
    ii openmediavault-owncloud 2.0.3 all OpenMediaVault ownCloud plugin
    ii openmediavault-sabnzbd 1.0.5 all OpenMediaVault SABnzbd plugin
    ii openmediavault-sickbeard 1.0.10 all OpenMediaVault Sick Beard plugin
    ii openmediavault-transmissionbt 1.4 all OpenMediaVault Transmission (BitTorrent client) plugin.
    ii openmediavault-wol 1.0.4 all OpenMediaVault WOL pluginlog should be attached.


    The server isn't doing that much at the moment as I've only just reinstalled it from scratch. I can't see any js errors in the js console when trying to launch the webui again

  • log preety seems ok
    so I install OMV 2.X VM
    after installing plugin you listed


    problem you mentioned reproduced,
    but after remove openmediavault-sabnzbd
    it works well


    I think culprit is one of them (sabnzbd or letsencrypt)


    ================================


    found solution
    delete browser cache it will works

    OMV3 on Proxmox
    Intel E3-1245 v5 | 32GB ECC RAM | 4x3TB RAID10 HDD
    omv-zfs | omv-nginx | omv-letsencrypt | omv-openvpn
    Click link for more details

    Edited once, last by luxflow ().

  • Annoyingly that isn't working for me:


    I'm clearing browser cache in Chrome by going to dev-tools, long-clicking on refresh and selecting 'empty cache and hard reload'


    Trying to load in MS Edge browser doesn't work either (have never logged in with Edge, so there wouldn't be any cache)


    Although....


    Now I am getting some JS issues (I'm sure they weren't there before)


    Error with callstacks (sure they're not that useful as they're all in minified ext-all.js) -


    Uncaught Error: Ext.Loader is not enabled, so dependencies cannot be resolved dynamically. Missing required class: OMV.window.ExecuteExt.Error @ ext-all.js:22
    raise @ ext-all.js:22
    load @ ext-all.js:22
    require @ ext-all.js:22
    (anonymous function) @ ext-all.js:22


    (anonymous function) @ ext-all.js:22


    doProcess @ ext-all.js:22


    process @ ext-all.js:22
    d @ ext-all.js:22
    create @ ext-all.js:22
    define @ ext-all.js:22
    (anonymous function) @ Settings.js:21
    ext-all.js:22



    Uncaught Error: Ext.Loader is not enabled, so dependencies cannot be resolved dynamically. Missing required classes: OMV.module.admin.privilege.sharedfolder.SharedFolder, OMV.module.admin.privilege.sharedfolder.PrivilegesExt.Error @ ext-all.js:22
    raise @ ext-all.js:22
    load @ ext-all.js:22
    require @ ext-all.js:22
    triggerReady @ ext-all.js:22
    checkReady @ ext-all.js:22
    (anonymous function) @ ext-all.js:22
    (anonymous function) @ ext-all.js:22
    notify @ ext-all.js:22
    triggerCreated @ ext-all.js:22
    processCreate @ ext-all.js:22
    processCreate @ ext-all.js:22
    (anonymous function) @ ext-all.js:22
    onBeforeCreated @ ext-all.js:22
    doProcess @ ext-all.js:22
    (anonymous function) @ ext-all.js:22
    load @ ext-all.js:22
    require @ ext-all.js:22
    (anonymous function) @ ext-all.js:22
    (anonymous function) @ ext-all.js:22
    doProcess @ ext-all.js:22
    process @ ext-all.js:22
    d @ ext-all.js:22
    create @ ext-all.js:22
    define @ ext-all.js:22
    (anonymous function) @ Execute.js:53
    ext-all.js:22



    Uncaught Error: Ext.Loader is not enabled, so dependencies cannot be resolved dynamically. Missing required class: OMV.module.admin.service.sabnzbd.UpdateSABExt.Error @ ext-all.js:22
    raise @ ext-all.js:22
    load @ ext-all.js:22
    require @ ext-all.js:22
    triggerReady @ ext-all.js:22
    checkReady @ ext-all.js:22
    (anonymous function) @ ext-all.js:22
    (anonymous function) @ ext-all.js:22
    notify @ ext-all.js:22
    triggerCreated @ ext-all.js:22
    processCreate @ ext-all.js:22
    processCreate @ ext-all.js:22
    (anonymous function) @ ext-all.js:22
    onBeforeCreated @ ext-all.js:22
    doProcess @ ext-all.js:22
    (anonymous function) @ ext-all.js:22
    load @ ext-all.js:22
    require @ ext-all.js:22
    (anonymous function) @ ext-all.js:22
    (anonymous function) @ ext-all.js:22
    doProcess @ ext-all.js:22
    process @ ext-all.js:22
    d @ ext-all.js:22
    create @ ext-all.js:22
    define @ ext-all.js:22


    (anonymous function) @ SharedFolder.js:249

  • I finally found what's wrong
    it was inclusion problem in omv-letsencrypt
    and previous solution was wrong. sorry
    this time believe me :)


    I submited patch,
    before accepted by omv-extras, you need to manually edit file


    for both OMV 2.X and OMV 3.X

    Bash
    nano /var/www/openmediavault/js/omv/module/admin/service/letsencrypt/Settings.js
    #add following two line after // require("js/omv/workspace/form/Panel.js")
    // require("js/omv/window/Execute.js")
    // require("js/omv/Rpc.js")




    after that press ctrl+x and enter y to save file

    OMV3 on Proxmox
    Intel E3-1245 v5 | 32GB ECC RAM | 4x3TB RAID10 HDD
    omv-zfs | omv-nginx | omv-letsencrypt | omv-openvpn
    Click link for more details

    Edited once, last by luxflow ().

  • I fotgot to mention, apt-get install -t jessie-backports certbotsorry!

    So you are still decided on using certbot for letsencrypt on OVM ? It invokes dependency hell on many systems, not to mention the huge storage footprint. Why not use https://github.com/Neilpang/acme.sh instead? It's a really well-maintained script. Much more reliable results than certbot (in my experience anyway).

  • Still got the blank page, same js errors as before. I don't need to run/do anything after editing that file, do I? To be clear, I just edited the file after getting the blank screen and refreshed the page (even cleared the cache).


    I assume there's a script that loads that javascript and pre-processes it to strip out those comments (//) before the two lines added?


    I can confirm that the 'Settings.js' from the first js error (Ext.Loader is not enabled, so dependencies cannot be resolved dynamically. Missing required class: OMV.window.Execute) is the one from letsencrypt failing on the Ext.define call.


    That settings file does appear above Window\execute in the index.html file if that's important (not too keen on touching it without understanding how it's automatically built up)

  • I don't need to run/do anything after editing that file, do I?

    I forgot to mention


    . /usr/share/openmediavault/scripts/helper-functions
    omv_purge_internal_cache


    since I was in debug mode, I didn't notice it

    OMV3 on Proxmox
    Intel E3-1245 v5 | 32GB ECC RAM | 4x3TB RAID10 HDD
    omv-zfs | omv-nginx | omv-letsencrypt | omv-openvpn
    Click link for more details

  • So you are still decided on using certbot for letsencrypt on OVM ? It invokes dependency hell on many systems, not to mention the huge storage footprint. Why not use acmetool instead? It's

    yes omv-letsencrypt is still using certbot
    I agree with you that it has somewhat heavy dependency
    but Impact is neglectable



    I have three reasons not to use acmetool in OMV 3.x
    first
    because original author of this plugin used it, and since acmetool is not drop-in-replace in command
    rather than modify that, I prefer to stay same
    second
    it is not official client, yeah I know it is popular, it will works well but it is not same meaning of official
    it seems users in letsecrypt forum use more certbot than acmetool
    since certbot is offitial, life time of certbot go along with letsencrypt
    third
    benefit from changing is minimal I think in omv
    becuase omv do jobs for you
    Fast setup, Zero downtime and autorenwal? omv-letsencrypt already do for you
    Supports any webserver? omv uses only nginx so should we support any webserver? I doubt

    OMV3 on Proxmox
    Intel E3-1245 v5 | 32GB ECC RAM | 4x3TB RAID10 HDD
    omv-zfs | omv-nginx | omv-letsencrypt | omv-openvpn
    Click link for more details

    Edited once, last by luxflow ().

    • Official Post

    I forgot to mention
    . /usr/share/openmediavault/scripts/helper-functions
    omv_purge_internal_cache


    since I was in debug mode, I didn't notice it

    The apt clean button ( or omv-aptclean command) perform this as well.

    omv 6.2.0-1 Shaitan | 64 bit | 6.1 proxmox kernel

    plugins :: omvextrasorg 6.1.1 | kvm 6.2.8 | compose 6.6.1 | cputemp 6.1.3 | mergerfs 6.3.5 | zfs 6.0.12


    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!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!