Uploading images results in 404 #217

Closed
opened 2026-01-19 18:29:28 +00:00 by michael · 3 comments
Owner

Originally created by @Gaz492 on GitHub.

Using the latest version of the docker image dated 23/03/2020 and if I upload an image (only tested with png) I get a Not Found error but if I upload a zip the download page works no problems. I'm using minio as the file storage and the file I upload and the meta data is being uploaded correctly.

Here is the docker logs for the upload and when I go to the download link

[transfer.sh]2020/04/02 00:45:50 Uploading file home.png.metadata to S3 Bucket


2020/04/02 00:45:51 Uploading EXfQa home.png 7337 image/png


[transfer.sh]2020/04/02 00:45:51 Uploading file home.png to S3 Bucket


[transfer.sh]2020/04/02 00:45:51 IP - - [2020-04-02T00:45:51Z] "PUT /home.png HTTP/1.0" 200  "https://upload.homearchive.xyz/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0"


[transfer.sh]2020/04/02 00:46:17 Uploading file home.png.metadata to S3 Bucket


[transfer.sh]2020/04/02 00:46:17 IP  - - [2020-04-02T00:46:17Z] "GET /EXfQa/home.png HTTP/1.0" 404  "" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0"


[transfer.sh]2020/04/02 00:46:18 IP  - - [2020-04-02T00:46:18Z] "GET /favicon.ico HTTP/1.0" 200 7686 "" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0"


[transfer.sh]2020/04/02 00:46:31 Uploading file home.png.metadata to S3 Bucket


[transfer.sh]2020/04/02 00:46:32 IP  - - [2020-04-02T00:46:32Z] "GET /EXfQa/home.png HTTP/1.0" 404  "" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0"


[transfer.sh]2020/04/02 00:46:36 Uploading file home.png.metadata to S3 Bucket


[transfer.sh]2020/04/02 00:46:36 IP  - - [2020-04-02T00:46:36Z] "GET /EXfQa/home.png HTTP/1.0" 404  "" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0"
Originally created by @Gaz492 on GitHub. Using the latest version of the docker image dated 23/03/2020 and if I upload an image (only tested with png) I get a Not Found error but if I upload a zip the download page works no problems. I'm using minio as the file storage and the file I upload and the meta data is being uploaded correctly. Here is the docker logs for the upload and when I go to the download link ``` [transfer.sh]2020/04/02 00:45:50 Uploading file home.png.metadata to S3 Bucket 2020/04/02 00:45:51 Uploading EXfQa home.png 7337 image/png [transfer.sh]2020/04/02 00:45:51 Uploading file home.png to S3 Bucket [transfer.sh]2020/04/02 00:45:51 IP - - [2020-04-02T00:45:51Z] "PUT /home.png HTTP/1.0" 200 "https://upload.homearchive.xyz/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0" [transfer.sh]2020/04/02 00:46:17 Uploading file home.png.metadata to S3 Bucket [transfer.sh]2020/04/02 00:46:17 IP - - [2020-04-02T00:46:17Z] "GET /EXfQa/home.png HTTP/1.0" 404 "" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0" [transfer.sh]2020/04/02 00:46:18 IP - - [2020-04-02T00:46:18Z] "GET /favicon.ico HTTP/1.0" 200 7686 "" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0" [transfer.sh]2020/04/02 00:46:31 Uploading file home.png.metadata to S3 Bucket [transfer.sh]2020/04/02 00:46:32 IP - - [2020-04-02T00:46:32Z] "GET /EXfQa/home.png HTTP/1.0" 404 "" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0" [transfer.sh]2020/04/02 00:46:36 Uploading file home.png.metadata to S3 Bucket [transfer.sh]2020/04/02 00:46:36 IP - - [2020-04-02T00:46:36Z] "GET /EXfQa/home.png HTTP/1.0" 404 "" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0" ```
Author
Owner

@paolafrancesca commented on GitHub:

@Gaz492 can you please specify the tag of the docker image you are using?
latest is v.1.1.6

@paolafrancesca commented on GitHub: @Gaz492 can you please specify the tag of the docker image you are using? latest is v.1.1.6
Author
Owner

@paolafrancesca commented on GitHub:

@Gaz492 I cannot reproduce with local storage (I don't have S3 to test)
what command did you exactly run?
from the logs it seems that you uploaded the file two times with the same folder prefix,this is strage, can you paste the content of /EXfQa/home.png.metadata in your S3 bucket?

@paolafrancesca commented on GitHub: @Gaz492 I cannot reproduce with local storage (I don't have S3 to test) what command did you exactly run? from the logs it seems that you uploaded the file two times with the same folder prefix,this is strage, can you paste the content of `/EXfQa/home.png.metadata` in your S3 bucket?
Author
Owner

@paolafrancesca commented on GitHub:

@Gaz492 if still an issue please feel free to open a new ticket

@paolafrancesca commented on GitHub: @Gaz492 if still an issue please feel free to open a new ticket
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dutchcoders/transfer.sh#217