Hi,
I bump to Kirkstone recently and got also the same issue.
It seems that a new feature doHandleBootstrapArtifact() is taking time and the database is never created
~# mender --log-level debug show-artifact
[2023-07-12 13:45:38] DEBU[0000]/conf/config.go:283 conf.readConfigFile() Reading Mender configuration from file /var/lib/mender/mender.conf
[2023-07-12 13:45:38] INFO[0000]/conf/config.go:276 conf.loadConfigFile() Loaded configuration file: /var/lib/mender/mender.conf
[2023-07-12 13:45:38] DEBU[0000]/conf/config.go:283 conf.readConfigFile() Reading Mender configuration from file /etc/mender/mender.conf
[2023-07-12 13:45:38] INFO[0000]/conf/config.go:276 conf.loadConfigFile() Loaded configuration file: /etc/mender/mender.conf
[2023-07-12 13:45:38] DEBU[0000]/conf/config.go:169 conf.LoadConfig() Loaded 2 configuration file(s)
[2023-07-12 13:45:38] INFO[0000]/conf/config.go:236 conf.checkConfigDefaults() 'UpdateControlMapExpirationTimeSeconds' is not set in the Mender configuration file. Falling back to the default of 2*UpdatePollIntervalSeconds
[2023-07-12 13:45:38] INFO[0000]/conf/config.go:243 conf.checkConfigDefaults() 'UpdateControlMapBootExpirationTimeSeconds' is not set in the Mender configuration file. Falling back to the default of 600 seconds
[2023-07-12 13:45:38] DEBU[0000]/conf/config.go:178 conf.LoadConfig() Loaded configuration = &conf.MenderConfig{MenderConfigFromFile:conf.MenderConfigFromFile{ArtifactVerifyKey:"", ArtifactVerifyKeys:[]string{"/etc/mender/artifact-verify-key.pem"}, HttpsClient:client.HttpsClient{Certificate:"", Key:"", SSLEngine:""}, Security:clie
nt.Security{AuthPrivateKey:"", SSLEngine:""}, Connectivity:client.Connectivity{DisableKeepAlive:false, IdleConnTimeoutSeconds:0}, RootfsPartA:"/dev/mmcblk0p2", RootfsPartB:"/dev/mmcblk0p3", BootUtilitiesSetActivePart:"", BootUtilitiesGetNextActivePart:""
, DeviceTypeFile:"", DBus:conf.DBusConfig{Enabled:true}, UpdateControlMapExpirationTimeSeconds:0, UpdateControlMapBootExpirationTimeSeconds:0, UpdatePollIntervalSeconds:1800, InventoryPollIntervalSeconds:28800, SkipVerify:false, RetryPollIntervalSeconds:
300, RetryPollCount:0, StateScriptTimeoutSeconds:0, StateScriptRetryTimeoutSeconds:0, StateScriptRetryIntervalSeconds:0, ModuleTimeoutSeconds:0, ServerCertificate:"", ServerURL:"https://mender.company-name.ht", UpdateLogPath:"", TenantToken:"dummy", Servers:[]
client.MenderServer(nil), DaemonLogLevel:""}, ModulesPath:"/usr/share/mender/modules/v3", ModulesWorkPath:"/var/lib/mender/modules/v3", ArtifactScriptsPath:"/var/lib/mender/scripts", RootfsScriptsPath:"/etc/mender/scripts", BootstrapArtifactFile:"/var/li
b/mender/bootstrap.mender"}
[2023-07-12 13:45:38] DEBU[0000]/conf/config.go:215 conf.(*MenderConfig).Validate() Verified configuration = &conf.MenderConfig{MenderConfigFromFile:conf.MenderConfigFromFile{ArtifactVerifyKey:"", ArtifactVerifyKeys:[]string{"/etc/mender/artifact-verify-key.pem"}, HttpsClient:client.HttpsClient{Certificate:"", Key:"", SSLEngine:""
}, Security:client.Security{AuthPrivateKey:"", SSLEngine:""}, Connectivity:client.Connectivity{DisableKeepAlive:false, IdleConnTimeoutSeconds:0}, RootfsPartA:"/dev/mmcblk0p2", RootfsPartB:"/dev/mmcblk0p3", BootUtilitiesSetActivePart:"", BootUtilitiesGetN
extActivePart:"", DeviceTypeFile:"/var/lib/mender/device_type", DBus:conf.DBusConfig{Enabled:true}, UpdateControlMapExpirationTimeSeconds:0, UpdateControlMapBootExpirationTimeSeconds:0, UpdatePollIntervalSeconds:1800, InventoryPollIntervalSeconds:28800,
SkipVerify:false, RetryPollIntervalSeconds:300, RetryPollCount:0, StateScriptTimeoutSeconds:0, StateScriptRetryTimeoutSeconds:0, StateScriptRetryIntervalSeconds:0, ModuleTimeoutSeconds:0, ServerCertificate:"", ServerURL:"https://mender.company-name.ht", Update
LogPath:"", TenantToken:"dummy", Servers:[]client.MenderServer{client.MenderServer{ServerURL:"https://mender.company-name.ht"}}, DaemonLogLevel:""}, ModulesPath:"/usr/share/mender/modules/v3", ModulesWorkPath:"/var/lib/mender/modules/v3", ArtifactScriptsPath:"
/var/lib/mender/scripts", RootfsScriptsPath:"/etc/mender/scripts", BootstrapArtifactFile:"/var/lib/mender/bootstrap.mender"}
[2023-07-12 13:45:38] DEBU[0000]/cli/cli.go:513 cli.(*runOptionsType).handleCLIOptions() calling doHandleBootstrapArtifact
[2023-07-12 13:45:40] DEBU[0002]/installer/bootenv.go:253 installer.(*UBootEnv).getEnvironmentVariable() Tried command "grub-mender-grubenv-print", but it was not found
[2023-07-12 13:45:40] DEBU[0002]/installer/bootenv.go:253 installer.(*UBootEnv).getEnvironmentVariable() Tried command "systemd-boot-printenv", but it was not found
[2023-07-12 13:45:40] DEBU[0002]/installer/bootenv.go:274 installer.(*UBootEnv).getEnvironmentVariable() Have bootloader variable: mender_check_saveenv_canary=1
[2023-07-12 13:45:40] DEBU[0002]/installer/bootenv.go:307 installer.(*UBootEnv).getEnvironmentVariable() List of bootloader variables:map[mender_check_saveenv_canary:1]
[2023-07-12 13:45:40] DEBU[0002]/installer/bootenv.go:253 installer.(*UBootEnv).getEnvironmentVariable() Tried command "grub-mender-grubenv-print", but it was not found
[2023-07-12 13:45:40] DEBU[0002]/installer/bootenv.go:253 installer.(*UBootEnv).getEnvironmentVariable() Tried command "systemd-boot-printenv", but it was not found
[2023-07-12 13:45:40] DEBU[0002]/installer/bootenv.go:274 installer.(*UBootEnv).getEnvironmentVariable() Have bootloader variable: mender_saveenv_canary=1
[2023-07-12 13:45:40] DEBU[0002]/installer/bootenv.go:307 installer.(*UBootEnv).getEnvironmentVariable() List of bootloader variables:map[mender_saveenv_canary:1]
[2023-07-12 13:45:40] DEBU[0002]/installer/bootenv.go:253 installer.(*UBootEnv).getEnvironmentVariable() Tried command "grub-mender-grubenv-print", but it was not found
[2023-07-12 13:45:40] DEBU[0002]/installer/bootenv.go:253 installer.(*UBootEnv).getEnvironmentVariable() Tried command "systemd-boot-printenv", but it was not found
[2023-07-12 13:45:40] DEBU[0002]/installer/bootenv.go:274 installer.(*UBootEnv).getEnvironmentVariable() Have bootloader variable: mender_boot_part=2
[2023-07-12 13:45:40] DEBU[0002]/installer/bootenv.go:307 installer.(*UBootEnv).getEnvironmentVariable() List of bootloader variables:map[mender_boot_part:2]
[2023-07-12 13:45:40] DEBU[0002]/installer/partitions.go:194 installer.(*partitions).getAndCacheActivePartition() Setting active partition from mount candidate: /dev/mmcblk0p2
[2023-07-12 13:45:40] INFO[0002]/cli/commands.go:83 cli.initDualRootfsDevice() Mender running on partition: /dev/mmcblk0p2
[2023-07-12 13:45:40] DEBU[0002]/app/updatemanager.go:369 app.(*ControlMapPool).loadFromStore() Loading update control maps from the store
[2023-07-12 13:45:40] DEBU[0002]/app/updatemanager.go:373 app.(*ControlMapPool).loadFromStore() No Update Control Maps found in database.
[2023-07-12 13:45:40] DEBU[0002]/installer/modules.go:859 installer.NewModuleInstallerFactory() ModuleTimeoutSeconds not set. Defaulting to 14400 seconds
[2023-07-12 13:45:42] DEBU[0004]/app/mender.go:723 app.(*Mender).HandleBootstrapArtifact() No state data stored
[2023-07-12 13:45:42] DEBU[0004]/app/mender.go:738 app.(*Mender).HandleBootstrapArtifact() Bootstrap Artifact /var/lib/mender/bootstrap.mender not found
[2023-07-12 13:45:42] DEBU[0004]/installer/bootenv.go:253 installer.(*UBootEnv).getEnvironmentVariable() Tried command "grub-mender-grubenv-print", but it was not found
[2023-07-12 13:45:42] DEBU[0004]/installer/bootenv.go:253 installer.(*UBootEnv).getEnvironmentVariable() Tried command "systemd-boot-printenv", but it was not found
[2023-07-12 13:45:42] DEBU[0004]/installer/bootenv.go:274 installer.(*UBootEnv).getEnvironmentVariable() Have bootloader variable: mender_check_saveenv_canary=1
[2023-07-12 13:45:42] DEBU[0004]/installer/bootenv.go:307 installer.(*UBootEnv).getEnvironmentVariable() List of bootloader variables:map[mender_check_saveenv_canary:1]
[2023-07-12 13:45:42] DEBU[0004]/installer/bootenv.go:253 installer.(*UBootEnv).getEnvironmentVariable() Tried command "grub-mender-grubenv-print", but it was not found
[2023-07-12 13:45:42] DEBU[0004]/installer/bootenv.go:253 installer.(*UBootEnv).getEnvironmentVariable() Tried command "systemd-boot-printenv", but it was not found
[2023-07-12 13:45:42] DEBU[0004]/installer/bootenv.go:274 installer.(*UBootEnv).getEnvironmentVariable() Have bootloader variable: mender_saveenv_canary=1
[2023-07-12 13:45:42] DEBU[0004]/installer/bootenv.go:307 installer.(*UBootEnv).getEnvironmentVariable() List of bootloader variables:map[mender_saveenv_canary:1]
[2023-07-12 13:45:42] DEBU[0004]/installer/bootenv.go:253 installer.(*UBootEnv).getEnvironmentVariable() Tried command "grub-mender-grubenv-print", but it was not found
[2023-07-12 13:45:42] DEBU[0004]/installer/bootenv.go:253 installer.(*UBootEnv).getEnvironmentVariable() Tried command "systemd-boot-printenv", but it was not found
[2023-07-12 13:45:42] DEBU[0004]/installer/bootenv.go:274 installer.(*UBootEnv).getEnvironmentVariable() Have bootloader variable: mender_boot_part=2
[2023-07-12 13:45:42] DEBU[0004]/installer/bootenv.go:307 installer.(*UBootEnv).getEnvironmentVariable() List of bootloader variables:map[mender_boot_part:2]
[2023-07-12 13:45:42] DEBU[0004]/installer/partitions.go:194 installer.(*partitions).getAndCacheActivePartition() Setting active partition from mount candidate: /dev/mmcblk0p2
[2023-07-12 13:45:42] INFO[0004]/cli/commands.go:83 cli.initDualRootfsDevice() Mender running on partition: /dev/mmcblk0p2
[2023-07-12 13:45:42] DEBU[0004]/installer/modules.go:859 installer.NewModuleInstallerFactory() ModuleTimeoutSeconds not set. Defaulting to 14400 seconds
[2023-07-12 13:45:42] DEBU[0004]/device/device.go:141 device.(*DeviceManager).getValueFromDatabaseKey() Returning artifact-name value augmented-lidar-os_DEVONLY_5.12.0-alpha1-3-g7d53a27_fix_random_build_issue from database.