Did you run the
setup.sh
file? Also did you test with Verify
button?Nope. If you run the fileI just realized - the default paths are incorrect.
Instead of :
'src/addons/Truonglv/ImageOptimizer/pngquant'
it should be
'src/addons/Truonglv/ImageOptimizer/scripts/pngquant'
All of the files are in the 'scripts' folder
setup.sh
you will see the binary at that path. All files in scripts
folder is scripts to install binary.Yes. If you have VPS you must run the fileI must have missed the installation instructions, since they aren't with the file. When I installed, I simply uploaded the files that are in the 'upload' folder, and I 'installed' the add-on via XenForo Admin CP.
So you are saying I have to run something outside of the Admin CP?
setup.sh
to install binary. The binary difference for each environment so I cannot attach into the add-on.Login to your server then navigate to folder:How would I go about running the file from my server?
cd your_forum_path/src/addons/Truonglv/ImageOptimizer
./setup.sh
Hmmm... I'm getting permission denied - even though this account has full access.
chmod +x setup.sh
then try again.Please drop an PM with me and allow me to remote help you.I didn't get an error message... but the command didn't seem to do anything.
And the final update.
After 6 weeks of running (first with the default settings but quickly after created a new cronjob that ran every minute@50 images) it is done with all the images:
- 1.45 million attachments
- 247.000 avatars
- 1.47 million proxy images (according to id)
Original total size: 251GB
New size: 92GB
A saving of 63.5%
We use essential cookies to make this site work, and optional cookies to enhance your experience.