Troubleshooting
Jump to your symptom:
| Symptom | Section |
|---|---|
| “Scanner unavailable” or old definitions | ClamAV is missing |
| Window is blank or gray | Blank window |
| Daemon backend fails | Daemon unavailable |
| Flatpak cannot reach a folder | Flatpak access |
| Preferences cannot save host settings | Helper not trusted |
| No tray icon or file-manager action | Integration |
| Scheduled scan never ran | Schedules |
ClamAV is missing or definitions are old
Section titled “ClamAV is missing or definitions are old”ClamUI uses host ClamAV for every package format, including Flatpak.
clamscan --versionfreshclam --versionsudo freshclamIf a command is missing, follow install ClamAV on the host. The Components view shows what ClamUI found. More: ClamAV FAQ.
If a manual update stops for inactivity, check freshclam output and network access. Preferences → Behavior → Database Updates sets the allowed time without output (default 10 minutes). Active updates have no total time limit.
The desktop does not start
Section titled “The desktop does not start”The native app needs WebKitGTK 4.1 and GTK 3.
dpkg -l libwebkit2gtk-4.1-0 libgtk-3-0For a source build, install the development prerequisites.
Blank window or Wayland Error 71
Section titled “Blank window or Wayland Error 71”A blank main window with a working tray has several possible causes (#315). WebKitGTK’s DMA-BUF path can also fail on some Wayland systems with Error 71 (#282). Since v0.6.1, the Flatpak forces shared-memory buffers to avoid both.
-
Quit ClamUI fully with Quit in the tray menu. Closing the window may leave it running.
-
Try shared-memory transport for one launch. This also works on the 0.6.0 Flatpak:
Terminal window flatpak run --env=WEBKIT_DISABLE_DMABUF_RENDERER=0 \--env=WEBKIT_DMABUF_RENDERER_FORCE_SHM=1 io.github.linx_systems.ClamUI -
Look for old renderer overrides and remove only those:
Terminal window flatpak override --user --show io.github.linx_systems.ClamUIflatpak override --system --show io.github.linx_systems.ClamUI -
Still blank? Trace startup (next section) and report it with the terminal output, ClamUI and Flatpak versions, GPU and driver, and session type (Wayland or X11).
Opt out of the shared-memory workaround
Hardware DMA-BUF may be used again and Error 71 can return:
flatpak run --env=WEBKIT_DISABLE_DMABUF_RENDERER=0 \ --env=WEBKIT_DMABUF_RENDERER_FORCE_SHM=0 io.github.linx_systems.ClamUIBackground: WebKit bug 324730.
Find out where startup stops
Section titled “Find out where startup stops”If the interface fails to render, ClamUI shows the error in the window. Include that text in reports. To print every native startup stage:
flatpak run --env=CLAMUI_STARTUP_TRACE=1 io.github.linx_systems.ClamUIAfter ten seconds without an interface, the terminal and debug log (~/.var/app/io.github.linx_systems.ClamUI/data/clamui/debug/clamui.log for Flatpak) get a startup-watchdog line:
| Message starts with | Where it is stuck |
|---|---|
native startup did not finish; the last milestone was ... |
Native setup. The milestone names the last completed stage. |
the UI thread did not run a queued task |
The GTK thread is blocked, usually by a D-Bus, portal, or accessibility call. |
... but the web page never reported that it mounted |
The web view: bundle not loaded, JavaScript error, or IPC not answering. A frontend-startup line carries the error if the page reported one. |
Inspect the web view with WebKit’s remote inspector
Start ClamUI with the local inspector, then run the read-only diagnostic script from a checkout in a second terminal. It talks only to 127.0.0.1.
flatpak run --env=WEBKIT_INSPECTOR_HTTP_SERVER=127.0.0.1:9222 io.github.linx_systems.ClamUIpython3 scripts/inspect-blank-window.pyScript source: scripts/inspect-blank-window.py.
Daemon backend unavailable
Section titled “Daemon backend unavailable”The Daemon backend needs a running clamd. Pick Auto or Clamscan in Preferences → Scanner if you do not need it.
sudo systemctl enable --now clamav-daemonsystemctl status clamav-daemonclamdscan --ping 1sudo systemctl enable --now clamd@scansystemctl status clamd@scanclamdscan --config-file=/etc/clamd.d/scan.conf --ping 1If it runs but is not reachable, check LocalSocket, LocalSocketMode, and LocalSocketGroup in /etc/clamd.d/scan.conf.
sudo systemctl enable --now clamav-daemonclamdscan --ping 1sudo systemctl enable --now clamdclamdscan --ping 1Socket paths and the daemon_socket_path override: scan backends.
Flatpak cannot scan a location or update ClamAV
Section titled “Flatpak cannot scan a location or update ClamAV”Grant only the directory you need:
flatpak override --user --filesystem=/path/to/directory io.github.linx_systems.ClamUIDatabase updates run host freshclam with its usual permissions.
Privileged helper is not trusted
Section titled “Privileged helper is not trusted”Preferences → Database, Scanner, On-Access need the helper at /usr/bin/clamui-apply-preferences. ClamUI blocks a helper unless it is a regular file, owned by root, not a symlink, owner-executable, and not group- or world-writable. It never runs an untrusted helper.
ls -l /usr/bin/clamui-apply-preferencesls -l /usr/share/polkit-1/actions/io.github.linx_systems.ClamUI.policyMissing helper: on Debian-family and Fedora hosts ClamUI offers Install Helper. It installs only the signed package published for your exact version and architecture. See privileged helper.
Outdated, untrusted, or no published package: repair it manually.
Reinstall the application and helper .deb pair for the same version and architecture, after verifying them. See Debian packages.
Run the Fedora RPM verification first, then continue in the same shell so $PINNED_KEY and $RPM are set:
sudo rpm --import "$PINNED_KEY"sudo dnf --setopt=localpkg_gpgcheck=1 install -y "./$RPM"After the same verification, layer the package and reboot:
sudo rpm-ostree install "./$RPM"systemctl rebootNever use the source installer against immutable /usr.
On a mutable host, from a master checkout with the Rust prerequisites:
cargo build --locked -p clamui-core --binssudo ./target/debug/clamui-cli install-privileged-helperUse the in-app offer on Debian-family or Fedora hosts, or install the helper on the host through one of the other tabs. Never use sudo flatpak.
After a repair, click Save in the Preferences header to retry the pending changes. Settings saved before the failure stay saved. If it still fails, open Technical details in the error dialog and include the text, package format, version, and architecture in an issue.
Recover a failed save
Section titled “Recover a failed save”If a save fails after ClamUI prepared clamd.conf or freshclam.conf, click See Configuration in the failure report. It shows each target path and the exact content from that attempt, read-only.
-
Click Copy Path and Copy Configuration.
-
Inspect the existing target first: the helper may have written some files before it failed.
-
Edit with an administrative editor:
Terminal window sudoedit /etc/clamav/clamd.conf
File-manager action or tray icon is absent
Section titled “File-manager action or tray icon is absent”- File manager: rerun Preferences → Behavior → Configure Integration, then restart the file manager or sign out and in.
- Tray: needs a StatusNotifierItem host. GNOME needs AppIndicator Support. ClamUI stays fully usable without a tray. See tray.
Scans are slow, fail, or find a false positive
Section titled “Scans are slow, fail, or find a false positive”- Use Auto with a running daemon for frequent scans;
clamscanreloads definitions every time. - Make sure your account can read the targets. Do not unplug media during a scan.
- Daemon scans pass very long paths and names with line breaks to
clamdone by one instead of through the file list, so they are still scanned. - Keep archive limits finite. Malicious archives can exhaust resources.
- False positive? See the FAQ.
Quarantine, schedules, and logs
Section titled “Quarantine, schedules, and logs”- A restore refusal means the destination exists or the hash check failed. Never bypass the hash check.
- Clear All in Logs is permanent. Export first.
- Scheduled scans need a user systemd timer or cron, and a running machine at that time.
clamui-scheduled-scan --dry-runsystemctl --user list-timers clamui-scheduled-scan.timercrontab -l | grep clamuiStill stuck?
Section titled “Still stuck?”Collect the log entry, clamscan --version, package format, desktop environment, and the exact error, then search or open an issue. Report vulnerabilities through the security policy, not a public issue.