CLI command to rebuild attachment thumbnails

Kirby

Well-known member
The rebuild commands are xf-rebuild:kirby-xfmg-media-thumbnails, xf-rebuild:kirby-xfmg-album-thumbnails and
xf-rebuild:kirby-attachment-thumbnails.

The XFMG commands will only work if XFMG is installed though (otherwise they will log an error).
 

Attachments

Last edited:
If you're running the command to rebuild thumbnails and you get disconnected. Is there a command you can run to start rebuilding from the point where you left off?
 
The rebuild commands are xf-rebuild:kirby-xfmg-media-thumbnails, xf-rebuild:kirby-xfmg-album-thumbnails and
xf-rebuild:kirby-attachment-thumbnails.

The XFMG commands will only work if XFMG is installed though (otherwise they will log an error).
Hey @Kirby - will this still work in XF 2.2.17?

I tried running php /home/mysite/public_html/cmd.php xf-rebuild:kirby-attachment-thumbnails and got "command failed with return code 255" message.
 
Last edited:
Back
Top Bottom