misskey-dev / misskey

🌎 An interplanetary microblogging platform 🚀
https://misskey-hub.net/
GNU Affero General Public License v3.0
9.78k stars 1.31k forks source link

2024.5.0 is not deleting cached remote files #14166

Open JohnnyEn opened 1 month ago

JohnnyEn commented 1 month ago

💡 Summary

Clear cache button executes job, but dies after 7s and won't delete anything.

🥰 Expected Behavior

Clear cache is removing properly remote files

🤬 Actual Behavior

Clear cache button fizzles after 7s

📝 Steps to Reproduce

  1. Go to Control panel
  2. Select Files button
  3. Click trash icon in the top right corner

misskey-log.txt

💻 Frontend Environment

* Model and OS of the device(s): Ubuntu Server 22.04.3 LTS
* Browser: Vivaldi 6.8.3381.46
* Server URL: chatsubo.cbrpnk.dev
* Misskey: 2024.5.0

🛰 Backend Environment (for server admin)

* Installation Method or Hosting Service: Docker selfhosted
* Misskey: 2024.5.0
* Node: 18.9.0
* PostgreSQL: 15-alpine
* Redis: 7-alpine
* OS and Architecture: Ubuntu 22.04.3 LTS

Do you want to address this bug yourself?

JohnnyEn commented 1 month ago

Update: The cache seems to be cleared, but silently with few hour delay. Strange

Ftonans commented 1 month ago

I'm having the same issue. I'm having 100GB of remote files and I don't know how to clear them, the button doesn't work.

# cd /opt/misskey && du -sh files
109G    files