Some State Scripts cannot be called

I have add many state scripts in /etc/mender/scripts/
files in /etc/mender/scripts:
ArtifactCommit_Enter_00_EchoTime
ArtifactCommit_Error_00_error
ArtifactInstall_Error_00_error
ArtifactReboot_Leave_00_EchoTime
ArtifactCommit_Enter_00_wait-for-timesync
ArtifactCommit_Leave_00_EchoTime
ArtifactInstall_Leave_00_EchoTime
ArtifactCommit_Enter_01_EchoTime
ArtifactInstall_Enter_00_EchoTime
ArtifactReboot_Enter_00_EchoTime
Download_Enter_01_askUser
Download_Leave_01_Msg
Download_Error_00_error
Download_Enter_00_EchoTime
Download_Leave_00_Backup
Download_Enter_00_EchoTime
Download_Leave_00_Backup
version

mender log after upgrade reboot:
– Logs begin at Tue 2020-06-16 02:50:00 UTC, end at Tue 2020-06-16 03:31:06 UTC. –

Jun 16 02:50:15 imx6ull14x14evk systemd[1]: Started Mender OTA update service.

Jun 16 02:50:24 imx6ull14x14evk mender[439]: time=“2020-06-16T02:50:24Z” level=info msg=“Loaded configuration file: /etc/mender/mender.conf” module=config

Jun 16 02:50:25 imx6ull14x14evk mender[439]: time=“2020-06-16T02:50:25Z” level=info msg=“Mender running on partition: /dev/mmcblk1p2” module=main

Jun 16 02:50:28 imx6ull14x14evk mender[439]: time=“2020-06-16T02:50:28Z” level=info msg=“API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIIGsDCCBZigAwIBAgIJAP5GMwhzw2v9MA0GCSqGSIb3DQEBCwUAMIG0MQswCQYD\nVQQGEwJVUzEQMA4GA1UECBMHQXJpem9uYTETMBEGA1UEBxMKU2NvdHRzZGFsZTEa\nMBgGA1UEChMRR29EYWRkeS5jb20sIEluYy4xLTArBgNVBAsTJGh0dHA6Ly9jZXJ0\ncy5nb2RhZGR5LmNvbS9yZXBvc2l0b3J5LzEzMDEGA1UEAxMqR28gRGFkZHkgU2Vj\ndXJlIENlcnRpZmljYXRlIEF1dGhvcml0eSAtIEcyMB4XDTE5MDEwMzAxMDQyMloX\nDTIxMDEw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BBSwBV3PKm5O5cyesADhISdjL4B+azCC\nAX4GCisGAQQB1nkCBAIEggFuBIIBagFoAHUApLkJkLQYWBSHuxOizGdwCjw1mAT5\nG9+443fNDsgN3BAAAAFoET1mbgAABAMARjBEAiAP6K/H4n7X9znwWcIVZjxIJk2G\nyntSiP6ja/B56OgEiwIgKGFHUzKjCdI8+HWCZIBuHLUHFPNwa4IcwUzox8kOkFIA\ndgDuS723dc5guuFCaR+r4Z5mow9+X7By2IMAxHuJeqj9ywAAAWgRPWiYAAAEAwBH\nMEUCIBaHwmf0+sZcu4aKQJdOyWOygBVFi85fww1suIYxkitgAiEAyid9v9hj6dKr\nvb3aZkAUsgTdyS9Bgw+PcL8/0ipIF5oAdwBElGUusO7Or8RAB9io/ijA2uaCvtjL\nMbU/0zOWtbaBqAAAAWgRPW1sAAAEAwBIMEYCIQDKCi+/zgxpHUt4nhbgVVxb23VB\nzyER9HGId8RvZ/nsXQIhAPCHNZf+kUxbrwm6lDdCAjsyiXRqMRhQMQDQDLRlI9yr\nMA0GCSqGSIb3DQEBCwUAA4IBAQBvYPSsSwl5aIKuOUO/2NfayScE/bYHO4OQT31p\nPQ5hNHw5Nb+tcfXBUsg4/jjXJsj5cGsZfEg3vLUfWDZDhvMcXumakREzIf6UIqbT\nNXfmSVPZcvxK+0SZGQ826YKE3U0Y0dhqCtCEs3qM41+mwqmbo2n/unxsVvWclU2r\nFanj7Qj+o5QPgzu3WvUIMMX7h8FkhqWGdP7ouGKqqRCkftEdzGWRuoa87DW/rorh\ngJ34UjSpEaN2YKvTg4vb9KlZnxS3p+b/f9TgMNYJTtl8AEbxiHzjbhxRj5Z9lFA8\nM7hcp2ZictDF6MyxP0vAEfNSKYUbm0j2ZRScdXIC0n8Wab69\n-----END CERTIFICATE-----\n” module=client

Jun 16 02:50:28 imx6ull14x14evk mender[439]: time=“2020-06-16T02:50:28Z” level=info msg=“Issuer: [GoDaddy.com, Inc.], Valid from: 2019-01-03 01:04:22 +0000 UTC, Valid to: 2021-01-03 01:04:22 +0000 UTC” module=client

Jun 16 02:50:28 imx6ull14x14evk mender[439]: time=“2020-06-16T02:50:28Z” level=info msg=“State transition: init [none] -> init [none]” module=mender

