Skip to content

Avatars Letter misaligned after update to 14.0.4 #12716

Closed

Description

@riccager

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

Activity

  1. nextcloud-bot commented on Nov 28, 2018

    @nextcloud-bot
    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).

  2. ChristophWurst commented on Nov 29, 2018

    @ChristophWurst
    Member

    What avatars are those?

  3. riccager commented on Nov 29, 2018

    @riccager
    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.

  4. riccager commented on Nov 29, 2018

    @riccager
    Author

    This is the issue.

    videonextcloud

  5. ChristophWurst commented on Nov 29, 2018

    @ChristophWurst
    Member

    Ah, so the users page 😉

    @skjnldsv fix it ;)

    @riccager thank you for your info!

  6. added
    1. to developAccepted and waiting to be taken care of
    and removed
    0. Needs triagePending check for reproducibility or if it fits our roadmap
    on Nov 29, 2018
  7. skjnldsv commented on Nov 30, 2018

    @skjnldsv
    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? :)

  8. riccager commented on Nov 30, 2018

    @riccager
    Author

    @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

  9. ChristophWurst commented on Nov 30, 2018

    @ChristophWurst
    Member

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

  10. skjnldsv commented on Nov 30, 2018

    @skjnldsv
    Member

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

  11. riccager commented on Nov 30, 2018

    @riccager
    Author

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

    here

    image

  12. skjnldsv commented on Dec 1, 2018

    @skjnldsv
    Member

    Wow, that is really surprising! :O

  13. mgoppold commented on Feb 27, 2020

    @mgoppold

    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

  14. Dennis1993 commented on Feb 27, 2020

    @Dennis1993
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions