root-gg / plik

Plik is a temporary file upload system (Wetransfer like) in Go.
https://plik.root.gg
Other
1.42k stars 167 forks source link

S3 file won't be deleted #481

Closed yellowsoar closed 1 year ago

yellowsoar commented 1 year ago

Briefing

The S3 file won't be deleted after removing them from Plik web UI. Is that the default or a bug?

Env

container image:"rootgg/plik:1.3.6"

Some test

camathieu commented 1 year ago

The actual file deletion is an asynchronous background process that runs every few hours. You can manually trigger it by running

. /plikd clean

Did that log any error ?

CAM

On Sun, May 21, 2023, 02:44 yellowsoar @.***> wrote:

Briefing

The S3 file won't be deleted after removing them from Plik web UI. Is that the default or a bug? Env

container image:"rootgg/plik:1.3.6" Some test

  • The token & secrete I used in the container runtime did remove the objects with the following AWS CLI. aws s3api delete-object --bucket {bucket_name} --key {object_name}

— Reply to this email directly, view it on GitHub https://github.com/root-gg/plik/issues/481, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQ5XPX7DDYH7VBBWTDGRJ3XHFQPNANCNFSM6AAAAAAYJBNCCQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

yellowsoar commented 1 year ago

The actual file deletion is an asynchronous background process that runs every few hours.

Nice, I thought it's removed immediately. I checked the S3 bucket a few hours later, the files are deleted correctly.