Avatars not showing / html has double "/bin/bin/"

This might be an easy one, but I can’t figure it out. Our xwiki-instance is working just fine, but on some places, the avatars are not showing up. For example in the notification center:
image

I did a little digging and found out that, the URL seems to be wrong:

https://xwiki.x.yz/bin/bin/skin/resources/icons/xwiki/noavatar.png?cache-version=1658739690000
https://xwiki.x.yz/bin/bin/download/XWiki/ls/ldapPhoto.jpeg?width=40&height=40&keepAspectRatio=true&rev=1.1

Pay extra attention to the double “bin” (.yz/**bin/bin/**skin/…). Manually removing one “bin/” brings me to the correct avatar.

I checked the skin-files, “getUserAvatarURL” is calling “$xwiki.getDocument()” and “$xwiki.getSkinFile()”. However I see nothing odd happening there. Is this a configuration error or is it just a bug?

Some facts about our installation:

  • Users are authenticating through LDAP
  • ldapPhoto seems to be syncing well (UserList hast photos)
  • Skin is “Flamingo”
  • We have no multiple wikis, just one main-wiki

Thank you!

PS: Avatars in general are working, check out my avatar within the profile icon (top-right)

This is generally a sign that you did not properly set the property xwiki.webapppath in xwiki.cfg.

That was it, thank you very much! The “correct” solution was to set an empty path:

image