Install Workbench 2

  1. Update config.yml
  2. Update Nginx configuration
  3. Install arvados-workbench2
  4. Restart the API server and controller
  5. Confirm working installation
  6. Trusted client setting

Workbench2 is the web-based user interface for Arvados.

Note:

Workbench2 is the replacement for Arvados Workbench. Workbench2 is suitable for day-to-day use, but does not yet implement every feature of the traditional Workbench.

Update config.yml

Edit config.yml to set the keys below. The full set of configuration options are in the Workbench section of config.yml

    Services:
      Workbench2:
        ExternalURL: "https://workbench2.ClusterID.example.com"

Update Nginx configuration

Workbench2 does not require its own database. It is a set of html, javascript and css files that are served as static files from Nginx.

Use a text editor to create a new file /etc/nginx/conf.d/arvados-workbench2.conf with the following configuration. Options that need attention are marked in red.

server {
    listen       80;
    server_name  workbench2.ClusterID.example.com;
    return 301   https://workbench2.ClusterID.example.com$request_uri;
}

server {
  listen       443 ssl;
  server_name  workbench2.ClusterID.example.com;

  ssl_certificate     /YOUR/PATH/TO/cert.pem;
  ssl_certificate_key /YOUR/PATH/TO/cert.key;

  index  index.html;

  # Workbench2 uses a call to /config.json to bootstrap itself
  # and find out where to contact the API server.
  location /config.json {
    return 200 '{ "API_HOST": "ClusterID.example.com" }';
  }

  location / {
    root      /var/www/arvados-workbench2/workbench2;
    index     index.html;
    try_files $uri $uri/ /index.html;
    if (-f $document_root/maintenance.html) {
      return 503;
    }
  }
}

Vocabulary configuration

Workbench2 will load, if available, a vocabulary definition which lists available metadata properties for groups and collections. To learn how to configure the property vocabulary definition, please visit the Metadata Vocabulary Format page in the Admin section.

Install arvados-workbench2

Red Hat, AlmaLinux, and Rocky Linux

# dnf install arvados-workbench2

Debian and Ubuntu

# apt install arvados-workbench2

Restart the API server and controller

Make sure the cluster config file is up to date on the API server host then restart the API server and controller processes to ensure the configuration changes are visible to the whole cluster.

# systemctl restart nginx arvados-controller
# arvados-server check

Confirm working installation

Visit https://workbench2.ClusterID.example.com in a browser. You should be able to log in using the login method you configured in the previous step. If Users.AutoAdminFirstUser is true, you will be an admin user.


Previous: Install the websocket server Next: Customizing Workbench

The content of this documentation is licensed under the Creative Commons Attribution-Share Alike 3.0 United States licence.
Code samples in this documentation are licensed under the Apache License, Version 2.0.