Skip to content

[Bug]: Nextcloud 25 UI wallpaper problematic cache lifetime [FIXED] and instance theming vs default wallpapers colors conflict [REMAINING BUGS] #34578

@Jerome-Herbinet

Description

@Jerome-Herbinet

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
  • Nextcloud Server is running on 64bit capable CPU, PHP and OS.
  • I agree to follow Nextcloud's Code of Conduct.

Bug description

1rst problem :
When I change the wallpaper, and go elsewhere in the interface, the old wallpaper is still displayed and I have to clear my browser's cache to see it. There is certainly a history of cache whose purpose is to optimize performance, but it harms the functional aspect of changing the image.

2nd problem (explanation updated 20 minutes after opening the issue) :
I noticed that when you change the wallpaper (from the set of "default" wallpapers provided by Nextcloud), the interface changes color (and i assume here and consider that this color is a "user" color and not a color applied to the whole instance). Nice idea ! But there is a problem. If afterwards, we go to change manually the color of the whole instance (in the theming options, where we can also change the logo, etc.), since we go back to change the wallpaper by choosing it again among the images proposed by default, the color of the interface doesn't change anymore and stays the same (the color chosen just before, manually). Either there is a bug, between "user side color" and "interface color applied to all users", or I didn't understand well these new features.
Following the explanation of this problem, to a personal reflection, should we not have a custom color selector "for the user". I have the impression that there is an inconsistency of features in the color of the interface and those that are visibly related to the proposed default wallpapers.

Steps to reproduce

1rst problem :

  1. Change wallpaper by selecting one among the default wallpapers and go to another place (app) of Nextcloud, for exemple, "Files"
  2. See that the previously selected wallpaper remains
  3. Empty your browser cache
  4. Finally see the last selected wallpaper

2nd problem :

  1. Select a wallpaper among the default wallpapers ... then another, then another and note that de UI color changes each time with it
  2. Go to the appearance options and manually choose a color
  3. Go back to the background selection UI and select another wallpaper among the default wallpaper collection (then another, then another ...) and note that the color is still the one that you manually selected before. You will notice that this color remains, even after having cleared your browser cache.

Expected behavior

1rst problem :
The new wallpaper should continue to appear directly after setting it

2nd problem :
The default colors that are linked to the default wallpapers should come back if we set again one of the default wallpapers collection.

Installation method

Community Manual installation with Archive

Operating system

RHEL/CentOS

PHP engine version

PHP 8.0

Web server

Nginx

Database engine version

MySQL

Is this bug present after an update or on a fresh install?

Fresh Nextcloud Server install

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

{
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "nc25.test.mydomain.fr"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "mysql",
    "version": "25.0.0.15",
    "overwrite.cli.url": "https:\/\/nc25.test.mydomain.fr",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "mysql.utf8mb4": true,
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "log_type": "file",
    "logfile": "\/var\/log\/nextcloud\/nc25.test.mydomain.fr\/nextcloud.log",
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "password": "***REMOVED SENSITIVE VALUE***",
        "port": 6379,
        "dbindex": 8,
        "timeout": 0
    },
    "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
    "skeletondirectory": "",
    "logtimezone": "Europe\/Paris",
    "updater.release.channel": "stable",
    "mail_smtpmode": "smtp",
    "mail_smtpsecure": "ssl",
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpauthtype": "PLAIN",
    "default_language": "fr",
    "default_phone_region": "FR",
    "defaultapp": "files",
    "trashbin_retention_obligation": "20,40",
    "versions_retention_obligation": "auto,40",
    "check_for_working_wellknown_setup": false,
    "quota_include_external_storage": false,
    "cron_log": true,
    "has_internet_connection": true,
    "updatechecker": true,
    "appstoreenabled": true,
    "filelocking.enabled": true,
    "session_keepalive": true,
    "knowledgebaseenabled": true,
    "allow_user_to_change_display_name": true,
    "enable_previews": true,
    "enable_avatars": true,
    "auth.bruteforce.protection.enabled": true,
    "loglevel": 1,
    "log_rotate_size": 104857600,
    "mail_smtpauth": 1,
    "mail_smtpport": 465,
    "session_lifetime": 86400,
    "remember_login_cookie_lifetime": 1296000,
    "preview_max_filesize_image": 50,
    "activity_expire_days": 120,
    "memcache.local": "\\OC\\Memcache\\APCu",
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "memcache.distributed": "\\OC\\Memcache\\Redis",
    "theme": "",
    "maintenance": false,
    "app_install_overwrite": [
        "richdocuments",
        "onlyoffice",
        "deck",
        "spreed",
        "impersonate",
        "workspace",
        "groupfolders"
    ]
}

List of activated Apps

Enabled:
 - activity: 2.17.0
 - calendar: 3.5.0
 - circles: 25.0.0-alpha.0
 - cloud_federation_api: 1.8.0
 - comments: 1.15.0
 - contacts: 5.0.0
 - contactsinteraction: 1.6.0
 - dashboard: 7.5.0
 - dav: 1.24.0
 - federatedfilesharing: 1.15.0
 - federation: 1.15.0
 - files: 1.20.0
 - files_lock: 24.0.1
 - files_pdfviewer: 2.6.0
 - files_rightclick: 1.4.0
 - files_sharing: 1.17.0
 - files_trashbin: 1.15.0
 - files_versions: 1.18.0
 - firstrunwizard: 2.14.0
 - groupfolders: 9.1.1
 - impersonate: 1.11.0
 - integration_github: 1.0.9
 - integration_mattermost: 1.0.0
 - integration_openproject: 2.0.4
 - logreader: 2.10.0
 - lookup_server_connector: 1.13.0
 - mail: 2.0.0
 - maps: 0.2.1
 - nextcloud_announcements: 1.14.0
 - notifications: 2.13.1
 - oauth2: 1.13.0
 - password_policy: 1.15.0
 - photos: 1.7.1
 - privacy: 1.9.0
 - provisioning_api: 1.15.0
 - recognize: 3.0.1
 - recommendations: 1.4.0
 - related_resources: 1.0.0
 - richdocuments: 6.2.1
 - serverinfo: 1.15.0
 - settings: 1.7.0
 - sharebymail: 1.15.0
 - support: 1.8.0
 - survey_client: 1.13.0
 - systemtags: 1.15.0
 - text: 3.6.0
 - theming: 2.0.0
 - twofactor_backupcodes: 1.14.0
 - twofactor_reminder: 0.0.1
 - updatenotification: 1.15.0
 - user_ldap: 1.15.0
 - user_status: 1.5.0
 - viewer: 1.9.0
 - weather_status: 1.5.0
 - welcome: 1.0.2
 - workflowengine: 2.7.0
 - workspace: 1.2.1
Disabled:
 - admin_audit
 - bruteforcesettings
 - encryption
 - files_external
 - fileslibreofficeedit: 1.1.0
 - spreed
 - suspicious_login
 - twofactor_totp

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

Can be provided if necessary

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmap25-feedbackbug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions