Offline Installation (Docker)
Install Connectware on Docker in offline environments using Docker Compose.
This guide walks you through the process of installing Connectware in offline environments using Docker Compose. The offline installation process is designed for environments where Internet access is limited, unavailable, or restricted for security reasons.
The offline installation process has two phases:
Preparation phase: Use a donor PC with Internet access to download the Docker images, the installer script, and the license files.
Installation phase: Transfer the files to the recipient PC and install Connectware without Internet connectivity.
Prerequisites
Donor PC Requirements
Internet connection
Docker installed and running
Terminal access (Linux, macOS, or Windows with WSL)
Connectware license key (for authenticating with the Cybus registry)
Access to the Cybus Portal to download license files
USB drive or other transfer medium for moving files
Recipient PC Requirements
Operating System: Linux
Docker and Docker Compose installed and running
For more information on installing Docker, refer to the Docker documentation. Docker Desktop includes Docker Compose along with Docker Engine and Docker CLI which are Compose prerequisites.
No Internet connection required
Sufficient disk space for Docker images (typically 5-10 GB for version 2.1.2)
Phase 1: Preparing Files on the Donor PC
Follow these steps on a computer with Internet access to download and prepare all required files.
Download Docker Images
Download all required Docker images for your Connectware version. This involves pulling images from the registry and then saving them to tar files.
To verify which images are already available locally, run the following command. If all required images for your target version are listed, you can skip the pull step.
To pull the required images, run the following commands. Make sure to replace
${VERSION}with the version you want to install.
Example for version 2.1.2
Download License Files
Go to the Cybus Portal.
Sign in with your credentials.
Navigate to Licenses to view your available Connectware licenses.
Select your license and download both the license key file (
.key) and license file (.lic).Save both files to your storage folder (
connectware-offline).
For detailed instructions on obtaining license files, see Acquiring License Keys.
Transfer Files to USB Drive
Copy all files from your storage folder to a USB drive or other transfer medium:
All Docker image
.tarfilesconnectware-online-installer.shscriptLicense key file (
.key)License file (
.lic)
Result: You have prepared all necessary files for offline installation. You can now proceed to the recipient PC.
Phase 2: Installing Connectware on the Recipient PC
Follow these steps on the offline recipient PC to install Connectware.
Configure the License
Open the generated
docker-compose.ymlfile in a text editor:
Locate the
system-control-serverservice section and find theCYBUS_LICENSE_FILEenvironment variable.Open your license file (
.lic) and copy its entire content.Paste the license content as the value for
CYBUS_LICENSE_FILE:
Save and close the file.
Accessing Connectware
After installation, you can access Connectware through your web browser:
Open your web browser.
Navigate to
https://localhostor the hostname you configured.Log in using the default credentials:
Username:
adminPassword:
admin
Uploading the License File
If prompted to upload a license file in the Admin UI, follow these steps:
In the Admin UI, navigate to System > System Status.
Click the License tab.
Click Upload License File.
Select your
.licfile and confirm the upload.
License Validation in Offline Environments
When running Connectware in an offline environment, you may see a warning message in the License View indicating that the system cannot connect to the license validation server at https://graphql-server.cybus.io/graphql.
The license information is stored locally in the docker-compose.yml file and does not require Internet connectivity to function. However, you will not be able to use the Refresh License button in the Admin UI, as this feature requires Internet access.
Troubleshooting
Docker Images Not Loading
Problem: Error messages when loading Docker images.
Solution: Verify that:
All
.tarfiles were transferred completely and are not corrupted.You have sufficient disk space on the recipient PC.
Docker is running with the correct permissions.
License File Not Accepted
Problem: Connectware does not accept the license file.
Solution: Ensure that:
You copied the entire content of the
.licfile, including the-----BEGIN LICENSE-----and-----END LICENSE-----markers.The license file is valid and not expired.
You pasted the content correctly in the
docker-compose.ymlfile without extra spaces or line breaks.
Containers Not Starting
Problem: Some or all containers fail to start.
Solution:
Check container logs:
docker compose logsVerify all images loaded successfully:
docker images | grep cybusEnsure ports 80 and 443 are not in use by other applications.
Cannot Access Connectware
Problem: Cannot access the Connectware Admin UI in the browser.
Solution:
Verify all containers are running:
docker compose psCheck if ports are accessible:
netstat -tuln | grep -E ':(80|443)'Try accessing using the server's IP address instead of localhost.
Next Steps
After successfully installing Connectware in offline mode, you can:
Last updated
Was this helpful?

