This script adds the ability to use drush to generate missing derivatives. This looks for nodes without a service file (the hint that a derivative wasn't generated) and triggers the derivative actions.
Note: that drush commands that trigger actions should also specify the site url. E.g. drush -l https://islandora.traefik.me scr /var/www/drupal/vendor/drush/drush/src/Utils/generate-image-derivatives.php
. Otherwise the messages alpaca receives includes paths like "default/node//media/add/" and it doesn't know what to do with that. I should have mentioned that before.
- Original Script: https://gist.github.com/seth-shaw-unlv/2b6dc74b4b1b988b4224b12ceac06953
- Chat discussion: https://islandora.slack.com/archives/CM6F4C4VA/p1649085505531249