Skip to main content

Status Bar Quick Actions (Common to All Pages)

The status bar at the bottom left of every page in the gateway web UI provides seven quick action icons. They let you restart the OS/application or perform frequently used operator tasks — disk cleanup, backup, upgrade — with a single click.

Internal behavior in container mode (2026.05+)

The restart / reboot / temp cleanup / upgrade / firmware buttons operate via signal files in container mode. Instead of the UI calling bash scripts directly, it writes /etc/kopens/upgrade.request or /etc/kopens/host-action.request, which the host's kopens-upgrade.path / kopens-host-action.path (inotify) detects and executes as the corresponding action (Pattern B security — so that the container does not become host root equivalent). Execution results are recorded in /etc/kopens/upgrade.status / host-action.status JSON, which the UI displays by polling.

┌──────────────────────────────────────────────────────────────┐
│ … 페이지 컨텐츠 … │
├──────────────────────────────────────────────────────────────┤
│ KOPENS Edge | 🎬 🔁 🗑 ⏱ 📄 🔌 ☁ | 버전 V2026.05.10 │
└──────────────────────────────────────────────────────────────┘

Each icon opens a confirmation modal once when pressed, and requires another click on [Confirm] to execute (to prevent accidental operation). Some actions also display a red 〈Caution〉 badge to indicate their risk level.


1. 🎬 System Reboot (fa-projector)

Reboots the OS itself. This is the most drastic action — do not use it routinely.

ItemValue
Callbootbox.confirm → backend reboot endpoint
Actual behaviorOS reboot
Duration3 to 5 minutes (BIOS POST + OS boot + Tomcat startup + Cassandra)
PLC collectionFully stopped during this time
External accessDisconnected until the gateway IP stops responding to ping, then restored after boot
When to useAfter OS patching / kernel module loading / hardware inspection
Caution label🔴 Caution (red badge)

2. 🔁 Application Restart (fa-repeat-1-alt)

Restarts only Tomcat (the gateway SW). The OS stays up.

ItemValue
Actual behaviorrestart.sh (/opt/kopens/plantpulse-edge/bin/restart.sh)
DurationAbout 30 to 60 seconds
PLC collectionTemporarily suspended, then automatically restored after startup
When to useApplying app.properties changes / rebinding the OPC-UA server / clearing accumulated memory

Restart race: In some environments, ServerStartListener fails silently and the monitor ends up null — in that case, call ./restart.sh once more (or click this button again) and it will start up normally.


3. 🗑 Temporary File Cleanup (fa-trash)

Deletes leftover logs/caches/uploads to free up disk space.

ItemValue
Actual behaviorclean.sh (cleanup limited to gateway working directory prefixes with high disk usage)
DurationA few seconds to a few tens of seconds
PLC collectionNo impact (file cleanup only)
When to useWhen the Disk card on the main screen exceeds 90% / just before an upgrade / after long-running operation
Related card

When the Disk card on the home screen is red, this button is the first response.


4. ⏱ Backup (fa-stopwatch)

Saves the gateway's configuration + operational data to a backup file.

ItemValue
Actual behaviorbackup.sh
Output/opt/kopens/.../backup/<timestamp>.tar.gz
Scopeapp.properties, selected Cassandra keyspaces, Node-RED userDir, OPC/tag definitions
Restore methodBackup / Restore — separate procedure
When to useJust before an upgrade / environment migration / scheduled backup

5. 📄 Log Download (fa-file-alt)

Immediately downloads a diagnostic log bundle.

ItemValue
Calllocation.href = "/log-download" (GET request, zip streamed from the server)
OutputRecent gateway logs + diagnostic information zip
When to useAttaching to a problem report for the system administrator / requesting root cause analysis

For searching log contents, System Log Viewer (/system/log/list) is more convenient — it supports filtering by period, level, and search term.


6. 🔌 O/S and Firmware Upgrade (fa-microchip)

Upgrades the operating system / BIOS / device firmware. The highest-risk action.

ItemValue
Actual behaviorOS package manager + vendor firmware update script
DurationSeveral minutes to several tens of minutes
PLC collectionFully stopped during this time
External accessDisconnected during some stages
Caution label🔴 Caution (red badge)
When to useSecurity patches / vendor recommendations / KOPENS notices
Some stages cannot be undone

Firmware upgrades may include stages that cannot be rolled back. Always perform them outside operating hours, and take a backup (item 4) first.


7. ☁ S/W Upgrade (fa-cloud-download)

Downloads the gateway SW (this web UI) from the download server and upgrades it.

ItemValue
Download serverproduct.kopens.io (or an internal mirror)
Actual behaviorupgrade.sh — download new build → SHA256 verification → swap → restart
Duration1 to 3 minutes (download speed + restart)
PLC collectionSuspended for less than 1 minute
Top-right badgeRed Upgrade available! = a new version exists on the download server / Gray Not connected = failed to reach the download server / no badge = up to date
When to useNew build deployment / applying bug fixes / adding new drivers
Download server not connected

If AVA_VERSION is empty (= the download server is unreachable), clicking the button opens a Cannot connect to the download server modal and aborts — no new download is attempted, so it is safe.


8. Summary: Which button for which situation?

Symptom / IntentRecommendation
Only changed app.properties🔁 Application Restart
After OS patching / firmware application🎬 System Reboot
Disk red at 90%🗑 Temporary File Cleanup
Environment migration / just before upgradeBackup
Requesting problem analysis📄 Log Download
New build deploymentS/W Upgrade
OS security patch🔌 O/S and Firmware Upgrade