Skip to content
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

[Bug]: unable to clear photos cache #1123

Open
5 of 9 tasks
DuneJeeper opened this issue Sep 16, 2023 · 2 comments
Open
5 of 9 tasks

[Bug]: unable to clear photos cache #1123

DuneJeeper opened this issue Sep 16, 2023 · 2 comments

Comments

@DuneJeeper
Copy link

⚠️ This issue respects the following points: ⚠️

Bug description

Error "Failed to clear photos cache" message.

Steps to reproduce

  1. Click on "clear photo cache"

Expected behavior

Photo cache clears

Installation method

Official Docker image

Operating system

None

PHP engine version

None

Web server

None

Database engine version

MariaDB

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

None

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

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

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

Configuration report

"system": {
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "192.168.86.23:444",
            "nextcloud.XXXXXX.com",
            "XXXXXX.duckdns.org"
        ],
        "default_phone_region": "US",
        "dbtype": "mysql",
        "version": "27.0.2.1",
        "overwrite.cli.url": "https:\/\/192.168.86.23:444",
        "overwriteprotocol": "https",
        "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\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "filelocking.enabled": "true",
        "mail_smtpmode": "smtp",
        "mail_smtpauth": 1,
        "mail_sendmailmode": "smtp",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "memories.exiftool": "\/config\/www\/nextcloud\/apps\/memories\/exiftool-bin\/exiftool-amd64-musl",
        "memories.vod.path": "\/config\/www\/nextcloud\/apps\/memories\/exiftool-bin\/go-vod-amd64",
        "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
        "memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
        "loglevel": 2,
        "maintenance": false

List of activated Apps

maps
memories
calendar
deck
photos

Nextcloud Signing status

No response

Nextcloud Logs

No response

Browser Console

No response

Additional info

fail

@DuneJeeper DuneJeeper changed the title [Bug]: [Bug]: unable to clear photos cache Sep 16, 2023
@tacruc
Copy link
Collaborator

tacruc commented Sep 26, 2023

@DuneJeeper this mostly happens when the cache was already empty. I agree that the message is misleading.

@wargreen
Copy link

wargreen commented Mar 4, 2024

Same here, with this in the firefox console :

code: "ERR_BAD_REQUEST"
config: Object { timeout: 0, xsrfCookieName: "XSRF-TOKEN", xsrfHeaderName: "X-XSRF-TOKEN", … }
message: "Request failed with status code 400"
name: "AxiosError"
request: XMLHttpRequest { readyState: 4, timeout: 0, withCredentials: false, … }
mozAnon: false
mozSystem: false
onabort: function onabort()​​
onerror: function onerror()
onload: null
onloadend: function h()
onloadstart: null
onprogress: null
ontimeout: function ontimeout()
readyState: 4
response: '"Failed to clear Cache"'
responseText: '"Failed to clear Cache"'
responseType: ""
responseURL: "https://cloud.*****.org/apps/maps/photos/clearCache"
responseXML: null
status: 400
statusText: ""
timeout: 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants