openclaw - 💡(How to fix) Fix Control UI avatar broken after upgrade from v4.14 to v4.21 [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#70166Fetched 2026-04-23 07:28:24
View on GitHub
Comments
0
Participants
1
Timeline
2
Reactions
0
Author
Participants
Timeline (top)
mentioned ×1subscribed ×1
RAW_BUFFERClick to expand / collapse

Bug Description

My agent avatar stopped displaying in the Control UI after upgrading OpenClaw from v4.14 to v4.21.

  • Before (v4.14): Avatar displayed correctly in Control UI
  • After (v4.21): Avatar no longer shows (appears blank/default)

Setup

IDENTITY.md (workspace root ):

File location:

  • Valid PNG:
  • Confirmed readable: file header starts with (PNG magic)

What I've Checked

  1. ✅ file format unchanged from when it worked
  2. ✅ exists in workspace root and is a valid image
  3. ✅ Same path worked in v4.14
  4. ❓ According to docs, path format should be — but this was NOT required in v4.14

Docs Reference

From :

For avatars, use a workspace-relative path like .

However, the current file works at root and worked before the upgrade, suggesting a regression in how the Control UI resolves avatar paths.

Possible Causes (from code inspection)

Per :

  • Avatar route: requires auth token
  • CSP allows same-origin relative paths like
  • Remote URLs are stripped

Potential regression areas:

  1. Path resolution changed — v4.21 may now require subdirectory while v4.14 resolved root-level files
  2. Avatar route auth — token forwarding behavior may have changed
  3. CSP enforcement — may have become stricter about root-level paths

Environment

  • OS: Windows 11 + WSL2 (Ubuntu)
  • Browser: Chrome via MCP
  • Gateway auth: token-based (shared-secret)
  • Access: Control UI via

Request

Please clarify:

  1. Is (root level) still supported, or must it be ?
  2. If the subdirectory is now required, this is a breaking change that should be documented.
  3. If this is a bug, the root-level path resolution should be restored.

Reporter: @QQSHI13 Regression: v4.14 → v4.21

extent analysis

TL;DR

The issue is likely due to a change in path resolution for avatars in OpenClaw v4.21, requiring a subdirectory instead of supporting root-level files.

Guidance

  • Verify if using a subdirectory (e.g., ./avatars/) instead of a root-level path resolves the issue.
  • Check the documentation for any updates on avatar path requirements in v4.21.
  • Test if the avatar displays correctly when using a relative path with a subdirectory (e.g., ./avatars/image.png) in the Control UI.
  • Review the code changes between v4.14 and v4.21 to confirm if the path resolution logic has changed.

Example

No code snippet is provided as the issue is related to configuration and path resolution.

Notes

The issue may be a regression in OpenClaw v4.21, and the reporter is requesting clarification on the supported path format. The solution may involve updating the documentation or restoring the previous path resolution behavior.

Recommendation

Apply workaround: Use a subdirectory (e.g., ./avatars/) for the avatar path until the issue is officially addressed or documented. This is because the documentation suggests using a workspace-relative path like ./path/to/image.png, and the reporter has confirmed that the same path worked in v4.14.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix Control UI avatar broken after upgrade from v4.14 to v4.21 [1 participants]