Giter Club home page Giter Club logo

Comments (2)

umputun avatar umputun commented on May 11, 2024

I think the issue is displaying/reporting only. "disable ssl configuration" step needed only to run nginx for the first time before initial certificates generated.

If this the issue you see (i.e. everything is working, certs updating but error message appearing on refresh) it can be fixed by adding a check for cert presence or just by suppressing the error with 2> /dev/null

from nginx-le.

paskal avatar paskal commented on May 11, 2024

@olha-yukhno, thank you for the report! I've managed to replicate this by killing "sleep 10d" in the container:

nginx             | start letsencrypt updater
nginx             | trying to update letsencrypt ...
nginx             | letsencrypt certificate /etc/nginx/ssl/le-crt.pem still valid
nginx             | '/etc/nginx/conf.d.disabled' -> '/etc/nginx/conf.d'
nginx             | reload nginx with ssl
nginx             | 2019/08/14 18:21:16 [notice] 34#34: signal process started
nginx             | Terminated
nginx             | trying to update letsencrypt ...
nginx             | letsencrypt certificate /etc/nginx/ssl/le-crt.pem still valid
nginx             | mv: can't rename '/etc/nginx/conf.d.disabled': No such file or directory
nginx             | '/etc/nginx/conf.d.disabled' -> '/etc/nginx/conf.d/conf.d.disabled'
nginx             | reload nginx with ssl
nginx             | 2019/08/14 18:21:57 [notice] 62#62: signal process started
nginx             | Terminated
nginx             | trying to update letsencrypt ...
nginx             | letsencrypt certificate /etc/nginx/ssl/le-crt.pem still valid
nginx             | mv: can't rename '/etc/nginx/conf.d.disabled': No such file or directory
nginx             | '/etc/nginx/conf.d.disabled' -> '/etc/nginx/conf.d/conf.d.disabled'
nginx             | reload nginx with ssl
nginx             | 2019/08/14 18:22:07 [notice] 80#80: signal process started

Command above silently removes file and don't write anything in case there is no file to remove. To make behavior consistent I'll prepare PR which silences this message as well.

from nginx-le.

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.