Skip to content

[Bug]: New uploaded photos not shown on map until photo cache is cleared #1095

@alexreinert

Description

@alexreinert

⚠️ This issue respects the following points: ⚠️

Bug description

If I upload a new photo I see shortly the toast, that on photo was added by a background job, but the new photo does not show up on the map even after 30 minutes.
If I clear the photo cache, the photo shows up on the map shortly after that.

Steps to reproduce

  1. upload photo
  2. wait 30 minutes
  3. photo not shown on map
  4. clear photo cache
  5. wait one minute
  6. photo shows up on map

Expected behavior

New uploaded photo show up on map directly (at least within the next cron run) without manuell photo cache clear.

Installation method

Web installer on a VPS or web space

Operating system

Debian/Ubuntu

PHP engine version

Other

Web server

Nginx

Database engine version

MariaDB

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

Updated to a major version (ex. 22.2.3 to 23.0.1)

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

Updated from a minor version

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

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "***REMOVED SENSITIVE VALUE***"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "27.0.0.8",
        "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "25",
        "default_phone_region": "DE",
        "maintenance": false,
        "theme": "",
        "loglevel": 2,
        "app_install_overwrite": [
            "maps"
        ],
        "updater.secret": "***REMOVED SENSITIVE VALUE***"
    }
}

List of activated Apps

Enabled:
  - cloud_federation_api: 1.10.0
  - dav: 1.27.0
  - federatedfilesharing: 1.17.0
  - files: 1.22.0
  - files_rightclick: 1.6.0
  - files_sharing: 1.19.0
  - files_trashbin: 1.17.0
  - files_versions: 1.20.0
  - lookup_server_connector: 1.15.0
  - maps: 1.1.0
  - metadata: 0.19.0
  - oauth2: 1.15.0
  - password_policy: 1.17.0
  - privacy: 1.11.0
  - provisioning_api: 1.17.0
  - settings: 1.9.0
  - theming: 2.2.0
  - theming_customcss: 1.14.0
  - twofactor_backupcodes: 1.16.0
  - unroundedcorners: 1.0.9
  - updatenotification: 1.17.0
  - viewer: 2.1.0
  - workflowengine: 2.9.0
Disabled:
  - activity: 2.19.0 (installed 2.17.0)
  - admin_audit: 1.17.0
  - bruteforcesettings: 2.7.0
  - circles: 27.0.0 (installed 25.0.0)
  - comments: 1.17.0 (installed 1.15.0)
  - contactsinteraction: 1.8.0 (installed 1.6.0)
  - dashboard: 7.7.0 (installed 7.5.0)
  - encryption: 2.15.0
  - federation: 1.17.0 (installed 1.15.0)
  - files_external: 1.19.0
  - files_pdfviewer: 2.8.0 (installed 2.6.0)
  - firstrunwizard: 2.16.0 (installed 2.14.0)
  - logreader: 2.12.0 (installed 2.10.0)
  - nextcloud_announcements: 1.16.0 (installed 1.14.0)
  - notifications: 2.15.0 (installed 2.13.1)
  - photos: 2.3.0 (installed 2.0.1)
  - recommendations: 1.6.0 (installed 1.4.0)
  - related_resources: 1.2.0 (installed 1.0.3)
  - serverinfo: 1.17.0 (installed 1.15.0)
  - sharebymail: 1.17.0 (installed 1.15.0)
  - support: 1.10.0 (installed 1.8.0)
  - survey_client: 1.15.0 (installed 1.13.0)
  - suspicious_login: 5.0.0
  - systemtags: 1.17.0 (installed 1.15.0)
  - text: 3.8.0 (installed 3.6.0)
  - twofactor_totp: 9.0.0
  - user_ldap: 1.17.0
  - user_status: 1.7.0 (installed 1.5.0)
  - weather_status: 1.7.0 (installed 1.5.0)

Nextcloud Signing status

No response

Nextcloud Logs

No response

Browser Console

No response

Additional info

Debian Bookworm, PHP 8.2, NC 27, Maps 1.1.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions