maps
maps copied to clipboard
[Bug]: unable to clear photos cache
⚠️ This issue respects the following points: ⚠️
- [X] This is a bug, not a question or a configuration/webserver/proxy issue.
- [X] This issue is not already reported on Github (I've searched it).
- [X] Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- [X] Maps app is up to date. See Maintenance and Release Schedule for supported versions.
- [X] I agree to follow Nextcloud's Code of Conduct.
Bug description
Error "Failed to clear photos cache" message.
Steps to reproduce
- 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
@DuneJeeper this mostly happens when the cache was already empty. I agree that the message is misleading.
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