Git Product home page Git Product logo

Comments (10)

josegonzalez avatar josegonzalez commented on June 4, 2024 2

Closing as the renewal bug is fixed.

from dokku-letsencrypt.

salomvary avatar salomvary commented on June 4, 2024

Workaround:

dokku letsencrypt:disable 
dokku letsencrypt:enable

from dokku-letsencrypt.

dmarkbreiter avatar dmarkbreiter commented on June 4, 2024

@salomvary, I tried your workaround and was given the following response with each command:

user@server:~# dokku letsencrypt:disable 
 !     App  does not exist
user@server:~# dokku letsencrypt:enable
 !     App  does not exist

Is that the expected output? I'm also running 0.20.0

from dokku-letsencrypt.

bfontaine avatar bfontaine commented on June 4, 2024

@dmarkbreiter you have to add the name of your app: dokku letsencrypt:disable $APP_NAME + dokku letsencrypt:enable $APP_NAME.

from dokku-letsencrypt.

dankochetov avatar dankochetov commented on June 4, 2024

I am facing the same issue. I ran dokku letsencrypt:disable <app> + dokku letsencrypt:enable <app>, then ran dokku letsencrypt:auto-renew <app>, and it still prints -----> Letsencrypt not enabled for <app>. My plugin version is 0.20.0.

from dokku-letsencrypt.

crisward avatar crisward commented on June 4, 2024

The code here

https://github.com/dokku/dokku-letsencrypt/blob/5dc9bf5d055b5ef19f34e23eded8641b5e5ef043/command-functions#LL62C1-L62C1

Seems to say if letsencrypt:active returns "true" for the app, then output the above error. That feel like the wrong way around, or a badly worded error.

I have a slightly odd problem that all my apps are returning the above error when running letsencrypt:auto-renew against them. However only a couple of them are not auto renewing. There doesn't appear to be any obvious reason for this. ๐Ÿคท

from dokku-letsencrypt.

crisward avatar crisward commented on June 4, 2024

Just checked the log with cat /var/log/dokku/letsencrypt.log and found the one app that didn't auto-renew had specific errors.

2023/06/16 00:00:06 Could not obtain certificates:
	failed to post JWS message: failed to sign content: failed to sign content: square/go-jose: Error generating nonce: failed to get nonce from HTTP HEAD: 503 ::HEAD :: https://acme-v02.api.letsencrypt.org/acme/new-nonce :: unexpected end of JSON input :: 
-----> Certificate retrieval failed!

Not sure if that has any overlap with others here.

from dokku-letsencrypt.

matharvard avatar matharvard commented on June 4, 2024

Receiving the same error as @crisward on a bunch of applications with the LetsEncrypt plugin running and the cron job installed. We're combing through our configuration to see if there is something we are missing.

from dokku-letsencrypt.

josegonzalez avatar josegonzalez commented on June 4, 2024

I seem to have fixed it! Sorry about that, hadn't had enough time to debug.

@crisward you seem to have a different issue, something that we might need to contact upstream (lego) about?

from dokku-letsencrypt.

salomvary avatar salomvary commented on June 4, 2024

Closing as the renewal bug is fixed.

Awesome, you rock! ๐ŸŽธ

from dokku-letsencrypt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.