Gluesync Control for Linux
Gluesync Control is the program that installs, starts, stops, updates and collects the logs of Gluesync on a Linux server. It is one static file for each CPU (amd64 and arm64) and needs nothing on the server except Docker: no .NET, no libraries and no other file. You use it as the gluesync command, or, when you run gluesync with no arguments in a terminal, as a text screen. It comes with the Linux installers 1.3.6 (released October 18, 2026) and later. From Gluesync Control 1.4.5 it is also the Linux installer itself: gluesync install, started by the docker-installer.sh command you already know (see Install Gluesync).
For Windows Server, see Gluesync Control (Windows).
What you need
-
Docker Engine and Docker Compose, the
docker composeplugin (version 2) ordocker-compose(version 1). The installer (gluesync install) installs them, online. -
root, or a user who can reach the Docker daemon (a member of the
dockergroup, or the owner of a rootless socket). -
Podman is not supported: with Podman (
podman-docker)start,stopandrestartstop withGS-CTL-002.statusstill works.
The same file runs on glibc and musl distributions (Rocky, Red Hat, Debian, Ubuntu, Alpine and others). It takes about 9 MB.
Where it is installed
The Linux installer (gluesync install, and before it docker-installer.sh and docker-installer-linux-offline.sh from version 1.3.6) puts it in /opt/gluesync, from the kit, and on the PATH:
-
/opt/gluesync/gluesyncis a link togluesync-linux-amd64orgluesync-linux-arm64, the file for the CPU of the server; -
/usr/local/bin/gluesyncis a link to/opt/gluesync/gluesync, sogluesyncworks from any shell; -
on Red Hat family servers (Rocky, AlmaLinux, Oracle Linux),
sudodoes not look in/usr/local/bin. The installer then also links/usr/bin/gluesync, so thatsudo gluesyncworks. It never replaces a file or a link that is not its own.
The installer prints the version, then asks Turn on the daily automatic update of Gluesync Control? (Y/n). The answer is yes when you press Enter. Set GLUESYNC_CONTROL_AUTO_UPDATE=y or n to answer it in an unattended install. See Automatic updates of Gluesync Control.
If the CPU is not amd64 or arm64, gluesync install prints a warning and the install goes on without Gluesync Control. If the kit has no gluesync-linux-<cpu> file (a kit from before installer 1.3.6), gluesync install copies the Gluesync Control that is running the installation into /opt/gluesync: the kit’s own file wins when it has one. Installers 1.3.6 and earlier, which installed Gluesync Control only from the kit, went on without it and the kit kept its own scripts. The kit’s run.sh starts Gluesync in every case.
Where Gluesync Control keeps its files:
| What | Where |
|---|---|
The Gluesync folder |
|
State |
|
Logs |
|
The Linux uninstaller, docker-uninstaller.sh, turns off the daily timer and removes the gluesync links. It removes /usr/local/bin/gluesync and /usr/bin/gluesync only when they are links into /opt/gluesync.
When Docker’s data-root or containerd’s root lies inside /opt/gluesync (a disk mounted on the install folder, with Docker moved onto it), the uninstaller keeps those folders while Docker stays, and removes everything else in /opt/gluesync. Removing the Docker runtime deletes them.
Who can run it
Run gluesync with sudo, as root, or as a user who can use Docker. Anyone else gets GS-CTL-007 and exit code 228, for example gluesync: this command needs root or access to Docker. Run it with sudo, or add your user to the docker group …. gluesync --help, gluesync --version, gluesync update --list, gluesync update --dry-run and gluesync self-update --check work for everyone.
Some things need more:
-
gluesync updateneeds write access to the compose file of the Gluesync folder (usesudo, orGS-UPD-017tells you to); -
gluesync self-updateneeds write access to the folder of thegluesyncfile (/usr/local/binbelongs to root); -
gluesync self-update --enable-autoand--disable-autoneed root.
With sudo, a user’s own environment is not kept. Set HTTPS_PROXY for the command, for example sudo HTTPS_PROXY=http://proxy:3128 gluesync update, or in the sudoers file.
|
The command line
gluesync in a terminal: the terminal screen; in a script: this help
gluesync tui the terminal screen, on purpose
gluesync install [options] install Gluesync (needs root)
gluesync run | start start Gluesync
gluesync stop stop Gluesync
gluesync restart stop, then start
gluesync status [--json] show what is running
gluesync open show the address of Gluesync
gluesync update [options] update Gluesync
gluesync collect-logs [options] collect a support bundle
gluesync self-update [options] update Gluesync Control itself
gluesync --help | --version
--folder <path> the Gluesync folder, before or after the command
The commands wait until the work is done, write to the console and return the real exit code, so they work in scripts and in cron: gluesync status && echo up, or $?. Errors go to the error output as [ERROR] GS-CTL-003 CONTROL_START_FAILED: <message> followed by Fix: <what to try>. Press Ctrl+C to stop a running command: the exit code is 130.
| Command | What it does |
|---|---|
|
Installs Gluesync on the server: online or offline, with a guided screen in a terminal and unattended without one. When Gluesync is already installed, it updates it. See Install Gluesync. |
|
Starts Gluesync with the same steps as the |
|
Runs |
|
|
|
Shows the state (running, partly running, stopped, Docker not running, not installed), the installed version, the services running out of the expected ones, the address, the Docker daemon and the folder. Exit code |
|
Prints |
|
Updates Gluesync. See Update Gluesync. |
|
Collects a support bundle. See Collect logs for support. |
|
Updates Gluesync Control itself. See Automatic updates of Gluesync Control. |
Old scripts and the new commands
| Kits before installer 1.3.6 | Now |
|---|---|
|
|
|
|
|
|
|
|
(new) |
|
Install Gluesync
gluesync install is the Linux installer. It replaces the two bash installers (docker-installer.sh 1.3.6 and docker-installer-linux-offline.sh 1.0) with one installer for the online and the offline install: a guided screen in a terminal, and a fully unattended run everywhere else. It needs root.
curl -fsSL https://molo17.com/gs-content/utils/docker-installer.sh | sudo bash
sudo gluesync install
sudo gluesync install --unattended --kit a1b2c3d4e5f6 --start
sudo gluesync install --offline --package gluesync-platform-linux-amd64-2.3.0.1.tar.gz --kit-file a1b2c3d4e5f6-trial-kit.zip
The two public scripts
docker-installer.sh (installer 2.0.0) and docker-installer-linux-offline.sh (installer 2.0) are only the way in. They keep their public addresses and their usage.
docker-installer.sh-
Detects the CPU (
x86_64is amd64,aarch64is arm64; another CPU stops it). It reads the GA version, size and SHA-256 of Gluesync Control from the MOLO17 update catalog and downloadshttps://molo17.com/gs-content/utils/gluesync-linux-<amd64|arm64>, over HTTPS only (also across redirects). It refuses the file, and nothing runs, when its size or SHA-256 differs from the catalog, when the catalog gives no usable version, size or SHA-256, or when a download fails. It then runsgluesync installwith your options: itself when it is root, else throughsudo, passing on everyGLUESYNC_*variable and the proxy variables (https_proxy,http_proxy,no_proxy). The exit status of the installer is the exit status of the script. It needscurlorwget, andsha256sum,shasumoropenssl. docker-installer-linux-offline.sh-
Needs no network. It finds, in its own folder, the platform package (
gluesync-platform-linux-<amd64|arm64>[-<version>].tar.gz, the newest versioned name winning) and the kit (<kit ID>-trial-kit.zip). It takesgluesync-linux-<amd64|arm64>from the same folder or from thegluesync-dockerfolder of the kit (kits made from October 2026 contain it; with an older kit, download the file once fromhttps://molo17.com/gs-content/utils/gluesync-linux-<amd64|arm64>). It runsgluesync install --offline --package <package> --kit-file <kit>. A missing package or kit is a warning: the installer asks for it, or stops when there is no terminal.
With curl … | sudo bash the script reads its own text from the standard input, so the installer takes the terminal of the session (/dev/tty) when there is one and shows the guided screen. With no terminal at all it runs unattended. GLUESYNC_NONINTERACTIVE=1 means unattended in every case.
License agreement
Installing Gluesync means accepting the MOLO17 Gluesync End User License Agreement. Kits packaged from October 21, 2026 carry a copy, eula.pdf, installed as /opt/gluesync/eula.pdf (or <folder>/eula.pdf with --folder); earlier kits do not have it. From Gluesync Control 1.4.9 the guided screen has a License agreement step after Welcome: Continue is refused until I accept the license terms is ticked, and EULA accepted is written to /var/log/gluesync/install.log. An unattended run asks nothing: it prints and logs By installing Gluesync you accept the MOLO17 Gluesync End User License Agreement with the address, and with the path of the copy when the kit includes it. From Gluesync Control 1.4.11 the guided screen names eula.pdf only when the kit includes it and is already in hand (an offline install with a kit file); otherwise it shows the address alone. No option is needed. An update of an existing install does not show the step.
What gluesync install decides
| Situation | What happens |
|---|---|
Not root |
It says so ( |
Gluesync is already installed in the folder (a compose file in |
An update, never a reinstall. Unattended: |
A terminal on the standard input and output, |
The guided screen. |
Anything else |
Unattended: nothing is asked and every answer comes from the options and variables below. |
| Option | Variable | Meaning (unattended default) |
|---|---|---|
|
|
The kit ID of the download email: 12 hexadecimal characters. Spaces and capital letters are fixed. An invalid one stops with |
|
|
Install from files instead of downloading. |
|
|
The platform package, |
|
|
The kit zip. The kit ID is taken from its name. |
|
|
Start Gluesync when the installation is done. Unattended default: |
|
|
Accept soft prerequisite findings. Separate the codes with commas, semicolons or spaces. Only |
|
The install folder. Default |
|
|
|
Ask nothing. |
|
The daily automatic update of Gluesync Control (see Automatic updates of Gluesync Control). Default |
|
|
Turns off all anonymous install data: the install started message, the result and the failure log lines (see Anonymous install data). |
An unknown option is an error (GS-CTL-006, exit 255): the bash installers ignored the arguments they did not know. For scripts that already pass GLUESYNC_SETUP=n (or --no-setup), an unattended run with it installs only Docker. An online unattended run with no kit ID does the same ("Gluesync setup skipped", exit 0), as the bash installer did. The guided screen has no such option.
The steps
Online: the prerequisite checks, the swap file, Docker Engine for the distribution, the Docker settings, the kit (download, extract, copy to /opt/gluesync, .env), Gluesync Control on the PATH, the start (optional), the container check and the install confirmation.
Offline: Docker is found (the install is refused at once when it is not there), the prerequisite checks that need no network, the swap file and the Docker settings, the package and the kit are checked (the whole package is read once), the images are loaded (each archive goes straight into docker load: nothing is unpacked to disk), the kit is copied and its compose file points to the loaded images, Gluesync Control, and the start (optional). The offline install needs no network and sends nothing.
Docker Engine is installed from the repository of the distribution:
| Distribution | Docker comes from |
|---|---|
Ubuntu, Debian |
Docker’s apt repository. |
Red Hat, AlmaLinux, Rocky Linux, Oracle Linux, CentOS |
Docker’s CentOS repository. |
Fedora |
Docker’s Fedora repository. |
Amazon Linux |
The Amazon Linux packages. Docker Compose is downloaded from GitHub when it is missing. |
SUSE Linux Enterprise Server (incubating), openSUSE |
The SUSE Containers module and the openSUSE packages. Docker Compose is downloaded from GitHub when it is missing. |
Another distribution stops with "Unsupported distribution" (exit 1). Podman is not offered. Package managers run without questions (DEBIAN_FRONTEND=noninteractive).
For both installs, gluesync install also:
-
writes
/etc/docker/daemon.jsonwith the log settings of Gluesync (json-file, non-blocking, 4 MB buffer, 100 MB per file, 10 files) and restarts Docker. An existing file is copied todaemon.json.backup, and when it is a JSON object its other settings, such asdata-rootor a registry mirror, are kept. On Debian and Ubuntu, the Docker packages are installed so that a configuration file that already exists, such as/etc/docker/daemon.jsonor/etc/containerd/config.toml, is kept; -
enables Docker at boot, and adds the user who ran
sudo(never root) to thedockergroup; -
on Debian and Ubuntu, writes
/etc/sysctl.d/99-gluesync.conf(network buffers and connection tracking); -
creates a 10 GB
/swapfilewhen the server has less than 10 GB of swap. This runs after the prerequisite checks, and a failure is a warning; -
extracts the kit into
/opt/gluesyncwithout removing anything that is already there. The user who ransudoowns the folder..envgetsTZ=<time zone of the server>when it has none, and a CPU without the x86-64-v3 instructions gets the-debianCore Hub image, and the-debianChronos image when Docker Hub has one for its version.
At the end, online only, it runs docker run --rm hello-world (a failure is a warning). An online install also sends anonymous install data to MOLO17: see Anonymous install data.
Free disk space for the install
Before it installs anything, gluesync install checks the free disk space (online and offline, guided and unattended). From Gluesync Control 1.4.19 each folder has its own requirement, the same as on System requirements:
| What is on the disk | Blocks below | Recommended |
|---|---|---|
Docker’s data-root and containerd’s root (images, containers, container logs) |
30 GB |
50 GB |
The install folder, |
80 GB |
250 GB |
The swap file the installer creates at |
+10.7 GB |
+10.7 GB |
What shares a file system adds up. With everything on one disk the install needs 110 GB free, plus the swap file, and 300 GB is recommended. With Docker and the swap file on a 46 GB / and the install folder on its own disk, the install goes on: 40.7 GB is the minimum there.
-
Below the minimum the install is blocked (GS-PRE-050). It cannot be accepted.
-
Between the minimum and the recommendation, the install goes on with a warning (GS-PRE-054).
Gluesync Control 1.4.18 blocked every folder below 80 GB and warned below 100 GB, so it blocked a server with a small /var/lib even when the install folder was on a large disk.
It measures Docker’s data-root, containerd’s root (when Docker uses the containerd image store, the default of a new Docker 29 or later install: the images live there and data-root does not move them) and the install folder. / on its own is not measured, so a small / does not block a server whose install folder is on a large disk. The Windows setup wizard keeps its own rule: it blocks below 100 GB.
When the file system of the install folder has 110 GB free (room for itself and for Docker), the Fix line shows how to move Docker’s data-root and containerd’s root there: stop Docker, copy the data with rsync, set data-root in /etc/docker/daemon.json and root in /etc/containerd/config.toml, label the new folders with semanage and restorecon on SELinux systems, start Docker and run gluesync install again. See Low disk space on Linux.
The prerequisite checks and their codes are on Installer error codes and troubleshooting. The log of the run is install.log in /var/log/gluesync, with the output of the package manager and of docker load. Remove an installation with docker-uninstaller.sh, which is unchanged.
Anonymous install data
An online install sends anonymous messages to MOLO17, so that we can find and fix installer problems. There are three:
-
Install started, when the install begins. It is sent after the system checks pass. A check that blocks the install sends no install started message.
-
Install succeeded, when the install ends well.
-
Install failed, when the install stops with an error.
Each message holds the kit ID, the versions, the platform (the operating system and the CPU) and the result. A failed install adds the error code and the last lines of the log of that run, at most 40 lines. The installer masks these lines before it sends them: passwords, tokens, email addresses, IP addresses, host names, user names, domain names and user folders are replaced with a marker such as [email] or [ip]. Nothing else is sent.
Set GLUESYNC_TELEMETRY=0 to turn off all of it. An offline install sends nothing.
Update Gluesync
gluesync update --list [--channel ga|beta|alpha]
gluesync update --dry-run [--version <x.y.z.w>|latest] [--channel ga|beta|alpha] [--package <file>]
gluesync update [--version <x.y.z.w>|latest] [--channel ga|beta|alpha] [-y]
gluesync update --package <file> [-y]
The options are the ones of the Windows update: --list shows what you can update to and changes nothing, --dry-run shows the plan and stops, --version picks a version (the newest offered without it), --channel ga|beta|alpha sets the newest version you can reach (--beta and --alpha are short for the channel), --package updates from a file with no network access, and -y does not ask. Beta and alpha ask twice unless you add -y.
The online update offers the Core Hub versions that MOLO17 has released for Linux, newer than the installed one and up to the latest GA of the channel, whose Core Hub image exists on Docker Hub. It only upgrades. It follows the steps of the Windows update: checks, backup, new image tags, pull, restart, verification and, on failure or Ctrl+C, a rollback. On Linux:
-
The backup of
docker-compose.ymland.envis in/var/lib/gluesync/backups/<date-time>as root, otherwise~/.local/state/gluesync/backups(mode700, the last five are kept). -
Modules (the conductor and Chronos) move to their latest version with no suffix (Chronos:
-debianby the rule below), and the third-party images (Traefik, Prometheus and Grafana) to the version that MOLO17 publishes for each. -
Old images stay on the disk.
docker image pruneremoves the dangling ones. -
The variant of Core Hub is the one that is installed: the plain tag (for example
2.3.0.1), or-debian. A CPU that lacks the x86-64-v3 instructions runs the-debianimages, and the update keeps that rule: it switches a plain install on such a CPU to the-debiantag and says so (this CPU lacks x86-64-v3). An install that is already-debianstays-debian, and arm64 is never switched. Chronos follows the same rule, but only when the-debianimage of its version is on Docker Hub (older Chronos versions have none): otherwise a Chronos on the default image keeps it, and a-debianChronos is left as it is.
| Core Hub migrates its database when it starts with a newer version, and that migration is one-way. A rollback restores the images and the configuration files, not the database. Take a configuration backup before you update a production system. |
Offline update
For a server with no internet access, download the update package for the CPU of the server, gluesync-update-linux-amd64-<version>.tar.gz or gluesync-update-linux-arm64-<version>.tar.gz, from Get Gluesync – offline downloads on a connected computer, copy it to the server, and run:
sudo gluesync update --package /tmp/gluesync-update-linux-amd64-<version>.tar.gz
Gluesync Control reads the whole package once before it changes anything, loads the images one by one with docker load (nothing is unpacked to disk), then backs up, restarts and checks Gluesync like the online update. The free space is checked on the Docker data folder (twice the size of the package, at least 1 GB). The package is refused (GS-UPD-014, before anything changes) when it is a Windows package, is for the other CPU, or carries only Core Hub of another variant. An older or the same version is refused. An installed image that the package does not carry stays as it is.
Pins and updating one service
From 1.4.2, gluesync update can pin Core Hub or a service to a version, keep the pin until you remove it, and update one service only. It works as on Windows, and the options, the three confirmations of a Core Hub pin and the data backup of a downgrade are described in Pin versions and update one service. The differences on Linux:
-
The pins are in
/var/lib/gluesync/pins.jsonas root, otherwise in~/.local/state/gluesync/pins.json. A user who runs Docker withoutsudoalso reads the pins that were made withsudo. -
The data backup of a Core Hub downgrade goes to
<state folder>/backups/<date-time>/core-hub-data/. -
A tag is a version when it is
<n.n[.n[.n]]>[.word], with no suffix (or the-debianfamily for Core Hub and Chronos).latest, a beta, a test build and the tags of another family are not. -
--services,--versions,--pins,--unpinand--dry-runneed no access to Docker.--pinand--servicechange Gluesync and do.
sudo gluesync update --services
sudo gluesync update --pin core-hub=2.2.11.12 --i-understand-pinning --allow-downgrade
sudo gluesync update --service gluesync-chronos
sudo gluesync update --unpin all
Collect logs for support
gluesync collect-logs [--days N] [--max-mb N] [--tail N] [--out <dir>]
[--local-only] [--ticket X --email Y] [--delete-after-upload]
The options and what they do are the ones of Collect logs for support on Windows: --days (default 3), --max-mb (default 1024), --tail (default 50000), --local-only (--no-upload is the same), and --ticket with --email to upload the bundle to MOLO17 support. Both are needed: use the number of your ticket on the support portal and the e-mail address you opened it with. Without them the bundle stays on the server. On Linux:
-
The bundle,
gluesync-support-<date-time>.zip, is written to/var/lib/gluesync/supportas root, otherwise~/.local/state/gluesync/support.--out <dir>writes it elsewhere (--out .writes it to the current folder). The path is printed at the end. The three newest bundles are kept in the default folder. -
It collects the Gluesync log files and the installer logs of
/var/log/gluesyncand/var/lib/gluesync, the configuration files with secrets replaced by***, a system snapshot (operating system, kernel, CPU, memory, disks, whether the CPU has the x86-64-v3 instructions, the proxy variables with the credentials hidden), the output ofss,ip,df,lsblk,getenforce,firewall-cmd,ufwandjournalctl -u dockerwhere those programs exist, Docker diagnostics (version, info,ps, images,docker inspectof every container with secrets hidden) and the log of every container. It also has the state of the self-update timer. -
It runs at low priority (
nice 10), and it never deletes or changes your files. -
The upload goes over HTTPS, then over FTP. It uses the proxy from
HTTPS_PROXY,HTTP_PROXYandNO_PROXY.
For example, to collect the last three days and send them with your ticket:
sudo gluesync collect-logs --ticket <ID> --email <you>
If you have no ticket yet, collect with --local-only and attach the file to a new ticket. If you can sign in to the Gluesync Control Plane, you can also send the logs from there. See Exporting and uploading logs to support.
|
Automatic updates of Gluesync Control
Gluesync Control can update itself. This is different from updating Gluesync: it replaces only the gluesync program. The Gluesync platform, its containers, its configuration and its data are not touched, Gluesync keeps running and nothing restarts.
gluesync self-update [--check] [--quiet] [-y] [--channel ga|beta] [--set-channel ga|beta]
gluesync self-update --enable-auto | --disable-auto
| Option | Meaning |
|---|---|
|
Prints the running version and the newest published version, and installs nothing. Exit code |
|
Does not ask for confirmation. |
|
What the daily timer runs: no question and no output unless something fails. |
|
Root only. Sets up the daily check: a systemd timer, |
|
Root only. Stops and removes the timer and its two unit files. |
|
The channel for this run. |
|
Saves the channel in |
When a newer version is published, Gluesync Control:
-
downloads the new
gluesyncfile from MOLO17 over HTTPS (only HTTPS, also across redirects), into the folder of the program; -
checks that its size is the size in the MOLO17 catalog, that its SHA-256 is the one in the catalog, and that it runs and reports the version that the catalog announced (
--version); -
makes it executable, keeps the old file next to the program with
.oldadded to its name (<program>.old, for example/opt/gluesync/gluesync-linux-amd64.oldin an installer or kit installation) and replaces the program in one step.
A file that fails a check is deleted and nothing changes. The .old file is kept until the next self-update run, and then removed. Only a strictly newer version is installed, never the same one and never an older one. A server that cannot reach the update service, or that is in maintenance, tries again later. If MOLO17 has no update information for the CPU (the catalog has no entry), the command says so and exits with 0.
The result of the last run is in last-result.json of <state folder>/self-update and in self-update.log. If an update fails, the previous version stays and the next run tries again. The codes are in Gluesync Control on Linux.
Turn automatic updates off
-
Run
sudo gluesync self-update --disable-auto, or switch off the daily update in Settings of the terminal screen. -
Machine policy: create
/etc/gluesync/policy.jsonwith{"disableControlSelfUpdate": true}. It turns off the timer, andgluesync self-updatestops withGS-SUP-001(exit code101).
A server without systemd has no timer: the installer says so and prints the line to put in cron, once a day:
sudo gluesync self-update --quiet -y
The terminal screen
Run gluesync with no arguments in an interactive terminal (or gluesync tui on purpose) to open a text screen with the same tabs as the Windows window: Overview, Update, Support and Settings. In a script, a pipe, cron or a systemd unit, gluesync with no arguments still prints the help, and gluesync tui stops with GS-CTL-006 (exit code 255). The screen needs a terminal of at least 80 columns by 24 rows. Below 60 by 16 it asks you to make the window larger.
| Tab | What it does |
|---|---|
Overview |
The state, the version, the address, Docker and the folder, with Start, Stop, Restart (both ask first, with No as the default) and Open. Beside it, or below it in a narrow terminal, the services table: a health dot, the image tag, the state and a pin marker. It is read again every 5 seconds. |
Update |
Two sub-tabs. Updates: check for updates and choose a version to see its plan, Update all (the plan, a confirmation, the progress and the result with the backup folder) and update from a package file. Advanced options: pin Core Hub (the versions, Other version…, then the same three confirmations as on Windows, each with No as the default), the services (choose one to pin, unpin or update it alone), and the pins (unpin one, or all). There is no |
Support |
Collect logs, kept on the server or uploaded with a ticket and an e-mail address, with the days and the size limit. The result shows the path of the bundle. |
Settings |
The version of Gluesync Control, the update channel, a check for an update with Update now, and the daily automatic update (the systemd timer, root only; without systemd it shows the line for cron). |
Press 1 to 4, or Tab, to change tab. Use ↑ and ↓ (or j and k) to move, Enter to choose, Esc to go back, r to read again, ? for help and q to quit. The footer always shows the keys of the screen. While something runs, the screen shows the steps, a progress bar and the output of the engine. Press Ctrl+C to stop it the way the command line stops: an update that already changed Gluesync restores the previous version first. The terminal is given back on every way out.
The screen adapts to the terminal. With true colour or 256 colours and a UTF-8 locale it uses a flat look. On a terminal with 16 colours, on the Linux console, with NO_COLOR set, or in a locale that is not UTF-8, it uses plain borders and ASCII characters. Set GLUESYNC_TUI_CLASSIC=1 to ask for the bordered look anywhere.
Without root or Docker access (GS-CTL-007), or with Podman, the screen is read-only: a banner says why, only what reads works (the update check, the services and pins tables, the check for a new Gluesync Control), and what would change the server is shown dimmed.
Free disk space monitoring
From Gluesync Control 1.4.17, Gluesync warns you before a drive it uses runs out of space. A full disk stops Gluesync and makes updates fail.
A drive gets a level:
-
Warning: less than 20 GB or less than 10 % free.
-
Critical: less than 5 GB free.
Gluesync checks the Docker data root and the drive of the install folder.
gluesync status (and gluesync status --json) shows the level, the free space of each drive and what to do (GS-CTL-008). It is a warning, not a failure: the exit code of gluesync status does not change.
The systemd timer gluesync-control-disk-check.timer checks the drives every hour. gluesync install turns it on, and docker-uninstaller.sh removes it. For a server installed before 1.4.17, turn it on with:
sudo gluesync disk-check --enable-auto
sudo gluesync disk-check --disable-auto turns it off.
Each run writes to syslog and the journal with the tag gluesync: user.warning for a warning, user.err for critical, and user.info when the disk is OK again (written once, after a warning). While the disk stays low, every hourly run writes its message again, so a monitoring tool sees it for as long as the problem lasts. To read them, run journalctl -t gluesync.
On a server without systemd, run sudo gluesync disk-check from cron every hour.
To fix it, free space on that drive or extend it. The Docker data-root grows with every update.
Exit codes
Gluesync Control returns the same codes as on Windows. A Linux exit status has one byte, so three of them are different.
| Exit code | Meaning |
|---|---|
|
Done. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Stopped with Ctrl+C ( |
|
|
|
|
None |
|
|
|
|
|
The text of an error keeps its GS- code, so the code in the message is the one to look up. Every code, its meaning and its fix are on Installer error codes and troubleshooting.