Closed jeqermigselv-cloud closed 1 month ago
Oh, it seems like it is only invocated if the user is uploading new images!
The pre-create and pre-finish hooks are only invoked if a new upload is started and finished, respectively. The logs indicate that that Uppy is only sending HEAD requests, which doesn't start or finish a new upload, but checks the state of a previous upload. That's why the hooks were not invoked.
Uppy is probably configured to not upload a file if it has already been uploaded. It's best to tweak Uppy's configuration to get the upload behavior you want.
Seems to me that this issue could be closed...
Describe the bug Despite having enabled hooks, no hooks are sent. This is confirmed both in the log of tusd, but also on the recieving server, that hasn't recieved any requests.
To Reproduce Steps to reproduce the behavior:
Setup details Please provide following details, if applicable to your situation:
-max-size, 20000000, -azure-storage=uploads, -disable-download, -behind-proxy, -hooks-http, https://[
URL], -hooks-enabled-events, pre-create,pre-finish