VTUL / vtechworks

DSpace at Virginia Tech
http://vtechworks.lib.vt.edu
Other
6 stars 8 forks source link

Thumbnails not appearing on dev or pprd #690

Closed alawvt closed 4 years ago

alawvt commented 4 years ago

We recently recreated all new thumbnails on prod, checked them and they all look good. The same thumbnails are not appearing on dev or pprd. For instance, on dev, ETD, https://vtechworks-dev.cloud.lib.vt.edu/handle/10919/94050, should have 5 thumbnails. When one clicks on the first thumbnail, https://vtechworks-dev.cloud.lib.vt.edu/bitstream/handle/10919/94050/Dai_H_D_2019.pdf?sequence=1&isAllowed=y, there is the error message,

An error has occurred

Go to VTechWorks home

java.io.FileNotFoundException: /dspace/assetstore/43/84/42/43844255450696324315817186678234578523 (No such file or directory)

Cocoon stacktrace [show]

Java stacktrace [show]

Java full stacktrace [show] 

@soumikgh or @keithgee, do we need a database refresh to get the new thumbnails? (If so, we would have to coordinate that with an Elements refresh.)

alawvt commented 4 years ago

This seems more like the thumbnail information is in the database, but the files aren’t in the assetstore. Which is confusing because I thought that dev was just the prod assetstore mounted read-only.

Ah --- if there’s an option to replace the old thumbnails, yes, it could be that the old ones were marked as deleted in the prod database, and that’s not reflected in the dev/preprod databases. The dev/preprod ones would still be pointing to the old filenames, which would have been deleted by the assetstore cleanup process that now runs each night. - @keithgee

alawvt commented 4 years ago

@soumikgh, thank you for fixing this by adding the correct symlink to the new location for assetstore.