Jun 16 02:50:28 imx6ull14x14evk mender[439]: time=“2020-06-16T02:50:28Z” level=info msg=“handling loaded state: reboot” module=state

Jun 16 02:50:28 imx6ull14x14evk mender[439]: time=“2020-06-16T02:50:28Z” level=info msg=“Running Mender version 2.0.0” module=“deployment_logger”

Jun 16 02:50:28 imx6ull14x14evk mender[439]: time=“2020-06-16T02:50:28Z” level=info msg=“State transition: init [none] -> after-reboot [ArtifactReboot_Leave]” module=mender

Jun 16 02:50:28 imx6ull14x14evk mender[439]: time=“2020-06-16T02:50:28Z” level=info msg=“State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]” module=mender

Jun 16 02:50:28 imx6ull14x14evk mender[439]: time=“2020-06-16T02:50:28Z” level=info msg=“State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]” module=mender

Jun 16 02:50:28 imx6ull14x14evk mender[439]: time=“2020-06-16T02:50:28Z” level=error msg=“failed to report status: Put https://www.sg-iot.com/api/devices/v1/deployments/device/deployments/0a0f3ae8-d0c6-4892-906c-d10b6c39ac0d/status: dial tcp: lookup www.sg-iot.com on [2001:4860:4860::8888]:53: dial udp [2001:4860:4860::8888]:53: connect: network is unreachable” module=“client_status”

Jun 16 02:50:28 imx6ull14x14evk mender[439]: time=“2020-06-16T02:50:28Z” level=error msg=“error reporting update status: reporting status failed: Put https://www.sg-iot.com/api/devices/v1/deployments/device/deployments/0a0f3ae8-d0c6-4892-906c-d10b6c39ac0d/status: dial tcp: lookup www.sg-iot.com on [2001:4860:4860::8888]:53: dial udp [2001:4860:4860::8888]:53: connect: network is unreachable” module=mender

Jun 16 02:50:28 imx6ull14x14evk mender[439]: time=“2020-06-16T02:50:28Z” level=error msg=“Failed to send status report to server: transient error: reporting status failed: Put https://www.sg-iot.com/api/devices/v1/deployments/device/deployments/0a0f3ae8-d0c6-4892-906c-d10b6c39ac0d/status: dial tcp: lookup www.sg-iot.com on [2001:4860:4860::8888]:53: dial udp [2001:4860:4860::8888]:53: connect: network is unreachable” module=state

Jun 16 02:50:28 imx6ull14x14evk mender[439]: time=“2020-06-16T02:50:28Z” level=info msg=“State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]” module=mender

Jun 16 02:51:27 imx6ull14x14evk mender[439]: time=“2020-06-16T02:51:27Z” level=info msg=“State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]” module=mender

Jun 16 02:51:28 imx6ull14x14evk mender[439]: time=“2020-06-16T02:51:28Z” level=info msg=“Commiting update” module=“dual_rootfs_device”

Jun 16 02:51:29 imx6ull14x14evk mender[439]: time=“2020-06-16T02:51:29Z” level=info msg=“State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]” module=mender

Jun 16 02:51:29 imx6ull14x14evk mender[439]: time=“2020-06-16T02:51:29Z” level=info msg=“State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]” module=mender

Jun 16 02:51:29 imx6ull14x14evk mender[439]: time=“2020-06-16T02:51:29Z” level=info msg=“State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]” module=mender

Jun 16 02:51:29 imx6ull14x14evk mender[439]: time=“2020-06-16T02:51:29Z” level=info msg=“State transition: cleanup [none] -> update-status-report [none]” module=mender

Jun 16 02:51:29 imx6ull14x14evk mender[439]: time=“2020-06-16T02:51:29Z” level=info msg=“State transition: update-status-report [none] -> idle [Idle]” module=mender

Jun 16 02:51:29 imx6ull14x14evk mender[439]: time=“2020-06-16T02:51:29Z” level=info msg=“authorization data present and valid” module=mender

Jun 16 02:51:29 imx6ull14x14evk mender[439]: time=“2020-06-16T02:51:29Z” level=info msg=“State transition: idle [Idle] -> check-wait [Idle]” module=mender

Jun 16 02:51:29 imx6ull14x14evk mender[439]: time=“2020-06-16T02:51:29Z” level=info msg=“State transition: check-wait [Idle] -> inventory-update [Sync]” module=mender

Jun 16 02:51:31 imx6ull14x14evk mender[439]: time=“2020-06-16T02:51:31Z” level=info msg=“State transition: inventory-update [Sync] -> check-wait [Idle]” module=mender

Jun 16 02:51:31 imx6ull14x14evk mender[439]: time=“2020-06-16T02:51:31Z” level=info msg=“State transition: check-wait [Idle] -> update-check [Sync]” module=mender

Jun 16 02:51:31 imx6ull14x14evk mender[439]: time=“2020-06-16T02:51:31Z” level=info msg=“State transition: update-check [Sync] -> check-wait [Idle]” module=mender

But, only the “Download*” state scripts have been called when I upgrade my device and all the “artifact*” state scripts did not be called.

Could you help me?

Not all scripts should be in /etc/mender/scripts, please see the following section in the docs for more information

https://docs.mender.io/2.3/artifacts/state-scripts#root-file-system-and-artifact-scripts

It works now.
Thank you for your help!