Repository navigation
Apps icon are missing #4784
Description
Activity
My config file:
{
"system": {
"instanceid": "REMOVED SENSITIVE VALUE",
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"REMOVED SENSITIVE VALUE",
],
"datadirectory": "/var/www/html/nextcloud/data",
"overwrite.cli.url": "REMOVED SENSITIVE VALUE",
"dbtype": "mysql",
"version": "11.0.3.2",
"dbname": "nextcloud",
"dbhost": "localhost",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"logtimezone": "UTC",
"installed": true,
"loglevel": 2,
"updater.release.channel": "stable",
"maintenance": false,
"theme": "",
"mail_smtpmode": "smtp",
"mail_smtpsecure": "ssl",
"mail_from_address": "REMOVED SENSITIVE VALUE",
"mail_domain": "REMOVED SENSITIVE VALUE",
"mail_smtpauth": 1,
"mail_smtphost": "REMOVED SENSITIVE VALUE",
"mail_smtpport": "465",
"mail_smtpname": "REMOVED SENSITIVE VALUE",
"mail_smtppassword": "REMOVED SENSITIVE VALUE",
"mail_smtpauthtype": "LOGIN",
"memcache.local": "\OC\Memcache\Redis",
"redis": {
"host": "localhost",
"port": 6379
},
"memcache.locking": "\OC\Memcache\Redis"
}
}Posting my config.php makes me realize that puting in place Redis deleted the APCu config line (
'memcache.local' => '\OC\Memcache\APCu'). Configuring this line again, and commenting out the lines regarding Redis gave me the apps icon back. I'll remain like that for now,I may have misunderstood the documentation, regarding this sentence: "You may use both a local and a distributed cache. Recommended caches are APCu and Redis." As APCu is described above as a "local cache" and Redis "for distributed caching", I thought I shoud use both. Apparently not. Or was there a misconfiguration of Redis?
cc @juliushaertl @skjnldsv @rullzer This looks like cached paths for those icons.
- addeddesignDesign, UI, UX, etc.Design, UI, UX, etc.
on May 11, 2017 @MorrisJobke Yes, looks like a caching issue. But I'm not too familiar with the caching code. Works fine here on a setup with Redis as local memcache.
I may have misunderstood the documentation, regarding this sentence: "You may use both a local and a distributed cache. Recommended caches are APCu and Redis." As APCu is described above as a "local cache" and Redis "for distributed caching", I thought I shoud use both. Apparently not. Or was there a misconfiguration of Redis?
You could do it like that. I personally only use redis (both as local and distributed cache configured). I reminded that there was an issue in 11 and I thought we fixed in in 11.0.3, but you say, that you already run this. 😕
But you can't reproduce this anymore, right? I guess then it's super hard to fix it, because it works here in multiple instances with Redis as cache without any problem.
Indeed, I couldn't reproduce it: I tried to put Redis back in config.php, and icons are there.
By the way (i'm a newbie), in my config.php, should I follw the documentation (with this line: "memcache.local": "\OC\Memcache\Redis") or should I replace "\OC" by my specific nextcloud path ("\var\www\html\nextcloud")?
"memcache.local": "\OC\Memcache\Redis") or should I replace "\OC" by my specific nextcloud path ("\var\www\html\nextcloud")?
No ... this is a PHP namespace. It needs to be \OC.
Let's close this here then and see if this can be reproduced in the future
Steps to reproduce
Expected behaviour
Icons are present
Actual behaviour
No icons are present.
The icons were present before I put in place memory caching (following instructions here: https://docs.nextcloud.com/server/11/admin_manual/configuration_server/caching_configuration.html): APCu and Redis
May be related to #2632
Browser Inspection on Contact Icon
a href="/index.php/apps/contacts/" tabindex="3">svg width="32" height="32" viewBox="0 0 32 32">
defs>
feColorMatrix in="SourceGraphic" type="matrix" values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0">
/filter>
/defs>
image x="0" y="0" width="32" height="32" preserveAspectRatio="xMinYMin meet" filter="url(#invert)" xlink:href="/nextcloud/apps/contacts/img/app.svg?v=c04fa91f8b347202dd2bbff6f0d6844f" class="app-icon">
/image>
/svg>
div class="icon-loading-dark" style="display:none;">
span>
Contacts
Client configuration
Browser: Firefox on WIndows 10
Server configuration
Ubuntu 16.04.2 LTS
Server version: Apache/2.4.18 (Ubuntu)
PHP 7.0.15-0ubuntu0.16.04.4 (cli) ( NTS )
mysql Ver 14.14 Distrib 5.7.18, for Linux (x86_64) using EditLine wrapper
Nextcloud version 11.0.3.2
**Updated from an older Nextcloud/ownCloud : yes
Signing status:
Signing status
Enabled:
Disabled: