jDownloads Support Forum

jDownloads for Joomla 4.x and 5.x => jDownloads 4.x - (This is the current version!) => Bugs! => Topic started by: hamna9248 on 22.11.2026 19:26:36

Title: file_date and sha1_value not updating after replacing files on the server — any batch refresh method
Post by: hamna9248 on 22.11.2026 19:26:36
Hi everyone,

I ran into the same issue described in the thread 'No update of file_date or sha1_value when files are modified'. After replacing a batch of files on the server over FTP, the check tool updates the md5 value but file_date and sha1_value stay at their old values, so the download pages still show the old date and my versioning/update checks fail.

Going through every download one by one to trigger a refresh is not practical when there are a few hundred entries. Has anyone found a reliable way to force jDownloads to recalculate file_date and sha1 for existing downloads in bulk, or know which table/column needs updating so the download metadata stays consistent?

Any tips would be really appreciated.

Thanks!
Title: Re: file_date and sha1_value not updating after replacing files on the server — any batch refresh method
Post by: Arno on 23.11.2026 17:03:12
Hi,
we have corrected the scanner so that, when it detects a file change, it recalculates SHA1 and updates the file date. I'll send you a test version via PM. Please test it first with a few files whose contents you change again.

For entries already affected, one possible solution would be restoring a database backup from before the earlier scan updated their MD5 values, while keeping the replacement files. With the fix installed and file-change checking enabled, the scanner should then detect those changes again and refresh the metadata.

Do you have a suitable backup, and would you be able to try this on a copy of your site? Please back up your current site first: restoring an older database can remove newer entries or other changes.

Please also note that the file date will be set to the time of the new scan, not the original FTP replacement time.

Would this approach be possible for you?