Update Accelerator revisited

Help on building IPFire & Feature Requests
jlgtx
Posts: 31
Joined: August 19th, 2016, 4:23 am

Re: Update Accelerator revisited

Post by jlgtx » June 7th, 2019, 8:09 pm

So...trying to come up with a command-line equivalent of the cache maintenance panel. It seems to me that this should work, but it doesn't:

curl -k -X POST -u <admin_username>:<admin_pw> -H 'Content-Type: multipart/form-data' -F 'ACTION=Purge' -F 'REMOVE_OBSOLETE=on' -F 'NOT_ACCESSED_LAST=month3' -F 'REMOVE_NOSOURCE=on' -F 'REMOVE_OUTDATED=on' https://localhost:444/cgi-bin/updatexlrator.cgi

The HTML returned by this command is just the Update Accelerator config page, and the maintenance form submission doesn't get processed. I've tried this with and without the -H component.

Anybody see what I'm missing?

Post Reply