Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Mastodon
  3. Mastodon not displaying avatars correctly

Mastodon not displaying avatars correctly

Scheduled Pinned Locked Moved Solved Mastodon
10 Posts 3 Posters 1.0k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • archosA Offline
    archosA Offline
    archos
    wrote on last edited by
    #1

    Hi, I have a problem. Some avatars are not displaying correctly for me. I tried restarting the cache on the server, but some avatars from other instances are still not displaying properly. Does anyone know how to fix this issue? Thank you.

    1 Reply Last reply
    1
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      Are those avatars from specific instances or is there any pattern of the failing ones?

      archosA 1 Reply Last reply
      0
      • nebulonN nebulon

        Are those avatars from specific instances or is there any pattern of the failing ones?

        archosA Offline
        archosA Offline
        archos
        wrote on last edited by archos
        #3

        @nebulon They are from different instances and not all avatars.
        1000006208.png

        1 Reply Last reply
        0
        • nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #4

          Do you see any errors in the app logs or browser console? Are those broken in all clients? Without as much info on the errors as possible it is hard to analyze.

          archosA 1 Reply Last reply
          0
          • nebulonN nebulon

            Do you see any errors in the app logs or browser console? Are those broken in all clients? Without as much info on the errors as possible it is hard to analyze.

            archosA Offline
            archosA Offline
            archos
            wrote on last edited by
            #5

            @nebulon I apologize for the lack of information. I have tried multiple applications and the problem also exists in the web browser. I didn't find anything in the logs. I will check the browser console later tonight as I only have my mobile phone with me for now.

            1 Reply Last reply
            0
            • archosA Offline
              archosA Offline
              archos
              wrote on last edited by
              #6

              I opened the page with the problematic avatar in the browser console and got a 404 error, indicating that the file was not found. I also tried running the cleanup script in the terminal, but the issue persists.

              GET
              	https://mamutovo.cz/system/cache/accounts/avatars/111/320/128/918/881/486/original/128b7f947ef2df64.jpg
              Stav
              404
              VerzeHTTP/2
              Přeneseno664 B (velikost 894 B)
              Referrer Policysame-origin
              Priorita požadavkuHighest
              Překlad DNSSystémové
              
              	
              content-encoding
              	gzip
              content-type
              	text/html
              date
              	Wed, 24 Jul 2024 17:43:11 GMT
              etag
              	W/"6686c53c-37e"
              server
              	nginx
              vary
              	Accept-Encoding
              X-Firefox-Spdy
              	h2
              
              1 Reply Last reply
              0
              • J Offline
                J Offline
                joseph
                Staff
                wrote on last edited by
                #7

                @archos It's a 404 here as well. Looks like the other server is not serving avatars properly

                archosA 1 Reply Last reply
                1
                • J joseph

                  @archos It's a 404 here as well. Looks like the other server is not serving avatars properly

                  archosA Offline
                  archosA Offline
                  archos
                  wrote on last edited by
                  #8

                  @joseph It is from different instances, not just one. That was just an example. The problem also occurs with avatars from mastodon.social.

                  1 Reply Last reply
                  0
                  • nebulonN Offline
                    nebulonN Offline
                    nebulon
                    Staff
                    wrote on last edited by
                    #9

                    maybe the mastodon API might have changed and some instances use different versions? Either way possibly useful if you report this upstream. It does not seem to be Cloudron related at this point.

                    1 Reply Last reply
                    1
                    • archosA Offline
                      archosA Offline
                      archos
                      wrote on last edited by archos
                      #10

                      I tried the command

                      bin/tootctl accounts refresh --all --verbose
                      

                      and after running this command, the avatars started reappearing on our instance. It seems to have resolved the issue. Thank you.

                      1 Reply Last reply
                      1
                      • nebulonN nebulon marked this topic as a question on
                      • nebulonN nebulon has marked this topic as solved on
                      • archosA archos referenced this topic on
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Bookmarks
                      • Search