ArtifactCommit_Leave state script not running when using standalone operation only

I’m trying to run state scripts to cleanup data partition after a new artifact has been committed in standalone mode.

While I do see the output of state scripts called ArtifactInstall_Leave*, I do not get any output of state scripts called ArtifactCommit_Leave* when using mender commit command after installing the new update.

Are there any additional steps required to make these state scripts run?

As far as I can tell, the script should be run:
https://docs.mender.io/artifact-creation/state-scripts#standalone-mode

Could you paste the log, please?

I guess I fooled myself! When checking the artifact installation process I tested with the wrong artifact (which does not contain the mentioned scripts)

1 Like

Thank you for the resolution still @sensslen, and best of luck with Mender :slight_smile:

1 Like