This forum has moved, please join us on github discussions. We will keep these old posts available for reference. Thank you!

Uploadfs 1.9.1: imagemin plugins no longer break Red Hat / CentOS at install/run time

The 1.9.0 release of uploadfs on Friday is important news for Apostrophe because it adds Azure storage support. It also added the option of additional file compression via imagemin.

However, the imagemin packages turn out not to install cleanly on CentOS 7, and indications are there are issues on other Red Hat OS flavors. Various system packages must be installed as root prior to use.

Since this is not a practical requirement just to use Apostrophe, we have made these packages optional npm dependencies, and implemented tolerance of their absence or failure. In the worst case, you will just get files compressed to the extent uploadfs could already compress them without imagemin.

This fix has been released as uploadfs version 1.9.1 and will be installed by the normal dependencies of the apostrophe package.