# 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:** 19\
**Page:** 4

<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 15, 2020, 3:01pm UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/61 "2020-12-15T15:01:27Z")

</div>

@tranchitella ping

---

<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:** [January 4, 2021, 8:59am UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/62 "2021-01-04T08:59:52Z")

</div>

Hi drewmoseley.

triamp@mender:~$ curl -k -H “Authorization: Bearer $JWT” $MENDER\_SERVER\_URI/api/management/v1/useradm/users

401 Authorization Required
# 401 Authorization Required

* * *
openresty/1.13.6.2

please help slove this problem.thanks

---

<div class="post-metadata">

**Author:** ![tranchitella](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/tranchitella/32/606_2.png) [@tranchitella](https://hub.mender.io/u/tranchitella)\
**Post date:** [January 4, 2021, 9:07am UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/63 "2021-01-04T09:07:18Z")

</div>

@triampmeili The issue you are facing with the creation of a deployment which targets a group is a known issue in Mender 2.5.0, please follow this advice to upgrade to the most recent bugfix release:

> [@Unable to create deployment for static groups](https://hub.mender.io/t/unable-to-create-deployment-for-static-groups/2620/5):
>
> hello @spratesi as a workaround could you please change deployments and inventory images in the docker compose file to: mendersoftware/deployments:mender-2.5.x mendersoftware/inventory:mender-2.5.x Please take a [backup](https://docs.mender.io/2.5/server-installation/backup-and-restore) of the installation first. I am once again sorry for this. peter

For the second issue you are reporting, the `401 Authorization Required` means the JWT token is not valid anymore (it has an expiration date/time in it) and you should request a new one using the login end-point.

---

<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:** [January 4, 2021, 9:20am UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/64 "2021-01-04T09:20:00Z")

</div>

Hi tranchitella,  
I used Mender-2.5.0.

---

<div class="post-metadata">

**Author:** ![tranchitella](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/tranchitella/32/606_2.png) [@tranchitella](https://hub.mender.io/u/tranchitella)\
**Post date:** [January 4, 2021, 9:23am UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/65 "2021-01-04T09:23:43Z")

</div>

@triampmeili sorry, I meant 2.5.0, indeed.

---

<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:** [January 4, 2021, 9:28am UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/66 "2021-01-04T09:28:39Z")

</div>

Hi tranchitella,

 ![IMG20210104172528](https://canada1.discourse-cdn.com/flex036/uploads/mender/original/2X/0/0ad314b36ecf47741bd4cb78ef14dd69bcc40c51.jpeg)

please help me solve this problem " parse error: Invaild numeric literal at line 1,colume 7’" 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:** [January 4, 2021, 9:39am UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/67 "2021-01-04T09:39:17Z")

</div>

Hi tranchitella,  
Currently there is only version 2.5.0 on the website of Mender.  
please give new version.Thanks!

---

<div class="post-metadata">

**Author:** ![tranchitella](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/tranchitella/32/606_2.png) [@tranchitella](https://hub.mender.io/u/tranchitella)\
**Post date:** [January 4, 2021, 11:07am UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/68 "2021-01-04T11:07:33Z")

</div>

@triampmeili As I mentioned above, please follow the instructions I posted two hours ago.  
Regarding the curl issue, please check the output from curl without using jq to verify if it is a JSON document.

---

<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:** [January 5, 2021, 3:39am UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/69 "2021-01-05T03:39:35Z")

</div>

Hi tranchitella,

```
 1. " change the two lines quoted above in prod.yml from “2.5.0” to “2.5.x”" , But there is no "2.5.0" in the config/prod.yml file, only "2.1"

```

 ![IMG20210105112852](https://canada1.discourse-cdn.com/flex036/uploads/mender/original/2X/e/e1bceec0acbcd71e86649edfc7c6dcc02f613443.jpeg)

```
2. Production mender server has been created and put a lot of device, I want to copy the same production mender server to a new computer. (Because I use the same steps to create production mender server on new computer, but it is a new account, and the pending device is still connected to the old computer is not connected to the new computer.)

```

how do I do it?

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:** [January 6, 2021, 2:33am UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/70 "2021-01-06T02:33:44Z")

</div>

Hi drewmoseley,

1. " change the two lines quoted above in prod.yml from “2.5.0” to “2.5.x”" , But there is no “2.5.0” in the config/prod.yml file, only “2.1”

2. Production mender server has been created and put a lot of device, I want to copy the same production mender server to a new computer. (Because I use the same steps to create production mender server on new computer, but it is a new account, and the pending device is still connected to the old computer is not connected to the new computer.)

Please help how do I do 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:** [January 6, 2021, 2:23pm UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/71 "2021-01-06T14:23:03Z")

</div>

@tranchitella @merlin can either of you help here?

---

<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:** [January 18, 2021, 1:19am UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/72 "2021-01-18T01:19:20Z")

</div>

Hi tranchitella,

1. " change the two lines quoted above in prod.yml from “2.5.0” to “2.5.x”" , But there is no “2.5.0” in the config/prod.yml file, only “2.1”

2. Production mender server has been created and put a lot of device, I want to copy the same production mender server to a new computer. (Because I use the same steps to create production mender server on new computer, but it is a new account, and the pending device is still connected to the old computer is not connected to the new computer.)

Please help how do I do it? Thanks!

---

<div class="post-metadata">

**Author:** ![tranchitella](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/tranchitella/32/606_2.png) [@tranchitella](https://hub.mender.io/u/tranchitella)\
**Post date:** [January 19, 2021, 1:14pm UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/73 "2021-01-19T13:14:55Z")

</div>

This is a sample prod.yml file:

> <https://github.com/mendersoftware/integration/blob/master/production/config/prod.yml.template>

Under mender-deployments, you can add:

> image: mendersoftware/deployments:mender-2.5.x

Under mender-inventory, you can add:

> image: mendersoftware/inventory:mender-2.5.x

At this point, restart the server.

---

<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:** [January 20, 2021, 5:49am UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/74 "2021-01-20T05:49:11Z")

</div>

Hi tranchitella,  
This problem is solved, very grateful

---

<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:** [January 26, 2021, 3:45am UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/75 "2021-01-26T03:45:29Z")

</div>

Hi tranchitella,  
Production mender server has been created and put a lot of device.  
Can the production mender server copy the contents of the same account to another hard disk?

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:** [April 27, 2021, 9:38am UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/76 "2021-04-27T09:38:50Z")

</div>

Hi tranchitella,  
If the OTA download fails in the middle, it can’t be downloaded again. Where does the program need to add fuction to re-downloading ? Thanks!

---

<div class="post-metadata">

**Author:** ![tranchitella](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/tranchitella/32/606_2.png) [@tranchitella](https://hub.mender.io/u/tranchitella)\
**Post date:** [April 27, 2021, 9:42am UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/77 "2021-04-27T09:42:11Z")

</div>

@triampmeili can you please be a bit more explicit describing the issue you are facing? What does it mean if the “OTA download” fails in the middle it cannot be downloaded again? Do you mean failure in the download phase, or error while applying the deployment to the device?

In case the deployment fails, the Professional and Enterprise versions of Mender support automatic retry of failed deployments. The Open Source version of Mender doesn’t, though, thus the only option is scheduling a new deployment for the device.

---

<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:** [April 28, 2021, 2:04am UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/78 "2021-04-28T02:04:44Z")

</div>

I can’t retry new deployment successfully, unless the hardware re-burns the program (.scard) to deployment, is there a solution? 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:** [April 28, 2021, 9:45pm UTC](https://hub.mender.io/t/bitbake-core-image-minimal-error/2703/79 "2021-04-28T21:45:30Z")

</div>

@triampmeili what specific error are you seeing?

How are you triggering a retry?

Has the original deployment completed in the server?

What Mender plan are you using?

Can you provide a detailed set of steps to reproduce this issue?

Drew

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