Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API returns "Device is too old to satisfy required version range" #696

Open
cmfcruz opened this issue Jun 18, 2021 · 1 comment
Open

API returns "Device is too old to satisfy required version range" #696

cmfcruz opened this issue Jun 18, 2021 · 1 comment

Comments

@cmfcruz
Copy link

cmfcruz commented Jun 18, 2021

The supervisor of some new devices using the latest OS version are encountering the following error:

"error":{
  "message":"Device <device name> is too old to satisfy required version range: &gt;=2.11.0",
  "stack":"ApiError: Device  <device name> is too old to satisfy required version range: &gt;=2.11.0
      at Object.<anonymous> (/usr/src/app/dist/app.js:10:452890)
      at Generator.next (<anonymous>)\n    at fulfilled (/usr/src/app/dist/app.js:10:1915792)
      at processTicksAndRejections (internal/process/task_queues.js:97:5)"
}

Here are some findings courtesy of @cywang117,

Origin of 2.11 looks to be here:

needs__os_version_range: '>=2.11.0',

So it looks like the device's os_version property isn't being picked up:
if (device.os_version == null && device.supervisor_version != null) {

@dfunckt
Copy link
Member

dfunckt commented Jun 18, 2021

This is related: balena-io/open-balena#120

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants