Description
Hi! First of all, thank you for developing nbgrader (@jhamrick) and this particular jupyterhub deployment! I installed and configured out server to run this deployment a while ago, and everything worked smoothly (including the formgrader). However, after rebooting the server, suddenty I'm unable to access the formgrader (404 error). Interestingly, as the "owner" (as specified in the host_vars file) I'm the only one who cannot access the formgrader; other graders (and even students) can access it.
My set-up is largely the default setup as specified in the master branch of jupyterhub-deploy-teaching, apart from a couple of things.
- I have used the changes suggested in Fix nbgrader installation and configure correctly for nbgrader>=0.5.0 #83 to make nbgrader==0.5.3 work
- I upgraded jupyterhub to version 0.7.2. as suggested in 404 on server reboot on Formgrader tab. #88 to check whether this resolves the 404 error (it doesn't)
My nbgrader_config.py
file (located in ~/.jupyter
) looks like the following:
# Ansible managed
# Configuration file for nbgrader.
c = get_config()
c.CourseDirectory.root = '/home/lsnoek1/nbgrader/neuroimaging_bold'
c.Exchange.course_id = 'neuroimaging_bold'
My nbextensions are set as follows (output from the command jupyter nbextension list
):
Known nbextensions:
config dir: /opt/conda/etc/jupyter/nbconfig
notebook section
validate_assignment/main enabled
- Validating: OK
create_assignment/main enabled
- Validating: OK
tree section
assignment_list/main enabled
- Validating: OK
formgrader/main enabled
- Validating: OK
And my /etc/jupyterhub/jupyterhub_config.py
looks like this:
# Ansible managed
# Configuration file for jupyterhub.
c = get_config()
c.JupyterHub.ip = u'<our server address>'
c.JupyterHub.port = 8000
c.JupyterHub.cookie_secret_file = u'/srv/jupyterhub/cookie_secret'
c.JupyterHub.db_url = u'/srv/jupyterhub/jupyterhub.sqlite'
c.JupyterHub.proxy_auth_token = u''
c.JupyterHub.confirm_no_ssl = True
c.JupyterHub.load_groups = {
'formgrade-neuroimaging_bold': ['lsnoek1','grader2','grader3',],
}
c.Authenticator.admin_users = {'lsnoek1','grader1','grader2'}
c.Authenticator.whitelist = {'lsnoek1','grader1','grader2','student1', 'student2', <etc>}
c.JupyterHub.services = [
] # the content of this field was removed as indicated in PR #88
I hope someone can help me because the course is starting soon, and I would love to use the formgrader for manual grading/giving feedback :)
Again, thanks a lot for developing this great tool/deployment scheme, and I'm looking forward to any tips that might help me solve this issue!
-Lukas