Open DiegoPino opened 4 years ago
Not sure I think it's fun, but I know that sometimes folks will need to use webform for larger files so I'm glad you're thinking about it. Very pleased re: the new nginx container as I have found fighting w/ certbot to be even less fun than uploading large files via webform. Exciting to see that 1.0 branch on archipelago-deployment!
Once i share the the new docker-compose file here @dmer all will be revealed. Stay tuned. the Nginx container is actually simply, just SUPER strict but simple. I'm still getting today JS errors when uploading 1 Gbytes of files but its no longer PHP nor the web server (which is ok). But hope that with the new extra modules we can have finally reliable multi part uploads. My real hopes are really put on the voucher thing really.
Also š https://github.com/esmero/archipelago-docker-images/pull/20 Natural language processing is already up in docker hub!
Update: Gigabyte files uploaded via Webform worked out. Just running and šØāš¾ and š¤¦ making sure The Docker Daemon was not running out of space. Gosh. Because NGINX is buffering but still uses the containers very own /tmp which funny was using tiny slim boot drive. Will work now on the full progress and multipart solution.
Some updates. This is not really hard.
Finally: Also, we should allow every Upload to come with a list/field/option of providing a known Checksum + algorithm + Base (base64?) so we can compare once upload is done. Why? Many times, I have been there, you actually have a bad file on disk before starting the whole thing. And also, via chunked/multipart you NEED to know what you are uploading so you can validate once all is done. Right?
Adios
Everybody loves uploading 1Gbyte+ via a webform
Ok, not everybody but I just found myself doing it and it was not fun.
Changes we need to make this happen (this is a mix of documentation but also testing new things)