Comments (7)
Indeed, that was copied from a docker deployment without proper updating.
Can you try running:
certbot-auto renew --nginx
?
from jupyterhub-deploy-teaching.
Scratch that, run:
certbot-auto renew --webroot --webroot-path=/etc/letsencrypt/webroot
service reload nginx
and see if that works. If it does, I'll update the file.
from jupyterhub-deploy-teaching.
I ended up doing the following:
date >> /var/log/letsencrypt.log
kill -s HUP $( pgrep -o nginx )
fuser -k 443/tcp
fuser -k 80/tcp
certbot-auto renew --no-self-upgrade 2>&1 &>> /var/log/letsencrypt.log
sleep 10
fuser -k 443/tcp
fuser -k 80/tcp
service nginx --full-restart
service nginx reload
which seemed to work. Not very optimal i guess.
@minrk when running
certbot-auto renew --webroot --webroot-path=/etc/letsencrypt/webroot
service reload nginx
I get an error:
Upgrading certbot-auto 0.13.0 to 0.15.0...
Replacing certbot-auto...
Creating virtual environment...
Installing Python packages...
Installation succeeded.
/etc/letsencrypt/webroot does not exist or is not a directory
from jupyterhub-deploy-teaching.
Try:
mkdir -p /etc/letsencrypt/webroot
first, then run it again. nginx is already serving that directory for letsencrypt upgrades.
from jupyterhub-deploy-teaching.
Ok seems to work now.
Although i can't really test if the cerbot gets a connection since the certificate is not due for renewal anymore.
Saving debug log to /var/log/letsencrypt/letsencrypt.log
-------------------------------------------------------------------------------
Processing /etc/letsencrypt/renewal/[hostname].conf
-------------------------------------------------------------------------------
Cert not yet due for renewal
The following certs are not due for renewal yet:
/etc/letsencrypt/live/[hostname]/fullchain.pem (skipped)
No renewals were attempted.
Thanks for the help :)
from jupyterhub-deploy-teaching.
Thanks! We'll have to wait until a renewal is needed to test for real. #80 should fix it.
from jupyterhub-deploy-teaching.
Hi , While setup the Jupyterhub, I saw that the let's encrypt auto-renew the certificate. But my certificate is not renewing. I saw this issue, but I am not able to figure out where we have to run this bash file or auto-renew commands
from jupyterhub-deploy-teaching.
Related Issues (20)
- failed to install jupyterlab/hub-extension
- failed to install Minimal C Kernel
- jupyterlab_default: false has no effect
- Spawn error, but service starts HOT 5
- Problem upgrading to Jupyterlab 1.0.2
- Archiving this repository in favour of TLJH HOT 2
- cull-idle as a Hub service doesn't work
- No module named 'distutils.spawn' HOT 1
- Update documentation HOT 3
- nbgrader HOT 2
- Error with conda.py HOT 3
- update documentation on formgrader configuration HOT 1
- Update docs build to use conda for RTD
- Update License File
- 404 on server reboot on Formgrader tab. HOT 1
- Jupyterhub won't start after deployment HOT 4
- Python 2 On JupyterHub-Teaching HOT 1
- Formgrader 404 (only for "owner") HOT 2
- Cannot find file `deploy_formgrade.yml`. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jupyterhub-deploy-teaching.