Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avatars Letter misaligned after update to 14.0.4 #12716

Closed
riccager opened this issue Nov 28, 2018 · 13 comments
Closed

Avatars Letter misaligned after update to 14.0.4 #12716

riccager opened this issue Nov 28, 2018 · 13 comments
Labels
1. to develop Accepted and waiting to be taken care of bug design Design, UI, UX, etc. needs info

Comments

@riccager
Copy link

Steps to reproduce

  1. Running nextcloud 13.0.8 server , debian 8.7
  2. Upgrade to Nextcloud 14.0.4 with command line or web based

Expected behaviour

After upgrade , Avatars Letter misaligned on user menu
image

before on nextcloud 13.0.8 work ok

image

Server configuration

Operating system:
debian 8.1
Web server:
Apache2
Database:
MariaDB
PHP version:
PHP 7.0.16-1

@nextcloud-bot nextcloud-bot added bug design Design, UI, UX, etc. labels Nov 28, 2018
@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #4679 (Issues after update to 12.0), #12586 (14.0.4), #10429 (All contacts disappears after 4.0.0 Beta 1 update), #10095 (Update 13.0.4 Failed), and #11807 (News app stopped working after update to 14.0.3).

@ChristophWurst
Copy link
Member

What avatars are those?

@ChristophWurst ChristophWurst added needs info 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Nov 29, 2018
@riccager
Copy link
Author

What avatars are those?

Hi ,
They are those that are created automatically when a user is created.
I understand that they use the function Avatar.php to generate themselves.

If I see the image from the development mode in the browser it looks like this.
captura de pantalla 2018-11-29 a la s 19 10 55

Thks.

@riccager
Copy link
Author

This is the issue.

videonextcloud

@ChristophWurst
Copy link
Member

Ah, so the users page 😉

@skjnldsv fix it ;)

@riccager thank you for your info!

@ChristophWurst ChristophWurst added 1. to develop Accepted and waiting to be taken care of and removed 0. Needs triage Pending check for reproducibility or if it fits our roadmap needs info labels Nov 29, 2018
@skjnldsv
Copy link
Member

@riccager do you have imagemagick enabled on your server?
Do you also have gd? Can you post your php extension list and versions please? :)

@riccager
Copy link
Author

riccager commented Nov 30, 2018

@riccager do you have imagemagick enabled on your server?
Do you also have gd? Can you post your php extension list and versions please? :)

Hi skjnldsv,
I think that imagemagick is on , i don't know about gd . But attach my php info and maybe you can help me to know if a loss something on my install .
phpInfo.pdf

@ChristophWurst
Copy link
Member

bildschirmfoto von 2018-11-30 10-35-38

@skjnldsv
Copy link
Member

Thanks @riccager
Can you post the image that outputs where you access https://yourdomain.xxx/avatar/admin/500

@riccager
Copy link
Author

Thanks @riccager
Can you post the image that outputs where you access https://yourdomain.xxx/avatar/admin/500

here

image

@skjnldsv
Copy link
Member

skjnldsv commented Dec 1, 2018

Wow, that is really surprising! :O

@mgoppold
Copy link

mgoppold commented Feb 27, 2020

I fixed this now with (while new user avatars are created correctly):

  1. find the avatars location:
select path from filecache where name like 'avatar%' limit 10;
  1. With the result you can remove the old auto generated avatas:
find $NCSERVERROOT/appdata_oc6f59l0az9t/avatar  -name generated | while read L; do pushd $(dirname $L); rm -f *.png; popd; done
  1. If you have redis for nc, flush the db with (necessary):
redis-cli flushdb
  1. next, let occ rescan the app-data files with:
sudo -u wwwrun php $NCSERVERROOT/occ files:scan-app-data

and finaly logoff, reload with CTRL+F5 and logon

@Dennis1993
Copy link
Contributor

Thank you for your help!

I think we can close this issue now 🙂👌🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of bug design Design, UI, UX, etc. needs info
Projects
None yet
Development

No branches or pull requests

6 participants