Corrupted TIF downloads

137 views
Skip to first unread message

Jim Kirkpatrick

unread,
Oct 17, 2023, 1:57:19 PM10/17/23
to ResourceSpace
I'm trying to think through the possibilities WRT some of the TIF files in our collection that download corrupted. Most come down intact but perhaps 5% do not.

Our system:
ResourceSpace v10.2 is on an Ubuntu 20.04 server. The file store is on a WindowsServer linked via NFS.

An example file downloads full size, typically 150-300 Mb. Photoshop will complain that it can't parse the file format/ Preview (Mac) will often open it but entirely black.

For the same file I can use SFTP to go to the source file in the file store (via NFS) and grab the file. Via SFTP the file downloads intact and opens correctly.

So, it appears that something untoward is happening during download via the browser. I tried 4 different browsers just to eliminate that as a problem. Same result in all.

I'd appreciate any thoughts of other things I can look at.

-Jim

Graeme Elliott

unread,
Oct 17, 2023, 2:56:47 PM10/17/23
to resour...@googlegroups.com
Are you writing data during downloads? 
If so, turn that off and try with a file that previously failed.

--
ResourceSpace: Open Source Digital Asset Management
http://www.resourcespace.com
---
You received this message because you are subscribed to the Google Groups "ResourceSpace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to resourcespac...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/resourcespace/cc8a76f6-290e-440f-9af0-1713d5722767n%40googlegroups.com.

Graeme Elliott

unread,
Oct 17, 2023, 2:58:15 PM10/17/23
to resour...@googlegroups.com
Are you writing data to the downloaded file that is corrupted?
If so, turn that off, and try again.

On Tue, Oct 17, 2023 at 1:57 PM Jim Kirkpatrick <jim.kir...@gmail.com> wrote:
--

Jim Kirkpatrick

unread,
Oct 17, 2023, 6:00:26 PM10/17/23
to ResourceSpace
Yes, I was. I commented out:

#$exiftool_write = true;
#$force_exiftool_write_metadata = true;
#$exiftool_write_option = true;
#$exiftool_remove_existing = true;

.. and testing seems to suggest that this was the culprit. Many thanks!

Graeme Elliott

unread,
Oct 17, 2023, 7:29:18 PM10/17/23
to resour...@googlegroups.com
OK, next I would use exiftool to extract all the Metadata from a file that downloaded corrupted.  Is the exiftool sometimes writing bad stuff?  Is there something corrupt in the DB fields exiftool is writing?  Etc, etc, until the truth is revealed...

Reply all
Reply to author
Forward
0 new messages