Hi,
My mender client is a debian on a x86_64 system. I have a golden image converted with mender-convert in version 2.4.0 and mender-artifact (tested in version 3.4.2 and 3.6).
I start the update process, the client connects to the server and is updated with the new image. It reboots, but after the reboot the client is again in Idle state, and starts the update again.
Any suggestion on what could be wrong.
Thanks
Log:
Jan 24 09:34:56 MDM-DELL-SERVER-1 mender[10392]: time=“2022-01-24T09:34:56+01:00” level=info msg=“State transition: mender-update-control [none] → reboot [ArtifactReboot_Enter]” func=/mendersoftware/mender/app.transitionState file=“/root/go/src/github.com/mendersoftware/mender/app/mender.go:510”
Jan 24 09:34:56 MDM-DELL-SERVER-1 mender[10392]: time=“2022-01-24T09:34:56+01:00” level=debug msg=“Status reported, response 204 No Content” func=“github.com/mendersoftware/mender/client.(*StatusClient).Report” file=“/root/go/src/github.com/mendersoftware/mender/client/client_status.go:90”
4 09:34:56 MDM-DELL-SERVER-1 mender[10392]: time=“2022-01-24T09:34:56+01:00” level=info msg=“Rebooting device(s)” func=“github.com/mendersoftware/mender/app.(*updateRebootState).Handle” file=“/root/go/src/github.com/mendersoftware/mender/app/state.go:1568”
Jan 24 09:34:56 MDM-DELL-SERVER-1 mender[10392]: time=“2022-01-24T09:34:56+01:00” level=info msg=“Mender rebooting from active partition: /dev/sda3” func=“github.com/mendersoftware/mender/installer.(*dualRootfsDeviceImpl).Reboot” file=“/root/go/src/github.com/mendersoftware/mender/installer/dual_rootfs_device.go:111”
Jan 24 09:34:56 MDM-DELL-SERVER-1 mender[10392]: time=“2022-01-24T09:34:56+01:00” level=info msg=“Daemon terminated with SIGTERM” func=main.doMain file=“/root/go/src/github.com/mendersoftware/mender/main.go:61”
Jan 24 09:38:42 MDM-DELL-SERVER-1 mender[1795]: time=“2022-01-24T09:38:42+01:00” level=debug msg=“Reading Mender configuration from file /var/lib/mender/mender.conf” func=/mendersoftware/mender/conf.readConfigFile file=“/root/go/src/github.com/mendersoftware/mender/conf/config.go:247”
Jan 24 09:38:42 MDM-DELL-SERVER-1 mender[1795]: time=“2022-01-24T09:38:42+01:00” level=info msg=“Loaded configuration file: /var/lib/mender/mender.conf” func=/mendersoftware/mender/conf.loadConfigFile file=“/root/go/src/github.com/mendersoftware/mender/conf/config.go:240”
Jan 24 09:38:42 MDM-DELL-SERVER-1 mender[1795]: time=“2022-01-24T09:38:42+01:00” level=debug msg=“Failed to read the certificate file for the HttpsClient. Err read /usr/lib/ssl/certs/java: is a directory” func=/mendersoftware/mender/client.nrOfSystemCertsFound file=“/root/go/src/github.com/mendersoftware/mender/client/client.go:324”
Jan 24 09:38:42 MDM-DELL-SERVER-1 mender[1795]: time=“2022-01-24T09:38:42+01:00” level=debug msg=“Have U-Boot variable: mender_boot_part=2” func=/mendersoftware/mender/installer.getEnvironmentVariable file=“/root/go/src/github.com/mendersoftware/mender/installer/bootenv.go:207”
Jan 24 09:38:42 MDM-DELL-SERVER-1 mender[1795]: time=“2022-01-24T09:38:42+01:00” level=debug msg=“List of U-Boot variables:map[mender_boot_part:2]” func=/mendersoftware/mender/installer.getEnvironmentVariable file=“/root/go/src/github.com/mendersoftware/mender/installer/bootenv.go:230”
Jan 24 09:38:42 MDM-DELL-SERVER-1 mender[1795]: time=“2022-01-24T09:38:42+01:00” level=debug msg=“Setting active partition from mount candidate: /dev/sda2” func=“github.com/mendersoftware/mender/installer.(*partitions).getAndCacheActivePartition” file=“/root/go/src/github.com/mendersoftware/mender/installer/partitions.go:175”
Jan 24 09:38:42 MDM-DELL-SERVER-1 mender[1795]: time=“2022-01-24T09:38:42+01:00” level=info msg=“Mender running on partition: /dev/sda2” func=/mendersoftware/mender/cli.initDualRootfsDevice file=“/root/go/src/github.com/mendersoftware/mender/cli/commands.go:79”
Jan 24 09:38:42 MDM-DELL-SERVER-1 mender[1795]: time=“2022-01-24T09:38:42+01:00” level=debug msg=“Failed to read the certificate file for the HttpsClient. Err read /usr/lib/ssl/certs/java: is a directory” func=/mendersoftware/mender/client.nrOfSystemCertsFound file=“/root/go/src/github.com/mendersoftware/mender/client/client.go:324”
Jan 24 09:38:42 MDM-DELL-SERVER-1 mender[1795]: time=“2022-01-24T09:38:42+01:00” level=debug msg=“Loading update control maps from the store” func=“github.com/mendersoftware/mender/app.(*ControlMapPool).loadFromStore” file=“/root/go/src/github.com/mendersoftware/mender/app/updatemanager.go:347”
Jan 24 09:38:42 MDM-DELL-SERVER-1 mender[1795]: time=“2022-01-24T09:38:42+01:00” level=debug msg=“No Update Control Maps found in database.” func=“github.com/mendersoftware/mender/app.(*ControlMapPool).loadFromStore” file=“/root/go/src/github.com/mendersoftware/mender/app/updatemanager.go:351”
Jan 24 09:38:42 MDM-DELL-SERVER-1 mender[1795]: time=“2022-01-24T09:38:42+01:00” level=debug msg=“Could not open local Mender trust store directory: open cd: no such file or directory” func=/mendersoftware/mender/cli.checkDemoCert file=“/root/go/src/github.com/mendersoftware/mender/cli/commands.go:291”
Jan 24 09:38:42 MDM-DELL-SERVER-1 mender[1795]: time=“2022-01-24T09:38:42+01:00” level=debug msg=“Running the UpdateManager” func=“github.com/mendersoftware/mender/app.(*UpdateManager).Start” file=“/root/go/src/github.com/mendersoftware/mender/app/updatemanager.go:71”
Jan 24 09:38:42 MDM-DELL-SERVER-1 mender[1795]: time=“2022-01-24T09:38:42+01:00” level=info msg=“State transition: init [none] → init [none]” func=/mendersoftware/mender/app.transitionState file=“/root/go/src/github.com/mendersoftware/mender/app/mender.go:510”
Jan 24 09:38:42 MDM-DELL-SERVER-1 mender[1795]: time=“2022-01-24T09:38:42+01:00” level=info msg=“State transition: init [none] → init [none]” func=/mendersoftware/mender/app.transitionState file=“/root/go/src/github.com/mendersoftware/mender/app/mender.go:510”
Jan 24 09:38:42 MDM-DELL-SERVER-1 mender[1795]: time=“2022-01-24T09:38:42+01:00” level=debug msg=“No state data stored” func=“github.com/mendersoftware/mender/app.(*initState).Handle” file=“/root/go/src/github.com/mendersoftware/mender/app/state.go:285”
Jan 24 09:38:42 MDM-DELL-SERVER-1 mender[1795]: time=“2022-01-24T09:38:42+01:00” level=info msg=“State transition: init [none] → idle [Idle]” func=/mendersoftware/mender/app.transitionState file=“/root/go/src/github.com/mendersoftware/mender/app/mender.go:510”
Jan 24 09:38:42 MDM-DELL-SERVER-1 mender[1795]: time=“2022-01-24T09:38:42+01:00” level=info msg=“State transition: init [none] → idle [Idle]” func=/mendersoftware/mender/app.transitionState file=“/root/go/src/github.com/mendersoftware/mender/app/mender.go:510”