openmediavault-letsencrypt

    • OMV 3.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • I don't know what happens but I can't access the plugin configuration now. I tried installing and uninstalling several times and no luck. When I click the let's encrypt plugin in the web, I don't get any response.

      Any ideas?
      DISCLAIMER: :!: I'm not a native English speaker, I'm sorry if I don't explain as good as you would want. :!:

      My NAS:
      Always the latest OMV Erasmus running on an AMD Sempron 3850 @1.3GHz with 4.9.0 Backports Kernel
      with 120GB Samsung SSD 850 EVO for OpenMediaVault & 2x500GB Primary Data HDD + 1TB Secondary HDD for Backup & 2TB USB 3.0 External HDD for offline backup

      Plugin list:
      Flash Memory, Locate, OMV-Extras.org, RSnapshot, Sensors, Syncthing, SMB/CIFS, SSH, USB Backup
      _____________________________________________________________________________________________________________________________

      The Schrödinger's code is that one which is going to work and it's full of bugs at the same time; until you test it, you won't be able to determine it.
    • Does anyone have any idea whats wrong here?
      This is what I get when I klick on generate on the webui

      edit:fixed...my virtual environment was broken
      pip uninstall virtualenv
      pip install virtualenv fixed it for me

      Source Code

      1. Reading package lists...
      2. /opt/letsencrypt/letsencrypt-auto: 181: /opt/letsencrypt/letsencrypt-auto:
      3. lsb_release: not found
      4. /opt/letsencrypt/letsencrypt-auto: 183: /opt/letsencrypt/letsencrypt-auto:
      5. lsb_release: not found
      6. No libaugeas0 version is available that's new enough to run the
      7. Let's Encrypt apache plugin...
      8. Reading package lists...
      9. Building dependency tree...
      10. Reading state information...
      11. augeas-lenses is already the newest version.
      12. libaugeas0 is already the newest version.
      13. ca-certificates is already the newest version.
      14. dialog is already the newest version.
      15. gcc is already the newest version.
      16. libffi-dev is already the newest version.
      17. python is already the newest version.
      18. python-dev is already the newest version.
      19. python-virtualenv is already the newest version.
      20. libssl-dev is already the newest version.
      21. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      22. Checking for new version...
      23. Creating virtual environment...
      24. Traceback (most recent call last):
      25. File "/usr/local/bin/virtualenv", line 5, in <module>
      26. from pkg_resources import load_entry_point
      27. File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2711, in <module>
      28. parse_requirements(__requires__), Environment()
      29. File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in resolve
      30. raise DistributionNotFound(req)
      31. pkg_resources
      32. .
      33. DistributionNotFound
      34. :
      35. virtualenv==1.9.1
      36. <<< *************************************
      Display All

      The post was edited 2 times, last by fluffymadness: fixed ().

    • http://postimg.org/image/415yg38cn/

      This is my web console. 3 errors. The last one is related to Let's encrypt:
      Display Spoiler

      Source Code

      1. Ext.Error()
      2. ext-all.js:22
      3. .raise()
      4. ext-all.js:22
      5. Ext.Loader</<.load()
      6. ext-all.js:22
      7. Ext.Loader</<.exclude/q<.require()
      8. ext-all.js:22
      9. Ext.Inventory.prototype.selectMethod/<()
      10. ext-all.js:22
      11. Ext.Loader</<()
      12. ext-all.js:22
      13. .doProcess()
      14. ext-all.js:22
      15. .process()
      16. ext-all.js:22
      17. d()
      18. ext-all.js:22
      19. a<.create()
      20. ext-all.js:22
      21. .define()
      22. ext-all.js:22
      23. <anonymous>
      24. LetsEncrypt.js:22
      Display All
      DISCLAIMER: :!: I'm not a native English speaker, I'm sorry if I don't explain as good as you would want. :!:

      My NAS:
      Always the latest OMV Erasmus running on an AMD Sempron 3850 @1.3GHz with 4.9.0 Backports Kernel
      with 120GB Samsung SSD 850 EVO for OpenMediaVault & 2x500GB Primary Data HDD + 1TB Secondary HDD for Backup & 2TB USB 3.0 External HDD for offline backup

      Plugin list:
      Flash Memory, Locate, OMV-Extras.org, RSnapshot, Sensors, Syncthing, SMB/CIFS, SSH, USB Backup
      _____________________________________________________________________________________________________________________________

      The Schrödinger's code is that one which is going to work and it's full of bugs at the same time; until you test it, you won't be able to determine it.
    • I clicked in the LetsEncrypt.js and it opened another tab with adress: view-source:http://192.168.1.230/js/omv/module/admin/diagnostic/log/plugin/LetsEncrypt.js
      So I think is the first case.

      Thanks for your time.
      DISCLAIMER: :!: I'm not a native English speaker, I'm sorry if I don't explain as good as you would want. :!:

      My NAS:
      Always the latest OMV Erasmus running on an AMD Sempron 3850 @1.3GHz with 4.9.0 Backports Kernel
      with 120GB Samsung SSD 850 EVO for OpenMediaVault & 2x500GB Primary Data HDD + 1TB Secondary HDD for Backup & 2TB USB 3.0 External HDD for offline backup

      Plugin list:
      Flash Memory, Locate, OMV-Extras.org, RSnapshot, Sensors, Syncthing, SMB/CIFS, SSH, USB Backup
      _____________________________________________________________________________________________________________________________

      The Schrödinger's code is that one which is going to work and it's full of bugs at the same time; until you test it, you won't be able to determine it.
    • gsola96 wrote:

      I clicked in the LetsEncrypt.js and it opened another tab with adress: view-source:http://192.168.1.230/js/omv/module/admin/diagnostic/log/plugin/LetsEncrypt.js
      So I think is the first case.

      Thanks for your time.

      I'm having trouble reproducing the issue; I've tried on multiple virtual machines. Have you tried uninstalling the plugin and reinstalling? How about restarting your computer?
    • No luck. Uninstalled, restarted, installed, restarted again and the plugin config is not accessible through the GUI.

      I don't know why it does not work... I only replaced my OS drive and reinstalled OpenMediaVault and all my necessary plugins and this is the only one that is not working...

      Any idea?

      EDIT: here's the content of the pop-up window when I install the plugin. Does it look right?
      Display Spoiler
      Reading package lists...
      Building dependency tree...
      Reading state information...
      The following extra packages will be installed:
      git git-man liberror-perl
      Suggested packages:
      git-daemon-run git-daemon-sysvinit git-doc git-el git-arch git-cvs git-svn
      git-email git-gui gitk gitweb
      Recommended packages:
      patch less
      The following NEW packages will be installed:
      git git-man liberror-perl openmediavault-letsencrypt
      0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
      Need to get 0 B/7785 kB of archives.
      After this operation, 14.5 MB of additional disk space will be used.
      WARNING: The following packages cannot be authenticated!
      liberror-perl git-man git openmediavault-letsencrypt
      Authentication warning overridden.
      Selecting previously unselected package liberror-perl.
      (Reading database ... 50162 files and directories currently installed.)
      Unpacking liberror-perl (from /liberror-perl_0.17-1_all.deb) ...
      Selecting previously unselected package git-man.
      Unpacking git-man (from .../git-man_1%3a1.7.10.4-1+wheezy2_all.deb) ...
      Selecting previously unselected package git.
      Unpacking git (from .../git_1%3a1.7.10.4-1+wheezy2_amd64.deb) ...
      Selecting previously unselected package openmediavault-letsencrypt.
      Unpacking openmediavault-letsencrypt (from .../openmediavault-letsencrypt_2.4_all.deb) ...
      Processing triggers for man-db ...
      Processing triggers for openmediavault ...
      Restarting engine daemon ...
      Setting up liberror-perl (0.17-1) ...
      Setting up git-man (1:1.7.10.4-1+wheezy2) ...
      Setting up git (1:1.7.10.4-1+wheezy2) ...
      Setting up openmediavault-letsencrypt (2.4) ...
      Removing old letsencrypt files...
      ...ok
      Clone the LetsEncrypt repository
      Cloning into '/opt/letsencrypt'...
      Processing triggers for openmediavault ...
      Updating locale files ...
      Updating file permissions ...
      Purging internal cache ...
      Restarting engine daemon ...
      Creating index of upgradeable packages ...
      Creating index of openmediavault plugins ...
      Done ...

      DISCLAIMER: :!: I'm not a native English speaker, I'm sorry if I don't explain as good as you would want. :!:

      My NAS:
      Always the latest OMV Erasmus running on an AMD Sempron 3850 @1.3GHz with 4.9.0 Backports Kernel
      with 120GB Samsung SSD 850 EVO for OpenMediaVault & 2x500GB Primary Data HDD + 1TB Secondary HDD for Backup & 2TB USB 3.0 External HDD for offline backup

      Plugin list:
      Flash Memory, Locate, OMV-Extras.org, RSnapshot, Sensors, Syncthing, SMB/CIFS, SSH, USB Backup
      _____________________________________________________________________________________________________________________________

      The Schrödinger's code is that one which is going to work and it's full of bugs at the same time; until you test it, you won't be able to determine it.

      The post was edited 1 time, last by Lord Wektabyte ().

    • Hey,
      please see here for purging and (or) removing any plugins e.g.:

      <Howto downgrade to stable OMV - Debian Wheezy>

      or here:

      <askubuntu.com/questions/187888…ely-remove-an-application>

      or here:

      <askubuntu.com/questions/231562…-purge-and-apt-get-remove>

      apt-get remove --purge openmediavault-letsencrypt
      apt-get clean
      apt-get install openmediavault-letsencrypt
      apt-get install -f
      apt-get update
      apt-get upgrade

      Please backup your system before! It is your own risc!

      The post was edited 3 times, last by omavoss ().

    • Thanks @omavoss for the reply. Why downgrading? I'm using OpenMediaVault 2.1 stable! I used the plugin before and it worked fine!

      I'm trying to get a certificate from let's encrypt using this howto: letsencrypt.readthedocs.org/en/latest/using.html and github.com/letsencrypt/letsencrypt and I'm stucked. I installed the let's encrypt client and when I try to run "letsencrypt (..............)" with the arguments, it keeps telling me that letsencrypt command does not exist. I don't understand anything and it's driving me crazy.

      DISCLAIMER: :!: I'm not a native English speaker, I'm sorry if I don't explain as good as you would want. :!:

      My NAS:
      Always the latest OMV Erasmus running on an AMD Sempron 3850 @1.3GHz with 4.9.0 Backports Kernel
      with 120GB Samsung SSD 850 EVO for OpenMediaVault & 2x500GB Primary Data HDD + 1TB Secondary HDD for Backup & 2TB USB 3.0 External HDD for offline backup

      Plugin list:
      Flash Memory, Locate, OMV-Extras.org, RSnapshot, Sensors, Syncthing, SMB/CIFS, SSH, USB Backup
      _____________________________________________________________________________________________________________________________

      The Schrödinger's code is that one which is going to work and it's full of bugs at the same time; until you test it, you won't be able to determine it.

      The post was edited 1 time, last by Lord Wektabyte ().

    • I was not. Then I figured out I was wrong :P

      After all I got it working using letsencrypt-auto + arguments

      PS: the plugin does not work yet for me... If I now uninstall it, will I loose the manual configuration I've done?
      DISCLAIMER: :!: I'm not a native English speaker, I'm sorry if I don't explain as good as you would want. :!:

      My NAS:
      Always the latest OMV Erasmus running on an AMD Sempron 3850 @1.3GHz with 4.9.0 Backports Kernel
      with 120GB Samsung SSD 850 EVO for OpenMediaVault & 2x500GB Primary Data HDD + 1TB Secondary HDD for Backup & 2TB USB 3.0 External HDD for offline backup

      Plugin list:
      Flash Memory, Locate, OMV-Extras.org, RSnapshot, Sensors, Syncthing, SMB/CIFS, SSH, USB Backup
      _____________________________________________________________________________________________________________________________

      The Schrödinger's code is that one which is going to work and it's full of bugs at the same time; until you test it, you won't be able to determine it.
    • firefox console error

      after removing and reinstalling again my firefox console shows an error when I click on the let's encrypt service icon :

      TypeError: t is null

      expanded view :

      Source Code

      1. a<.parseNamespace() ext-all.js:22
      2. a<.get() ext-all.js:22
      3. .create() ext-all.js:22
      4. .onSelectNode() Workspace.js:374
      5. .buildTree/me.tp<.listeners.select() Workspace.js:133
      6. .fire() ext-all.js:22
      7. .doFireEvent() ext-all.js:22
      8. .monitor/a.doFireEvent() ext-all.js:22
      9. .fireEventArgs() ext-all.js:22
      10. .createRelayer/<() ext-all.js:22
      11. .fire() ext-all.js:22
      12. .doFireEvent() ext-all.js:22
      13. .monitor/a.doFireEvent() ext-all.js:22
      14. .fireEventArgs() ext-all.js:22
      15. .createRelayer/<() ext-all.js:22
      16. .fire() ext-all.js:22
      17. .doFireEvent() ext-all.js:22
      18. .fireEventArgs() ext-all.js:22
      19. .fireEvent() ext-all.js:22
      20. .onSelectChange() ext-all.js:22
      21. .doSingleSelect() ext-all.js:22
      22. .doSelect() ext-all.js:22
      23. .onNavigate() ext-all.js:22
      24. .fire() ext-all.js:22
      25. .doFireEvent() ext-all.js:22
      26. .fireEventArgs() ext-all.js:22
      27. .fireEvent() ext-all.js:22
      28. .fireNavigateEvent() ext-all.js:22
      29. .onCellClick() ext-all.js:22
      30. .fire() ext-all.js:22
      31. .doFireEvent() ext-all.js:22
      32. .monitor/a.doFireEvent() ext-all.js:22
      33. .fireEventArgs() ext-all.js:22
      34. .fireEvent() ext-all.js:22
      35. .processItemEvent() ext-all.js:22
      36. .processUIEvent() ext-all.js:22
      37. .processUIEvent() ext-all.js:22
      38. .handleEvent() ext-all.js:22
      39. .fire() ext-all.js:22
      40. .fire() ext-all.js:22
      41. .publish() ext-all.js:22
      42. .doDelegatedEvent() ext-all.js:22
      43. .onDelegatedEvent() ext-all.js:22
      44. i.bind/<() ext-all.js:22
      Display All
    • Hello. I am trying to get this setup but when I click on the Generate Certificate button I get this:

      Source Code

      1. ​Checking for new version...
      2. Creating virtual environment...
      3. Traceback (most recent call last):
      4. File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 2283, in <module>
      5. main()
      6. File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 938, in main
      7. never_download=options.never_download)
      8. File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 1039, in create_environment
      9. site_packages=site_packages, clear=clear))
      10. File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 1166, in install_python
      11. mkdir(lib_dir)
      12. File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 399, in mkdir
      13. os.makedirs(path)
      14. File "/usr/lib/python2.7/os.py", line 150, in makedirs
      15. makedirs(head, mode)
      16. File "/usr/lib/python2.7/os.py", line 150, in makedirs
      17. makedirs(head, mode)
      18. File "/usr/lib/python2.7/os.py", line 150, in makedirs
      19. makedirs(head, mode)
      20. File "/usr/lib/python2.7/os.py", line 150, in makedirs
      21. makedirs(head, mode)
      22. File "/usr/lib/python2.7/os.py", line 157, in makedirs
      23. mkdir(name, mode)
      24. OSError: [Errno 20] Not a directory: '~/.local'
      25. <<< *************************************
      Display All


      Any ideas?
    • Hi,

      I just installed the plugin and do also face the problem that clicking on the 'Let's Encrypt' service entry does not show anything (better said, it is still showing what was displayed before clicking the entry) and that there's an error "TypeError: t is null".

      I'm not sure what is causing this. I do have a VM where it works as it should. The only difference is, that I have installed the plugin in the VM using an earlier version and I updated it to the latest version (don't know if that makes a difference regarding the problem.

      I tried uninstalling and installing the plugin again but no luck. What I did not yet give a try is installing an older version and see what happens...
      Edit: ok, there is no earlier package on packages.omv-extras.org available, so I cannot give that a try :(
      OMV 2.x - Kralizec // Hardware: HP Microserver N54L, 4GB RAM, 2x3TB WD Red - RAID 1, Sandisk SSD 60GB for system
    • SlashOpt wrote:


      Edit: ok, there is no earlier package on packages.omv-extras.org available, so I cannot give that a try :(

      I just put all the versions in the testing folder.
      omv 4.0.11 arrakis | 64 bit | 4.13 backports kernel | omvextrasorg 4.1.0
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please don't PM for support... Too many PMs!
    • ryecoaaron wrote:

      SlashOpt wrote:


      Edit: ok, there is no earlier package on packages.omv-extras.org available, so I cannot give that a try :(

      I just put all the versions in the testing folder.


      Aaron, thanks a bunch for the earlier packages!
      Unfortunately that didn't work either :( It must be something different in the backend. My VM was installed from scratch directly from a 2.x ISO where as my 'production' system evolved from 0.4 to 0.5 to 1.x to 2.x via dist upgrades. Maybe that's the difference... Never had problems like this before. I had planned to wipe the system and re-do it from scratch once 3.x is out anyway but that will not happen in the next couple of days, I guess ;)

      Anyway, I will try to investigate a bit more but at the moment I don't know exactly how to debug those extjs javascript problems. I tried to use extjs-all-debug in the backend which gives me a bit more "details" where the exception occurs but I did not (yet) figure out what's the null string passed to extjs. Unfortunately I'm not a JS developer ;)
      We will see ...
      OMV 2.x - Kralizec // Hardware: HP Microserver N54L, 4GB RAM, 2x3TB WD Red - RAID 1, Sandisk SSD 60GB for system