Durante la configurazione dei caricamenti S3, ho notato un errore durante l’esecuzione del task posts:rebake_uncooked_posts:
root@i-0c6fae6cd9e30ce73-app:/var/www/discourse# rake posts:rebake_uncooked_posts
Rebaking uncooked posts on default
oxipng worker: could not get version of oxipng at /usr/local/bin/oxipng; please provide proper binary or disable this worker (--no-oxipng argument or `:oxipng => false` through options)
2 / 9 ( 22.2%)oxipng worker: could not get version of oxipng at /usr/local/bin/oxipng; please provide proper binary or disable this worker (--no-oxipng argument or `:oxipng => false` through options)
9 / 9 (100.0%)
9 posts done!
Il binario è presente, ma è per l’architettura sbagliata:
root@i-0c6fae6cd9e30ce73-app:/var/www/discourse# ls -l /usr/local/bin/oxipng
-rwxr-xr-x. 1 root root 1837440 Mar 3 04:39 /usr/local/bin/oxipng
root@i-0c6fae6cd9e30ce73-app:/var/www/discourse# file /usr/local/bin/oxipng
/usr/local/bin/oxipng: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=74a0446ce5737d1d43032abb6df3d6996f14f156, stripped
Questo sta eseguendo la versione 3.1.0.beta2 (26f77f03d5).
Fatemi sapere se posso fornire ulteriori dettagli.