RPi 4 Image: APIError: Device is too old to satisfy required version range

Downloaded the latest dev image(2.80.3) and configured it to connect to my openBalena server(3.2.1).
But supervisor fails to download the application containers. Here is the output of journalctl -f command:

root@8f00bb9:~# journalctl -f
-- Logs begin at Mon 2021-06-14 20:49:27 UTC. --
Jun 14 21:00:53 8f00bb9 openvpn[2963]: Mon Jun 14 21:00:53 2021 TCP_CLIENT link remote: [AF_INET]3.122.120.78:443
Jun 14 21:00:53 8f00bb9 openvpn[2963]: Mon Jun 14 21:00:53 2021 NOTE: UID/GID downgrade will be delayed because of --client, --pull, or --up-delay
Jun 14 21:00:53 8f00bb9 sshd[2969]: error: Unable to load host key: /etc/ssh/hostkeys/ssh_host_dsa_key
Jun 14 21:00:53 8f00bb9 sshd[2969]: Accepted none for root from 192.168.1.18 port 37590 ssh2
Jun 14 21:01:00 8f00bb9 612c650f6ab4[1350]: [event]   Event: Device bootstrap {}
Jun 14 21:01:00 8f00bb9 balena-supervisor[1867]: [event]   Event: Device bootstrap {}
Jun 14 21:01:00 8f00bb9 612c650f6ab4[1350]: [info]    New device detected. Provisioning...
Jun 14 21:01:00 8f00bb9 balena-supervisor[1867]: [info]    New device detected. Provisioning...
Jun 14 21:01:01 8f00bb9 612c650f6ab4[1350]: [event]   Event: Device bootstrap failed, retrying {"delay":30000,"error":{"message":"Device late-glade is too old to satisfy required version range: &gt;=2.11.0","stack":"ApiError: Device late-glade is too old to satisfy required version range: &gt;=2.11.0\n    at Object.<anonymous> (/usr/src/app/dist/app.js:10:452890)\n    at Generator.next (<anonymous>)\n    at fulfilled (/usr/src/app/dist/app.js:10:1915792)\n    at processTicksAndRejections (internal/process/task_queues.js:97:5)"}}
Jun 14 21:01:01 8f00bb9 balena-supervisor[1867]: [event]   Event: Device bootstrap failed, retrying {"delay":30000,"error":{"message":"Device late-glade is too old to satisfy required version range: &gt;=2.11.0","stack":"ApiError: Device late-glade is too old to satisfy required version range: &gt;=2.11.0\n    at Object.<anonymous> (/usr/src/app/dist/app.js:10:452890)\n    at Generator.next (<anonymous>)\n    at fulfilled (/usr/src/app/dist/app.js:10:1915792)\n    at processTicksAndRejections (internal/process/task_queues.js:97:5)"}}
Jun 14 21:01:31 8f00bb9 612c650f6ab4[1350]: [event]   Event: Device bootstrap {}
Jun 14 21:01:31 8f00bb9 balena-supervisor[1867]: [event]   Event: Device bootstrap {}
Jun 14 21:01:31 8f00bb9 612c650f6ab4[1350]: [info]    New device detected. Provisioning...
Jun 14 21:01:31 8f00bb9 balena-supervisor[1867]: [info]    New device detected. Provisioning...
Jun 14 21:01:32 8f00bb9 612c650f6ab4[1350]: [event]   Event: Device bootstrap failed, retrying {"delay":30000,"error":{"message":"Device bitter-wave is too old to satisfy required version range: &gt;=2.11.0","stack":"ApiError: Device bitter-wave is too old to satisfy required version range: &gt;=2.11.0\n    at Object.<anonymous> (/usr/src/app/dist/app.js:10:452890)\n    at Generator.next (<anonymous>)\n    at fulfilled (/usr/src/app/dist/app.js:10:1915792)\n    at processTicksAndRejections (internal/process/task_queues.js:97:5)"}}
Jun 14 21:01:32 8f00bb9 balena-supervisor[1867]: [event]   Event: Device bootstrap failed, retrying {"delay":30000,"error":{"message":"Device bitter-wave is too old to satisfy required version range: &gt;=2.11.0","stack":"ApiError: Device bitter-wave is too old to satisfy required version range: &gt;=2.11.0\n    at Object.<anonymous> (/usr/src/app/dist/app.js:10:452890)\n    at Generator.next (<anonymous>)\n    at fulfilled (/usr/src/app/dist/app.js:10:1915792)\n    at processTicksAndRejections (internal/process/task_queues.js:97:5)"}}
Jun 14 21:07:20 8f00bb9 prepare-openvpn[3566]: prepare-openvpn: [INFO] Balena.io VPN authentication.
Jun 14 21:07:20 8f00bb9 openvpn[3569]: Mon Jun 14 21:07:20 2021 WARNING: file '/var/volatile/vpn-auth' is group or others accessible
Jun 14 21:07:20 8f00bb9 openvpn[3569]: Mon Jun 14 21:07:20 2021 OpenVPN 2.4.7 aarch64-poky-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Feb 20 2019
Jun 14 21:07:20 8f00bb9 openvpn[3569]: Mon Jun 14 21:07:20 2021 library versions: OpenSSL 1.1.1g  21 Apr 2020, LZO 2.10
Jun 14 21:07:20 8f00bb9 openvpn[3569]: Mon Jun 14 21:07:20 2021 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Jun 14 21:07:20 8f00bb9 openvpn[3569]: Mon Jun 14 21:07:20 2021 TCP/UDP: Preserving recently used remote address: [AF_INET]3.122.120.78:443
Jun 14 21:07:20 8f00bb9 openvpn[3569]: Mon Jun 14 21:07:20 2021 Socket Buffers: R=[131072->131072] S=[16384->16384]
Jun 14 21:07:20 8f00bb9 openvpn[3569]: Mon Jun 14 21:07:20 2021 Attempting to establish TCP connection with [AF_INET]3.122.120.78:443 [nonblock]
Jun 14 21:07:21 8f00bb9 openvpn[3569]: Mon Jun 14 21:07:21 2021 TCP connection established with [AF_INET]3.122.120.78:443
Jun 14 21:07:21 8f00bb9 openvpn[3569]: Mon Jun 14 21:07:21 2021 TCP_CLIENT link local: (not bound)
Jun 14 21:07:21 8f00bb9 openvpn[3569]: Mon Jun 14 21:07:21 2021 TCP_CLIENT link remote: [AF_INET]3.122.120.78:443
Jun 14 21:07:21 8f00bb9 openvpn[3569]: Mon Jun 14 21:07:21 2021 NOTE: UID/GID downgrade will be delayed because of --client, --pull, or --up-delay
Jun 14 21:07:21 8f00bb9 openvpn[3569]: Mon Jun 14 21:07:21 2021 TLS: Initial packet from [AF_INET]3.122.120.78:443, sid=72f94712 f845e29a
Jun 14 21:07:21 8f00bb9 openvpn[3569]: Mon Jun 14 21:07:21 2021 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Jun 14 21:07:22 8f00bb9 openvpn[3569]: Mon Jun 14 21:07:22 2021 VERIFY OK: depth=1, CN=vpn-ca.viso.dev
Jun 14 21:07:22 8f00bb9 openvpn[3569]: Mon Jun 14 21:07:22 2021 VERIFY KU OK
Jun 14 21:07:22 8f00bb9 openvpn[3569]: Mon Jun 14 21:07:22 2021 Validating certificate extended key usage
Jun 14 21:07:22 8f00bb9 openvpn[3569]: Mon Jun 14 21:07:22 2021 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Jun 14 21:07:22 8f00bb9 openvpn[3569]: Mon Jun 14 21:07:22 2021 VERIFY EKU OK
Jun 14 21:07:22 8f00bb9 openvpn[3569]: Mon Jun 14 21:07:22 2021 VERIFY OK: depth=0, CN=vpn.viso.dev
Jun 14 21:07:22 8f00bb9 openvpn[3569]: Mon Jun 14 21:07:22 2021 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, 4096 bit RSA
Jun 14 21:07:22 8f00bb9 openvpn[3569]: Mon Jun 14 21:07:22 2021 [vpn.viso.dev] Peer Connection Initiated with [AF_INET]3.122.120.78:443
Jun 14 21:07:23 8f00bb9 openvpn[3569]: Mon Jun 14 21:07:23 2021 SENT CONTROL [vpn.viso.dev]: 'PUSH_REQUEST' (status=1)
Jun 14 21:07:23 8f00bb9 openvpn[3569]: Mon Jun 14 21:07:23 2021 AUTH: Received control message: AUTH_FAILED
Jun 14 21:07:23 8f00bb9 openvpn[3569]: Mon Jun 14 21:07:23 2021 SIGTERM[soft,auth-failure] received, process exiting
Jun 14 21:07:33 8f00bb9 prepare-openvpn[3572]: prepare-openvpn: [INFO] Balena.io VPN authentication.
Jun 14 21:07:33 8f00bb9 openvpn[3575]: Mon Jun 14 21:07:33 2021 WARNING: file '/var/volatile/vpn-auth' is group or others accessible
Jun 14 21:07:33 8f00bb9 openvpn[3575]: Mon Jun 14 21:07:33 2021 OpenVPN 2.4.7 aarch64-poky-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Feb 20 2019
Jun 14 21:07:33 8f00bb9 openvpn[3575]: Mon Jun 14 21:07:33 2021 library versions: OpenSSL 1.1.1g  21 Apr 2020, LZO 2.10
Jun 14 21:07:33 8f00bb9 openvpn[3575]: Mon Jun 14 21:07:33 2021 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Jun 14 21:07:33 8f00bb9 openvpn[3575]: Mon Jun 14 21:07:33 2021 TCP/UDP: Preserving recently used remote address: [AF_INET]3.122.120.78:443
Jun 14 21:07:33 8f00bb9 openvpn[3575]: Mon Jun 14 21:07:33 2021 Socket Buffers: R=[131072->131072] S=[16384->16384]
Jun 14 21:07:33 8f00bb9 openvpn[3575]: Mon Jun 14 21:07:33 2021 Attempting to establish TCP connection with [AF_INET]3.122.120.78:443 [nonblock]
Jun 14 21:07:34 8f00bb9 openvpn[3575]: Mon Jun 14 21:07:34 2021 TCP connection established with [AF_INET]3.122.120.78:443
Jun 14 21:07:34 8f00bb9 openvpn[3575]: Mon Jun 14 21:07:34 2021 TCP_CLIENT link local: (not bound)
Jun 14 21:07:34 8f00bb9 openvpn[3575]: Mon Jun 14 21:07:34 2021 TCP_CLIENT link remote: [AF_INET]3.122.120.78:443
Jun 14 21:07:34 8f00bb9 openvpn[3575]: Mon Jun 14 21:07:34 2021 NOTE: UID/GID downgrade will be delayed because of --client, --pull, or --up-delay
Jun 14 21:07:34 8f00bb9 openvpn[3575]: Mon Jun 14 21:07:34 2021 TLS: Initial packet from [AF_INET]3.122.120.78:443, sid=d4c6cee1 fcae4395
Jun 14 21:07:34 8f00bb9 openvpn[3575]: Mon Jun 14 21:07:34 2021 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Jun 14 21:07:35 8f00bb9 openvpn[3575]: Mon Jun 14 21:07:35 2021 VERIFY OK: depth=1, CN=vpn-ca.viso.dev
Jun 14 21:07:35 8f00bb9 openvpn[3575]: Mon Jun 14 21:07:35 2021 VERIFY KU OK
Jun 14 21:07:35 8f00bb9 openvpn[3575]: Mon Jun 14 21:07:35 2021 Validating certificate extended key usage
Jun 14 21:07:35 8f00bb9 openvpn[3575]: Mon Jun 14 21:07:35 2021 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Jun 14 21:07:35 8f00bb9 openvpn[3575]: Mon Jun 14 21:07:35 2021 VERIFY EKU OK
Jun 14 21:07:35 8f00bb9 openvpn[3575]: Mon Jun 14 21:07:35 2021 VERIFY OK: depth=0, CN=vpn.viso.dev
Jun 14 21:07:35 8f00bb9 openvpn[3575]: Mon Jun 14 21:07:35 2021 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, 4096 bit RSA
Jun 14 21:07:35 8f00bb9 openvpn[3575]: Mon Jun 14 21:07:35 2021 [vpn.viso.dev] Peer Connection Initiated with [AF_INET]3.122.120.78:443
Jun 14 21:07:36 8f00bb9 openvpn[3575]: Mon Jun 14 21:07:36 2021 SENT CONTROL [vpn.viso.dev]: 'PUSH_REQUEST' (status=1)
Jun 14 21:07:36 8f00bb9 openvpn[3575]: Mon Jun 14 21:07:36 2021 AUTH: Received control message: AUTH_FAILED
Jun 14 21:07:36 8f00bb9 openvpn[3575]: Mon Jun 14 21:07:36 2021 SIGTERM[soft,auth-failure] received, process exiting
Jun 14 21:07:38 8f00bb9 612c650f6ab4[1350]: [event]   Event: Device bootstrap {}
Jun 14 21:07:38 8f00bb9 balena-supervisor[1867]: [event]   Event: Device bootstrap {}
Jun 14 21:07:38 8f00bb9 612c650f6ab4[1350]: [info]    New device detected. Provisioning...
Jun 14 21:07:38 8f00bb9 balena-supervisor[1867]: [info]    New device detected. Provisioning...
Jun 14 21:07:39 8f00bb9 612c650f6ab4[1350]: [event]   Event: Device bootstrap failed, retrying {"delay":30000,"error":{"message":"Device holy-night is too old to satisfy required version range: &gt;=2.11.0","stack":"ApiError: Device holy-night is too old to satisfy required version range: &gt;=2.11.0\n    at Object.<anonymous> (/usr/src/app/dist/app.js:10:452890)\n    at Generator.next (<anonymous>)\n    at fulfilled (/usr/src/app/dist/app.js:10:1915792)\n    at processTicksAndRejections (internal/process/task_queues.js:97:5)"}}
Jun 14 21:07:39 8f00bb9 balena-supervisor[1867]: [event]   Event: Device bootstrap failed, retrying {"delay":30000,"error":{"message":"Device holy-night is too old to satisfy required version range: &gt;=2.11.0","stack":"ApiError: Device holy-night is too old to satisfy required version range: &gt;=2.11.0\n    at Object.<anonymous> (/usr/src/app/dist/app.js:10:452890)\n    at Generator.next (<anonymous>)\n    at fulfilled (/usr/src/app/dist/app.js:10:1915792)\n    at processTicksAndRejections (internal/process/task_queues.js:97:5)"}}

