Tricks and tips Administering DrawMGT

How to regenerate all thumbnails

Assumed all thumbnails should be regenerated:

cd pub/thumbnails
rm *
mysql -uroot -psqladmin {database}
mysql> update Revisions set sourceThumbnail = null, publishThumbnail = null, file3Thumbnail = null, file4Thumbnail = null, file5Thumbnail = null, file6Thumbnail = null;
mysql> update Events set stateId = 3, attemptNo = null, runDatetime = null where objectTypeId = 2 and eventTypeId = 24;

After the database changes the Event Daemon will regenerated the thumbnail files.

Copyright 2008-2014, SoftXS GmbH, Switzerland