-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Icons not showing/transparent #11127
Comments
I couldn't find a solution to this problem. When I call the URL directly, the icon is displayed correctly. All tips are helpful. |
Same issue. |
UPD: fix it with sudo -u www-data php occ maintenance:repair |
I have already tried several occ commands. The maintenance:repair has restored some of the icons, but not the big ones in the navbar.
I'm thinking about migrating to one of the provided docker images.
|
guigui6 try to open profiler in browser. |
1 similar comment
guigui6 try to open profiler in browser. |
Hello and to all a very good new year! Just to tell you that I think I have a bug of the same type I detailed here: Hoping that we find solutions to our problems, |
Hey guys, try to change the color in the Theming app. Just change the color to a random value and change it back once its saved. The icon's will be regenerated in the right color and the issue is fixed. Profit! |
Change the color in the Theming app did not work for me. |
This same issue happened to me yesterday after a 14.0.4 ->15.0.7 upgrade. After breaking some extra things I had to delete the content of $DATADIR/data/appdata_$instanceid/css/systemtags, and now icons are back. Don't ask me why HTH |
tested, not working for me :-/ |
Even worse, |
After all, the fact that a new installation had the same problem with "missing Icons" showed that the reason is outside of the VM and Nextcloud Software.
I don't know, which aspect made the change, but |
That fixed the problem for me. |
Yes, the usual steps are:
Anyone still having the issue? Or shall we close? |
@hottwister Thanks that worked for me! Installed a Nextcloud 15.0.7 Docker container behind a NGINX reverse proxy (https). Initially the Icons for sharing and the contacts menue were missing. After changing the color in theme options everything looks fine now :D |
Hi there! I ve just installed nextcloud 16.0.1 on a fresh host (OVH mutualized, php 7.3), when accessed and configured the first time using http://, everything around theming and accessibility/dark colors works. Once accessed thru https://, most top-toolbar or action icons are missing, accessibility/dark is useless, theming doesn't apply at login screen and no way to fix it following the workarounds explained above. |
I had some leftover code from an owncloud install that i was using, I had to add svg to this snippet in my site code:
|
Hello! As this is a configuration issue I will close the issue. |
Can confirm, changing theme colours temporarily worked for me. |
same here |
my transparent icon problem solves this: the Content-Security-Policy in the web server configuration was the reason. Header set Content-Security-Policy "default-src 'self';frame-ancestors 'self';style-src 'self' 'unsafe-inline';script-src 'self' 'unsafe-inline' 'unsafe-eval';img-src 'self' data:;font-src 'self' data:" worked for me. |
I've had the same issue. New Nextcloud server behind Traefik reverse proxy in Docker container. I also had CSP headers enabled.
This works for me as well, but I really don't want to configure CSP this way, particularly:
|
Pretty entitled comment. Can you offer a solution? |
@gymnae Debugging the issue leads to the fact, that the passwords app is using fontawesome, which seems not or not anymore to be part of Nextcloud. However trying to inject the CSS via CDN link didn't help in a short test. |
The problem still exists with Nextcloud 20.0.8. I had an installation with deactivated Theming app. After one of the latest upgrades the icons where again invisible. Activating the Theming app made the icons visible again. |
Almost same here, on 20.0.8, but I had the theming app activated when the error occurred. Deactivating the theming app makes icons visible again. (I tried before the occ repair, cleaning cache, looking for errors in web console... with no success) |
Hello. Same issue here for Nextcloud 19 and 20.0.9. Icons missing and theme image not displayed with or without theme application enabled. |
If you're on OVH, as I am, be sure to set PHP as PHPCGI |
YES ! Thank you very much @mrjive ! Some seconds before reading your post, I have just done the work. What a coincidence ! I am discovering that php-fpm (I think that PHP means PHP-fpm for OVH) from OVH is not compatible with Nextcloud. Several month of searching are ending ;). |
I suppose that this issue have a relation with the server cache (OPcache for shared OVH hosting). |
Same issue. Fixed it on Fedora 33 / Nextcloud 19.0.8 with :
|
Thank you for taking the time to report a bug! 👍 As this seems to be a setup issue I would like to ask you to raise your question in the forums: https://help.nextcloud.com |
@szaimen A simple change of theme color allowed the missing icons to reappear, without any other intervention on the configuration. Now the icons are there for all users. How to better identify this bug to correct it? |
Same here. Changing colors restored the icons. Version 22. |
Hello, Just to share my experience with those who are at OVH. My conclusion: the problem comes from the configuration of their servers located in Gravelines. It worked well with those in Paris but they disappeared. I don't know about the others. If that hasn't changed, setting phpcgi fixes the display problem, but makes synchronization with third-party applications unusable. The only solution I found in France, which corresponds to my need for a shared server and my ethics: it is to migrate my hosting to Ouvaton (consumer cooperative 🤝), and there everything works very well! And in addition with a responsive customer service, available and human. Thank you to all and courage for your installations 😘 |
I'm currently investigating a potential concurrency issue with the IconsCacher. For that, I'd like to know how many of you in this ticket are still have permanently disappeared icons for all users For those who do, please apply this patch: https://cloud.nextcloud.com/s/r8Eb2rxTTFB4KHA/download This is not related to those where a page refresh, OPCache or CSP rules would solve the issue. |
I forgot to say that the patch is only logging information. |
Yes for me, I still have permanently disappeared icons for all users. (NC 20.0.13) only with php-fpm and all works fine with php-cgi. |
For me the problem was that the assets where being loaded via HTTP, while the server is on HTTPS. The solution was to add |
This will drastically improve with NC25 so stay tuned! |
Closing then |
For me the icons were not loaded because svg could not be displayed/loaded by nginx. Add this include line to the nginx.conf
And the /etc/nginx/mime.types looks like:
|
Hey guys, i started running my nextcloud instance in an docker env and have problems with the app icons. is there something i have to look out for. When inspecting the icons there seems to be valid svg "code" and also represent the correct icon. so no clue why they are not displayed.
### Server configuration
Operating system: Debian Stretch
Web server: Nginx
Database: Mariadb
PHP version: 7.2
Nextcloud version: 13.0.6
Updated from an older Nextcloud/ownCloud or fresh install: updated from fresh 13.0.5
Where did you install Nextcloud from: from official tar.gz
Nextcloud configuration:
Config report
{ "system": { "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_proxies": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "cloud.tluettig.de" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "overwrite.cli.url": "https:\/\/cloud.tluettig.de", "dbtype": "mysql", "version": "13.0.6.1", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "loglevel": 1, "maintenance": false, "mail_smtpmode": "smtp", "mail_smtpauthtype": "PLAIN", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtpauth": 1, "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "587", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "mail_smtpsecure": "tls", "memcache.local": "\\OC\\Memcache\\APCu", "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 6379 }, "theme": "" }, "apps": { "activity": { "enabled": "yes", "installed_version": "2.6.1", "types": "filesystem" }, "backgroundjob": { "lastjob": "85" }, "bruteforcesettings": { "enabled": "yes", "installed_version": "1.1.0", "types": "" }, "comments": { "enabled": "yes", "installed_version": "1.3.0", "types": "logging" }, "core": { "backgroundjobs_mode": "ajax", "installed.bundles": "[\"CoreBundle\"]", "installedat": "1536210841.1062", "lastcron": "1536523315", "lastupdateResult": "[]", "lastupdatedat": "1536523310", "moveavatarsdone": "yes", "oc.integritycheck.checker": "[]", "previewsCleanedUp": "1", "public_files": "files_sharing\/public.php", "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php", "scss.variables": "7d1f0e63a875a25a55fa54b870fe1eca", "umgmt_send_email": "true", "umgmt_show_email": "true", "updater.secret.created": "1536240749", "vendor": "nextcloud" }, "dav": { "enabled": "yes", "installed_version": "1.4.7", "types": "filesystem" }, "federatedfilesharing": { "enabled": "yes", "installed_version": "1.3.1", "types": "" }, "federation": { "enabled": "yes", "installed_version": "1.3.0", "types": "authentication" }, "files": { "cronjob_scan_files": "500", "default_quota": "5 GB", "enabled": "yes", "installed_version": "1.8.0", "types": "filesystem" }, "files_sharing": { "enabled": "yes", "installed_version": "1.5.0", "types": "filesystem" }, "files_texteditor": { "enabled": "yes", "installed_version": "2.5.1", "types": "" }, "files_trashbin": { "enabled": "yes", "installed_version": "1.3.0", "types": "filesystem" }, "files_versions": { "enabled": "yes", "installed_version": "1.6.0", "types": "filesystem" }, "files_videoplayer": { "enabled": "yes", "installed_version": "1.2.0", "types": "" }, "firstrunwizard": { "enabled": "yes", "installed_version": "2.2.1", "types": "logging" }, "gallery": { "enabled": "yes", "installed_version": "18.0.0", "types": "" }, "logreader": { "enabled": "yes", "installed_version": "2.0.0", "levels": "01111", "ocsid": "170871", "types": "" }, "lookup_server_connector": { "enabled": "yes", "installed_version": "1.1.0", "types": "authentication" }, "nextcloud_announcements": { "enabled": "yes", "installed_version": "1.2.0", "pub_date": "Sat, 10 Dec 2016 00:00:00 +0100", "types": "logging" }, "notes": { "enabled": "yes", "installed_version": "2.4.1", "types": "" }, "notifications": { "enabled": "yes", "installed_version": "2.1.2", "types": "logging" }, "oauth2": { "enabled": "yes", "installed_version": "1.1.1", "types": "authentication" }, "password_policy": { "enabled": "yes", "enforceHaveIBeenPwned": "1", "enforceNumericCharacters": "1", "enforceUpperLowerCase": "1", "installed_version": "1.3.0", "types": "" }, "provisioning_api": { "enabled": "yes", "installed_version": "1.3.0", "types": "prevent_group_restriction" }, "serverinfo": { "enabled": "yes", "installed_version": "1.3.0", "types": "" }, "sharebymail": { "enabled": "yes", "installed_version": "1.3.0", "types": "filesystem" }, "survey_client": { "enabled": "yes", "installed_version": "1.1.0", "last_report": "{\"id\":\"ocumt7a1w0w6\",\"items\":[[\"server\",\"version\",\"13.0.6.1\"],[\"server\",\"code\",\"other\"],[\"server\",\"enable_avatars\",\"yes\"],[\"server\",\"enable_previews\",\"yes\"],[\"server\",\"memcache.local\",\"\\\\OC\\\\Memcache\\\\APCu\"],[\"server\",\"memcache.distributed\",\"none\"],[\"server\",\"asset-pipeline.enabled\",\"no\"],[\"server\",\"filelocking.enabled\",\"yes\"],[\"server\",\"memcache.locking\",\"\\\\OC\\\\Memcache\\\\Redis\"],[\"server\",\"debug\",\"no\"],[\"server\",\"cron\",\"ajax\"],[\"php\",\"version\",\"7.2.9\"],[\"php\",\"memory_limit\",536870912],[\"php\",\"max_execution_time\",3600],[\"php\",\"upload_max_filesize\",535822336],[\"database\",\"type\",\"mysql\"],[\"database\",\"version\",\"10.3.9\"],[\"database\",\"size\",9109504],[\"apps\",\"activity\",\"2.6.1\"],[\"apps\",\"bruteforcesettings\",\"1.1.0\"],[\"apps\",\"comments\",\"1.3.0\"],[\"apps\",\"dav\",\"1.4.7\"],[\"apps\",\"federatedfilesharing\",\"1.3.1\"],[\"apps\",\"federation\",\"1.3.0\"],[\"apps\",\"files\",\"1.8.0\"],[\"apps\",\"files_sharing\",\"1.5.0\"],[\"apps\",\"files_texteditor\",\"2.5.1\"],[\"apps\",\"files_trashbin\",\"1.3.0\"],[\"apps\",\"files_versions\",\"1.6.0\"],[\"apps\",\"files_videoplayer\",\"1.2.0\"],[\"apps\",\"firstrunwizard\",\"2.2.1\"],[\"apps\",\"gallery\",\"18.0.0\"],[\"apps\",\"logreader\",\"2.0.0\"],[\"apps\",\"lookup_server_connector\",\"1.1.0\"],[\"apps\",\"nextcloud_announcements\",\"1.2.0\"],[\"apps\",\"notes\",\"2.4.1\"],[\"apps\",\"notifications\",\"2.1.2\"],[\"apps\",\"oauth2\",\"1.1.1\"],[\"apps\",\"password_policy\",\"1.3.0\"],[\"apps\",\"provisioning_api\",\"1.3.0\"],[\"apps\",\"serverinfo\",\"1.3.0\"],[\"apps\",\"sharebymail\",\"1.3.0\"],[\"apps\",\"survey_client\",\"1.1.0\"],[\"apps\",\"systemtags\",\"1.3.0\"],[\"apps\",\"theming\",\"1.4.5\"],[\"apps\",\"twofactor_backupcodes\",\"1.2.3\"],[\"apps\",\"unsplash\",\"1.1.1\"],[\"apps\",\"updatenotification\",\"1.3.0\"],[\"apps\",\"workflowengine\",\"1.3.0\"],[\"stats\",\"num_files\",7806],[\"stats\",\"num_users\",3],[\"stats\",\"num_storages\",4],[\"stats\",\"num_storages_local\",1],[\"stats\",\"num_storages_home\",3],[\"stats\",\"num_storages_other\",0],[\"stats\",\"num_comments\",0],[\"stats\",\"num_comment_markers\",0],[\"stats\",\"num_systemtags\",0],[\"stats\",\"num_systemtags_mappings\",0],[\"files_sharing\",\"num_shares\",0],[\"files_sharing\",\"num_shares_user\",0],[\"files_sharing\",\"num_shares_groups\",0],[\"files_sharing\",\"num_shares_link\",0],[\"files_sharing\",\"num_shares_link_no_password\",0],[\"files_sharing\",\"num_fed_shares_sent\",0],[\"files_sharing\",\"num_fed_shares_received\",0],[\"encryption\",\"enabled\",\"no\"],[\"encryption\",\"default_module\",\"no\"]]}", "last_sent": "1536522539", "types": "" }, "systemtags": { "enabled": "yes", "installed_version": "1.3.0", "types": "logging" }, "theming": { "cachebuster": "6", "color": "#BCC9C2", "enabled": "yes", "installed_version": "1.4.5", "logoMime": "image\/svg+xml", "types": "logging" }, "twofactor_backupcodes": { "enabled": "yes", "installed_version": "1.2.3", "types": "" }, "unsplash": { "enabled": "yes", "installed_version": "1.1.1", "types": "" }, "updatenotification": { "enabled": "yes", "installed_version": "1.3.0", "types": "", "update_check_errors": "0" }, "workflowengine": { "enabled": "yes", "installed_version": "1.3.0", "types": "filesystem" } } }Are you using encryption: no
Client configuration
**Browser:**Firefox,Safari,Chrome
**Operating system:**MacOS
The text was updated successfully, but these errors were encountered: