v0.4.0 Instructor FAQs
I modified the course / lab settings in admin section, but the changes are not reflected in the main page. What should I do to reflect the configuration changes?
Ans: Please restart the mainserver container using
sudo ansible -i inventory mainserver --become --ask-become-pass -m docker_container -a "name=mainserver state=started restart=yes"
If you changed the default installation directory, go to the
deploydirectory there, and run the above command there.
I create a lab with non-alphanumeric character in lab name, ex: "dsa-lab1". The Autolab system breaks down.
Ans: The lab names can only contain alphanumeric characters (a-z, A-Z, 0-9). A lab name can not start with an integer. Please change the name of the lab in labs.json file either from terminal or from admin section. Once the lab name is updated, ask the administrator to restart the relevant autolab components using the commands.
$sudo docker restart mainserver $sudo docker restart loadbalancer
Can I block access to shared resources / projects on Gitlab?
Ans: It is not possible at the moment. But, GitLab administrators can see the list of shared resources created by all the users. Please check the URL
https://<gitlab_url>/admin/groupsfor a list of active groups. You can eliminate group creation by following the advice given on this stackoverflow page. You can also have a look at the settings in
https://<gitlab_url>/admin/application_settings, to block certain access mechanisms.
Is there an exam mode by which I can turn off access to all the existing repositories of GitLab?
Ans: At present AutolabJS does not support exam mode. You have to delete all the existing GitLab projects and shared resources manually.
How can I see the access logs of GitLab?
Ans: The GitLab logs are available at https://<gitlab_url>/admin/logs.
Can I restrict the visibility of projects to private mode only so that students do not copy code from each other?
Ans: Please check for Restricted visibility levels setting on https://<gitlab_url>/admin/application_settings page.
I want to enforce a GitLab access policy based on my lab seating arrangement. Is it possible?
Ans: Such a network access restriction is best applied using ufw firewall rules.