Add Device - how to connect -> Connect using Docker - select operating system

Connect using Docker - select operating system

Summary

This page allows you to select the operating system you are using for your Docker installation. This is the first step in connecting your device to the AwaBerry platform, ensuring that the necessary installation files are prepared correctly based on your chosen operating system.

Page Access

You can access this page by navigating to: /connect_steps_docker

Page Functionalities

Operating System Selection

Users choose their operating system by tapping on dedicated tiles for Ubuntu, Debian, or Linux Mint. Tapping a tile automatically selects it and initiates the connection process.

  • Ubuntu (Version: 24.04 LTS): Select this option if you are using Ubuntu.
  • Debian (Version: Bookworm): Select this option if you are using Debian.
  • Linux Mint (Version: 22): Select this option if you are using Linux Mint.

Information and Guidance

The page provides clear text to guide you through the selection process.

Error Messages

If an issue occurs during the connection setup, an error message will be displayed at the top of the page, informing you about the problem.

Loading Indicator

During background operations, a full-screen loading indicator will appear to show that the system is processing your request.

Scenario Executions

Possible usage steps within this page

Successful Selection and Proceed:

  1. Start: You are on the "Connect using Docker - select operating system" page.
  2. Step 1: Read the prompt: "Please select the operating system in use:".
  3. Step 2: Tap on the "Ubuntu" tile (or Debian, or Linux Mint).
  4. Expected Result: The selected tile highlights. A full-screen loading indicator appears briefly. After successful processing, the page automatically advances to the next step in the Docker connection process.

Possible errors which may occur on this page

Error Creating Docker File (Backend Issue):

  • When it happens: After you select an operating system, the system tries to prepare necessary Docker files and group information on the AwaBerry backend. If there's a problem communicating with the backend services or an issue in setting up the required data for your user, this error can occur.
  • What you see: A red error box appears at the top of the page with the message: "Error creating docker file - try again later."
  • Why it happens: This usually indicates a temporary problem with the AwaBerry server or your internet connection preventing the system from preparing the Docker setup.
  • How to resolve:
    • Check your internet connection.
    • Try selecting the operating system again after a few moments.
    • If the issue persists, contact support.