Automatic Smush doesn't work on Staging

Automatic Smush doesn’t work on my staging site, when I try to upload an image the autosmush don’t work and I am obliged to do it manually.