What is this version? 2.11.0?

Yocto version is:

root@8f00bb9:~# uname -a
Linux 8f00bb9 5.4.83-v8 #1 SMP PREEMPT Mon Dec 14 12:43:54 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux

Thanks!

1 Like

Any update here? Not sure what 2.11.0 does mean?

1 Like

I’m in the same situation. Device does not get registered to openBalena instance. Watching the journal of balena-supervisor, it prints

Device <name> is too old to satisfy required version range: &gt;=2.11.0

every 30 seconds, with a new name each time.

Hi, we are still investigating this problem. For the mean time, we have created this Github issue to track it: API returns "Device is too old to satisfy required version range" · Issue #696 · balena-io/open-balena-api · GitHub

Hi Andrea,

This has been reportedly solved on version 3.4.0 of OpenBalena as you can see here BalenaOS 2.80.3+rev1 / Supervisor v12.7.0 is not able to provision · Issue #120 · balena-io/open-balena · GitHub

Could you give that a try and tells us if that fixes the problem for you?

Thank you

Hi @pipex,
Thank you for the update, I’m trying to update open-balena today if I have time.
I’ll post updates as soon as possible.

Alright, after updating open-balena I confirm the registration works flawlessly using a Raspberry Pi3 (64bit) and BalenaOS 2.80.3+rev1 (Supervisor v12.7.0).

Thanks again!