# Unable to deploy a new golden image to existing devices

**URL:** <https://hub.mender.io/t/unable-to-deploy-a-new-golden-image-to-existing-devices/4834>\
**Category:** General Discussions\
**Created:** [April 6, 2022, 7:36pm UTC](https://hub.mender.io/t/unable-to-deploy-a-new-golden-image-to-existing-devices/4834 "2022-04-06T19:36:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dkieswetter](https://avatars.discourse-cdn.com/v4/letter/d/bbe5ce/32.png) [@dkieswetter](https://hub.mender.io/u/dkieswetter)\
**Post date:** [April 6, 2022, 7:36pm UTC](https://hub.mender.io/t/unable-to-deploy-a-new-golden-image-to-existing-devices/4834/1 "2022-04-06T19:36:30Z")

</div>

I’ve been using mender for a while to deploy to devices. Now I wanted to create a brand new golden image to deploy to my existing devices. I create the image using virtual box and install the same os(Ubunutu 18). I’m using the same mender-convert process to create a new mender file. Which all works successfully. However when I deploy it to an existing device, it seems to work but rolls back right away on reboot. Do I need to do anything special to deploy a new golden image to existing devices. Here is the deploy log.

2022-04-06 19:09:29 +0000 UTC info: Running Mender client version: 3.1.0  
2022-04-06 19:09:29 +0000 UTC info: State transition: update-fetch [Download\_Enter] → update-store [Download\_Enter]  
2022-04-06 19:09:29 +0000 UTC info: No public key was provided for authenticating the artifact  
2022-04-06 19:09:29 +0000 UTC info: Opening device “/dev/sda3” for writing  
2022-04-06 19:09:29 +0000 UTC info: Native sector size of block device /dev/sda3 is 512 bytes. Mender will write in chunks of 1048576 bytes  
2022-04-06 19:13:18 +0000 UTC info: All bytes were successfully written to the new partition  
2022-04-06 19:13:18 +0000 UTC info: The optimized block-device writer wrote a total of 49729 frames, where 0 frames did need to be rewritten (i.e., skipped)  
2022-04-06 19:13:19 +0000 UTC info: Wrote 52143587328/52143587328 bytes to the inactive partition  
2022-04-06 19:13:19 +0000 UTC info: State transition: update-store [Download\_Enter] → update-after-store [Download\_Leave]  
2022-04-06 19:13:19 +0000 UTC info: State transition: update-after-store [Download\_Leave] → mender-update-control [none]  
2022-04-06 19:13:19 +0000 UTC info: State transition: mender-update-control [none] → update-install [ArtifactInstall]  
2022-04-06 19:13:19 +0000 UTC info: Enabling partition with new image installed to be a boot candidate: 3  
2022-04-06 19:13:19 +0000 UTC info: State transition: update-install [ArtifactInstall] → mender-update-control [none]  
2022-04-06 19:13:19 +0000 UTC info: State transition: mender-update-control [none] → reboot [ArtifactReboot\_Enter]  
2022-04-06 19:13:19 +0000 UTC info: Rebooting device(s)  
2022-04-06 19:13:19 +0000 UTC info: Mender rebooting from active partition: /dev/sda2  
2022-04-06 19:13:20 +0000 UTC info: Daemon terminated with SIGTERM  
2022-04-06 19:13:59 +0000 UTC info: Running Mender client version: 3.1.0  
2022-04-06 19:13:59 +0000 UTC info: State transition: init [none] → after-reboot [ArtifactReboot\_Leave]  
2022-04-06 19:13:59 +0000 UTC error: transient error: Reboot to the new update failed. Expected “upgrade\_available” flag to be true but it was false. Either the switch to the new partition was unsuccessful, or the bootloader rolled back  
2022-04-06 19:13:59 +0000 UTC info: State transition: after-reboot [ArtifactReboot\_Leave] → rollback [ArtifactRollback]  
2022-04-06 19:13:59 +0000 UTC info: Performing rollback  
2022-04-06 19:13:59 +0000 UTC info: No update available, so no rollback needed.  
2022-04-06 19:13:59 +0000 UTC info: State transition: rollback [ArtifactRollback] → rollback-reboot [ArtifactRollbackReboot\_Enter]  
2022-04-06 19:13:59 +0000 UTC info: Rebooting device(s) after rollback  
2022-04-06 19:13:59 +0000 UTC info: Mender rebooting from inactive partition: /dev/sda2  
2022-04-06 19:14:00 +0000 UTC info: Daemon terminated with SIGTERM  
2022-04-06 19:14:00 +0000 UTC error: Error rebooting device: signal: terminated  
2022-04-06 19:14:29 +0000 UTC info: Running Mender client version: 3.1.0  
2022-04-06 19:14:29 +0000 UTC info: Mender shut down in state: rollback-reboot  
2022-04-06 19:14:29 +0000 UTC info: State transition: init [none] → verify-rollback-reboot [ArtifactRollbackReboot\_Leave]  
2022-04-06 19:14:29 +0000 UTC info: State transition: verify-rollback-reboot [ArtifactRollbackReboot\_Leave] → after-rollback-reboot [ArtifactRollbackReboot\_Leave]  
2022-04-06 19:14:29 +0000 UTC info: State transition: after-rollback-reboot [ArtifactRollbackReboot\_Leave] → update-error [ArtifactFailure]  
2022-04-06 19:14:29 +0000 UTC info: State transition: update-error [ArtifactFailure] → cleanup [Error]  
2022-04-06 19:14:29 +0000 UTC info: State transition: cleanup [Error] → update-status-report [none]
