User icon does not display in the web browser on Android
Steps to reproduce
- Log in to Nextcloud using the web browser on Android
- Auto-generated user icon is not displayed (or is missing background)
Expected behaviour
The auto-generated user icon should be the same as the web interface on other devices.
Actual behaviour
Using Chrome on Android and logging-in to the web interface, the user icon is not displayed.
Server configuration
Operating system: Arch
Web server: Apache 2.4.33
Database: MariaDB 10.2.14
PHP version: 7.2.5
Nextcloud version: (see Nextcloud admin page) 14.0.1
Updated from an older Nextcloud/ownCloud or fresh install: Updated from older Nextcloud
Where did you install Nextcloud from: Source, Nextcloud website
Client configuration
Browser: Chrome 69
Operating system: Android 5.0.2

In a web browser on a PC it's displayed as follows:

GitMate.io thinks possibly related issues are https://github.com/nextcloud/server/issues/5600 (Disabled users not shown in the Web-UI), https://github.com/nextcloud/server/issues/2967 (User cannot log in the web interface), https://github.com/nextcloud/server/issues/6890 (Gallery in demo doesn't display), https://github.com/nextcloud/server/issues/10711 (Upload Problem on Web Browsers), and https://github.com/nextcloud/server/issues/10317 (Contacts menu doesn't list users with users that set their display name to "local only").
I tried that and it has no effect.
Thanks. Can you do a long press and open the image to a new tab? Or is it just text? Can you compare the image URL and see if they both matches?
It looks like the image has been generated with the exact same background as the theme (it's not text). The image in the browser on the PC however looks like its been generated with the auto-generated background. Also, the URLs are not the same:
Phone URL:
https://<host>/index.php/avatar/<user>/128?v=0
PC URL:
https://<host>/index.php/avatar/<user>/32?v=0
Does they look the same once opened in a new tab?
No, they look like in the screenshots.
Perfect! This is because one of the avatar have been generated before the colour change. You need to do the following steps:
- delete the avatar directory in the data/appdata_xxxxx folder
- run an
occ files:scan-app-data
Thanks :wink:
What do you mean by colour change?
Does the Nextcloud behaviour not need to change?
@terrytibbles we adapted our colours to a better and easier to see set :)
So new users won't be affected?
@terrytibbles should not. Did my fixes worked?