# Bitbake core-image-minimal error

**URL:** <https://hub.mender.io/t/bitbake-core-image-minimal-error/2703>\
**Category:** General Discussions\
**Created:** [October 21, 2020, 8:07am UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703 "2020-10-21T08:07:43Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [November 17, 2020, 5:34pm UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/41 "2020-11-17T17:34:46Z")

</div>

Hi @triampmeili

Regarding the excel database, I’m not sure what you are trying to do. We do have a [single file update module](https://hub.mender.io/t/single-file/486/25) that will copy one file onto the target.

As for the device connection time, it’s hard to say. Devices need to have a synchronized time source using NTP before the TLS certificates can be validated. That can be one source of delay. If you can provide the output from running `journalctl -u mender-client` on the device that took so long, we may be able to see other things.

Drew

---

<div class="post-metadata">

**Author:** ![triampmeili](https://avatars.discourse-cdn.com/v4/letter/t/ac8455/32.png) [@triampmeili](https://hub.mender.io/u/triampmeili)\
**Post date:** [November 19, 2020, 2:49am UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/42 "2020-11-19T02:49:01Z")

</div>

Hi drewmoseley,

```
   Thanks for your help.
   My Mender Server Starter has a deployment that cannot be deleted, the error message is as follows: There was wan error while aborting the deployment: Deployment already finished [Request ID: 9c1b2e3c]

```

please tell how to detele？Thanks!

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [November 19, 2020, 2:35pm UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/43 "2020-11-19T14:35:58Z")

</div>

The error message indicates that it has completed. What is the purpose of deleting it? We don’t support that. If a deployment is in progress, it can be aborted but once it has finished, there is nothing to delete or abort.

---

<div class="post-metadata">

**Author:** ![triampmeili](https://avatars.discourse-cdn.com/v4/letter/t/ac8455/32.png) [@triampmeili](https://hub.mender.io/u/triampmeili)\
**Post date:** [November 19, 2020, 3:56pm UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/44 "2020-11-19T15:56:30Z")

</div>

![1](https://canada1.discourse-cdn.com/flex036/uploads/mender/original/1X/bd42495691c58bf09f6ad07aec57c875c1618e86.png) ![2](https://canada1.discourse-cdn.com/flex036/uploads/mender/original/1X/8b6441dc2b9d7557eb4ee10f01159c27f97825b3.png)  
I want to delete this deployments.

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [November 19, 2020, 4:14pm UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/45 "2020-11-19T16:14:54Z")

</div>

Strange. If you refresh the page, does anything change? Change you post a screen shot of the whole UI when the deployments tab is open?

---

<div class="post-metadata">

**Author:** ![triampmeili](https://avatars.discourse-cdn.com/v4/letter/t/ac8455/32.png) [@triampmeili](https://hub.mender.io/u/triampmeili)\
**Post date:** [November 20, 2020, 2:57am UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/46 "2020-11-20T02:57:36Z")

</div>

I refresh the page can’t change anything.

---

<div class="post-metadata">

**Author:** ![triampmeili](https://avatars.discourse-cdn.com/v4/letter/t/ac8455/32.png) [@triampmeili](https://hub.mender.io/u/triampmeili)\
**Post date:** [November 20, 2020, 7:08am UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/47 "2020-11-20T07:08:14Z")

</div>

> [@drewmoseley](#):
>
> Devices need to have a synchronized time source using NTP before the TLS certificates can be validated

How can i do this? Thanks

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [November 20, 2020, 2:42pm UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/48 "2020-11-20T14:42:10Z")

</div>

NTP is a big topic and it’s going to depend a lot on your OS/Distro setup. Since this thread is ostensibly about a Yocto build, assuming you are using the standard systemd-based configuration then you just need to make sure that the `timesyncd` option is enabled in the system recipe `PACKAGECONFIG`.

Is your deployment issue on one of our hosted instances or are you using a self-hosted server? If it is our instance, can you provide the deployment ID?

---

<div class="post-metadata">

**Author:** ![triampmeili](https://avatars.discourse-cdn.com/v4/letter/t/ac8455/32.png) [@triampmeili](https://hub.mender.io/u/triampmeili)\
**Post date:** [November 23, 2020, 4:25am UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/49 "2020-11-23T04:25:57Z")

</div>

My deployment issue on your hosted. I don’t know what our deployment ID is?

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [November 23, 2020, 7:50pm UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/50 "2020-11-23T19:50:30Z")

</div>

It should be visible in the deployment details screen.

---

<div class="post-metadata">

**Author:** ![triampmeili](https://avatars.discourse-cdn.com/v4/letter/t/ac8455/32.png) [@triampmeili](https://hub.mender.io/u/triampmeili)\
**Post date:** [November 24, 2020, 3:25am UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/51 "2020-11-24T03:25:31Z")

</div>

triamp@triamp-Macmini:~$ curl -H “Authorization: Bearer $JWT” $MENDER\_SERVER\_URI/api/management/v1/deployments/deployments/1a694a4e-882b-4d53-a1b2-a3cced36c9ef  
{“name”:“test”,“artifact\_name”:“release-test-0904-2”,“created”:“2020-11-23T02:41:38.614Z”,“finished”:“2020-11-23T02:42:25.763Z”,“id”:“1a694a4e-882b-4d53-a1b2-a3cced36c9ef”,“artifacts”:[“ee52791d-104c-40f5-9d40-2e62cf8dbd88”],“status”:“finished”,“device\_count”:0,“max\_devices”:2}

What command do i need to delete the deployment? Thanks!

---

<div class="post-metadata">

**Author:** ![triampmeili](https://avatars.discourse-cdn.com/v4/letter/t/ac8455/32.png) [@triampmeili](https://hub.mender.io/u/triampmeili)\
**Post date:** [November 24, 2020, 7:27am UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/52 "2020-11-24T07:27:09Z")

</div>

> [@triampmeili](#):
>
> What command do i need to delete the deployment?

What command do i need to read finished status( success, failure, already-installed, aborded)?

Thanks!

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [November 24, 2020, 3:07pm UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/53 "2020-11-24T15:07:28Z")

</div>

> What command do i need to delete the deployment? Thanks!

You cannot as far as I know. What I don’t understand is why the GUI continues to show the deployment as your `curl` command clearly shows the status as `Finished`. @mzedel @tranchitella do you guys have any idea on this one?

> What command do i need to read finished status( success, failure, already-installed, aborded)?

You can use something like

```
curl -X GET -H "Authorization: Bearer $JWT" https://hosted.mender.io/api/management/v1/deployments/deployments?status=scheduled

```

but note that is only the status of the deployment as a whole. Valid values for the status are `scheduled`, `pending`, `inprogress` and `finished`. To determine the reason for an individual failure you need to something like

```
curl -X GET -H "Authorization: Bearer $JWT" https://hosted.mender.io/api/management/v1/deployments/deployments/${id}

```

using the id you found earlier.

---

<div class="post-metadata">

**Author:** ![triampmeili](https://avatars.discourse-cdn.com/v4/letter/t/ac8455/32.png) [@triampmeili](https://hub.mender.io/u/triampmeili)\
**Post date:** [November 25, 2020, 2:40pm UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/54 "2020-11-25T14:40:59Z")

</div>

Hi drewmoseley,  
I’d like to know if there is customerized Mender server or not. If there is, please advise me . Thank you in advance!

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [November 30, 2020, 5:17pm UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/55 "2020-11-30T17:17:07Z")

</div>

Hi @triampmeili I’m not sure what you mean by “customerized” version. You can see the details of [our plans here](https://mender.io/plans/features). Let me know if that doesn’t address your question.

Drew

---

<div class="post-metadata">

**Author:** ![triampmeili](https://avatars.discourse-cdn.com/v4/letter/t/ac8455/32.png) [@triampmeili](https://hub.mender.io/u/triampmeili)\
**Post date:** [December 10, 2020, 9:51am UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/56 "2020-12-10T09:51:17Z")

</div>

Hi drewmoseley,  
The mender production is completed, but there is an error signal in “CREAT A DEPLOYMENT”, please advise how to solve it.

 ![IMG20201210174208](https://canada1.discourse-cdn.com/flex036/uploads/mender/original/1X/3f5e3724eef5a378583e559d9b92b54365726a97.jpeg) ![IMG20201210174220](https://canada1.discourse-cdn.com/flex036/uploads/mender/original/1X/b51e4aaaa4b85657a909b177c336e8dd556aeba4.jpeg) ![IMG20201210174230](https://canada1.discourse-cdn.com/flex036/uploads/mender/original/1X/dbc31ef3ccc06bb4c0c557d77999fdc930ace976.jpeg)  
Thanks!  
Kirsty

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [December 10, 2020, 2:44pm UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/57 "2020-12-10T14:44:02Z")

</div>

@tranchitella can you help with this one?

---

<div class="post-metadata">

**Author:** ![triampmeili](https://avatars.discourse-cdn.com/v4/letter/t/ac8455/32.png) [@triampmeili](https://hub.mender.io/u/triampmeili)\
**Post date:** [December 14, 2020, 2:27am UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/58 "2020-12-14T02:27:55Z")

</div>

Hi drewmoseley,  
I want to use the Preauthorize in Production Mender, but the following error occurs:

triamp@triamp-Macmini:~ MENDER\_SERVER\_USER='user1@host.com' triamp@triamp-Macmini:~ JWT=$(curl -X POST -u $MENDER\_SERVER\_USER $MENDER\_SERVER\_URI/api/management/v1/useradm/auth/login)  
Enter host password for user ‘user1@host.com’:  
% Total % Received % Xferd Average Speed Time Time Time Current  
Dload Upload Total Spent Left Speed  
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0  
curl: (60) server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none  
More details here: [http://curl.haxx.se/docs/sslcerts.html](http://curl.haxx.se/docs/sslcerts.html)

curl performs SSL certificate verification by default, using a “bundle”  
of Certificate Authority (CA) public keys (CA certs). If the default  
bundle file isn’t adequate, you can specify an alternate file  
using the --cacert option.  
If this HTTPS server uses a certificate signed by a CA represented in  
the bundle, the certificate verification probably failed due to a  
problem with the certificate (it might be expired, or the name might  
not match the domain name in the URL).  
If you’d like to turn off curl’s verification of the certificate, use  
the -k (or --insecure) option.  
triamp@triamp-Macmini:~ JWT=(curl -k POST -u $MENDER\_SERVER\_USER $MENDER\_SERVER\_URI/api/management/v1/useradm/auth/login)  
Enter host password for user ‘user1@host.com’:  
% Total % Received % Xferd Average Speed Time Time Time Current  
Dload Upload Total Spent Left Speed  
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0curl: (6) Could not resolve host: POST  
100 30 100 30 0 0 57 0 --:–:-- --:–:-- --:–:-- 57

please advise how to solve it. Thanks!

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [December 14, 2020, 3:53pm UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/59 "2020-12-14T15:53:51Z")

</div>

It looks like you don’t have MENDER\_SERVER\_URI defined.

Drew

---

<div class="post-metadata">

**Author:** ![triampmeili](https://avatars.discourse-cdn.com/v4/letter/t/ac8455/32.png) [@triampmeili](https://hub.mender.io/u/triampmeili)\
**Post date:** [December 15, 2020, 8:30am UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/60 "2020-12-15T08:30:26Z")

</div>

Hi drewmoseley,  
I use the demo mender also found the same error signal (Error creating deployment. internal error),please advise how to solve it.Thank!

 ![119043](https://canada1.discourse-cdn.com/flex036/uploads/mender/original/1X/c9340d47e69fa1826ae27bc76aa87031933fa62f.jpeg) ![119040](https://canada1.discourse-cdn.com/flex036/uploads/mender/original/1X/0a9154788777261416aa4fbd3ae0b6d26e84d538.jpeg) ![119041](https://canada1.discourse-cdn.com/flex036/uploads/mender/original/1X/3c25425d52c991267ed412bc3ec0438f459bd886.jpeg) ![119042](https://canada1.discourse-cdn.com/flex036/uploads/mender/original/1X/acd221ea94454c051cb6eb88ef7910d6726d150f.jpeg)

[Previous page](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703.md?page=2)

[Next page](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703.md?page=4)
