Skip to main content
Migration Notice
We're migrating documentation from the old portal into this one. Some things may look a little different or out of place in the meantime — we know, and we're working to get it right. If something's unclear or doesn't look right, let us know.
Version: 4.4.0

Changing Eyeglass UI Behavior

Overview

The Eyeglass UI has a few behaviors that can be adjusted by editing configuration files directly on the appliance. This guide covers extending the auto-logout timer, disabling the login page notification feed, and extending the API timeout for long-running requests.

Extend the GUI Auto-Logout Timer

note

Requires version 2.5.8.2 or later.

  1. Log in to Eyeglass as admin, then elevate to root:

    sudo -s
  2. Edit the configuration file:

    nano /opt/superna/sca/data/system.xml
  3. Under the <process> section, add the timeout tag. The value is in milliseconds — take the number of minutes and multiply by 60000. For example:

    • 30 minutes = 1800000
    • 1 hour = 3600000
    <uitimeout>1800000</uitimeout>
  4. Press Ctrl+X to save and exit.

  5. Restart the service:

    systemctl restart sca

Disable the Login Page Notification Feed

note

Requires version 2.5.6 or later.

  1. Log in to Eyeglass via SSH as admin, then elevate to root:
    sudo -s
  2. Edit the file:
    nano /srv/www/htdocs/eyeglass/js/eyeglass_globals.js
  3. Locate the tag twitter_feed_enabled:!0 and change it to twitter_feed_enabled:0 (remove the ! character before the 0).
    • Press Ctrl+W and type twitter to jump to the correct section.
    • Use the arrow keys to move to the ! character and delete it.
  4. Save the file: press Ctrl+X, then type Y to confirm.
  5. Refresh the UI in your browser — the notification feed will no longer appear.
caution

This change is not persistent across upgrades.

Extend the UI API Timeout for Long-Running Requests

When Eyeglass manages a large number of objects, some long-running GUI operations — such as an Unlock My Files search with Cluster Storage Monitor — can exceed the default timeout.

The default value is 45 seconds. To change it:

  1. Log in to Eyeglass via SSH.
  2. Open the file:
    vim /srv/www/htdocs/eyeglass/js/eyeglass_globals.js
  3. Type / to search, type 45, and press Enter. The cursor will land on the section reading {ajax_get_timeout_seconds:45.
  4. Press x twice to delete the 45.
  5. Press i to enter insert mode, type the new value (e.g. 90 for 90 seconds), then press Esc to exit insert mode.
  6. Type :wq and press Enter to write and save.
  7. Refresh the UI page — the new timeout now applies.