Skip to main content

Status Bar Quick Actions

The gateway web UI has 7 quick action icons in the status bar at the bottom left of every page. They provide one-click access to operations that operators frequently use, such as reloading the OS/application, or performing disk cleanup, backup, and upgrades.

Container Mode (2026.05+) Internal Behavior

In container mode, the Restart / Reboot / Temp Cleanup / Upgrade / Firmware buttons operate via signal files. 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 then executes the corresponding action (Pattern B security — ensuring the container does not gain host root privileges). The execution results are recorded in the /etc/kopens/upgrade.status / host-action.status JSON, which the UI then displays via polling.

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

Each icon, when pressed, will first display a confirmation modal, and the action is only executed once you press [Confirm] again (to prevent accidental operation). Some actions also display a red 〈Caution〉 badge to indicate danger.


1. 🎬 System Reboot (fa-projector)​

This reboots the OS itself. It is the strongest action — do not use it under normal circumstances.

ItemValue
Callbootbox.confirm → Backend reboot endpoint
Actual BehaviorOperating system reboot
Duration3 to 5 minutes (BIOS POST + OS boot + Tomcat boot + Cassandra)
PLC CollectionCompletely stopped during this period
External ConnectionsDisconnected until the gateway IP stops responding, then returns after boot
Use CasesAfter OS patching / kernel module loading / after 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 paused — automatically recovers after boot
Use CasesApplying app.properties changes / OPC-UA server rebinding / clearing accumulated memory

Restart race: In some environments, ServerStartListener fails silently, causing monitor=null. In this case, calling ./restart.sh one more time (or clicking this button again) will result in a successful boot.


3. 🗑 Temporary File Cleanup (fa-trash)​

Frees up disk space by deleting logs, caches, and upload remnants.

ItemValue
Actual Behaviorclean.sh (limited cleanup of gateway working directory prefixes that are using high disk space)
DurationA few seconds to tens of seconds
PLC CollectionNo impact (file cleanup only)
Use CasesWhen the main screen Disk card exceeds 90% / right before an upgrade / after prolonged operation
Related Card

When the Home Screen Disk card is red, this button is the first line of defense.


4. ⏱ Backup (fa-stopwatch)​

Backs up the gateway configuration and operational data to a backup file.

ItemValue
Actual Behaviorbackup.sh
Output/opt/kopens/.../backup/<timestamp>.tar.gz
Scopeapp.properties, certain Cassandra keyspaces, Node-RED userDir, OPC/tag definitions
How to RestoreBackup / Restore — separate procedure
Use CasesRight before an upgrade / environment migration / scheduled backups

5. 📄 Download Logs (fa-file-alt)​

Immediately downloads a bundle of diagnostic logs.

ItemValue
Calllocation.href = "/log-download" (GET request, zip streamed from server)
OutputA zip of recent gateway logs and diagnostic info
Use CasesAttaching to a problem report to a system administrator / requesting root cause analysis

For searching within log content, the System Log Viewer (/system/log/list) is more convenient — you can filter by time period, level, or search text.


6. 🔌 OS 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 tens of minutes
PLC CollectionCompletely stopped during this period
External ConnectionsInterrupted at certain stages
Caution Label🔴 Caution (red badge)
Use CasesSecurity patches / vendor recommendations / KOPENS notifications
There are irreversible steps involved

Firmware upgrades can include steps that cannot be rolled back. Always proceed during scheduled maintenance windows, and ensure you have made a backup (Step 4) first.


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

Upgrades the gateway SW (the web UI) from the download server.

ItemValue
Download Serverproduct.kopens.io (or an in-house mirror)
Actual Behaviorupgrade.sh — download new build → SHA256 verification → swap → restart
Duration1 to 3 minutes (download speed + restart)
PLC CollectionPaused for up to 1 minute
Top-right BadgeRed Upgrade available! = a new version exists on the download server / Gray Unreachable = cannot reach the download server / No badge = up-to-date
Use CasesNew build deployment / bug fix implementation / adding new drivers
Download Server Unreachable

If AVA_VERSION is empty (meaning the download server is unreachable), clicking the button displays a Cannot connect to download server modal and exits — it will not attempt a new download, making it safe.


8. Summary: Which Button to Use, When?​

Symptom / IntentRecommendation
Only changed app.properties🔁 Application Restart
After OS patch / firmware update🎬 System Reboot
Disk at 90% (red)🗑 Temporary File Cleanup
Before environment migration / upgrade⏱ Backup
Requesting problem analysis📄 Download Logs
New build deployment☁ S/W Upgrade
OS security patching🔌 OS and Firmware Upgrade