Favicon Not Showing After Autoclean

After auto-cleaning and rebuilding the app last night, custom favicons on my sites have stopped showing.

apt-get autoclean
apt-get autoremove
./launcher cleanup
./launcher rebuild app

I tried rake avatars:refresh, but it was taking a long time so I aborted it.

./launcher enter app
rake avatars:refresh                                                   

I don’t have CDN set up. I have had s3 endpoint set up on Digital Ocean. Sorry I am not familiar with the Discourse’s software infrastructure. I am not sure what caused it since i routinely clean up and rebuilt the app using the above commands. Appreciate your help!

you need to change the order on the last 2 cmd

  1. ./launcher rebuild app
  2. ./launcher cleanup

I would also suggest you do these first and then the above.

apt-get update
apt-get upgrade

Also make sure you using https
Admin > Settings > Security > force https

1 Like

Got it. Thanks! I just tried the following but the favicons are still not coming back. What can I do since I have already messed up the order?

apt-get update
apt-get upgrade
./launcher rebuild app

go to your site’s sidekiq


and trigger Jobs::CreateMissingAvatars

See if that helps.

1 Like

Images are still missing. I tried clearing image cache and reloading – still not luck. Anything else I can try?

It seems like the favicons are slowly coming back! Is it because sidekiq takes time to process? Thank you very much for the help!