Skip to content

v0.4.0 Instructor FAQs

AnkshitJain edited this page Sep 29, 2018 · 1 revision

Web Application

  1. 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
    cd /opt/autolabjs/deploy
    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 deploy directory there, and run the above command there.

  2. 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
  3. 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/groups for 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.

  4. 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.

  5. How can I see the access logs of GitLab?
    Ans: The GitLab logs are available at https://<gitlab_url>/admin/logs.

  6. 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.

  7. 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.

Clone this wiki locally
You can’t perform that action at this time.