# Beta testers: resinOS 1.x to 2.x updates

**URL:** <https://forums.balena.io/t/beta-testers-resinos-1-x-to-2-x-updates/1518>\
**Category:** Product support\
**Tags:** resinhup\
**Created:** [July 25, 2017, 12:29pm UTC](https://forums.balena.io/t/beta-testers-resinos-1-x-to-2-x-updates/1518 "2017-07-25T12:29:04Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![imrehg](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/imrehg/32/36_2.png) [@imrehg](https://forums.balena.io/u/imrehg)\
**Post date:** [July 25, 2017, 12:29pm UTC](https://forums.balena.io/t/beta-testers-resinos-1-x-to-2-x-updates/1518/1 "2017-07-25T12:29:04Z")

</div>

Hi everyone! 🎺

We are preparing to roll out resinOS 1.x to 2.x updates for resin.io-managed devices. Here’s the previous update regarding the [availability of resinOS 2.0](https://forums.balena.io/t/resinos-2-0-released-in-production/797), which includes a number of big changes between 1.x and 2.x version of resinOS, including using AUFS for data storage instead of BTRFS and switching the network controller from Connman to NetworkManager. These migrations on live devices can be hairy, so we are doing as much testing as possible.

**If you are interested in living on the edge, you can be a beta tester for 1.x-\>2.x updates!**

These are the current preconditions:

- you have some Raspberry Pi or BeagleBone devices
- you don’t have too much data stored in your `/data` parition (and nothing that you are afraid to lose)
- regular (ie. not exotic) network connections (Ethernet, or Wifi with SSID/Password).
- (optional but recommended) have tried your application with another device that is running resinOS 2.x, so you know your application is compatible with the new host OS version

If it sounds good, let us know, and we’d love to have a chance to update your device! We have tested it extensively ourselves, but please note, that there _is_ some chance of losing the device, however small. ⚠

At this stage, the updates would be run by our support team, and when we the code has sufficient milage, it will be added to the dashboard as a self-service update option (as is the case for 1.x-\>1.x updates at the moment, many thanks for the [testers of that update](https://forums.balena.io/t/beta-testers-remote-host-os-updates/483)!).

---

<div class="post-metadata">

**Author:** ![fokko](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/fokko/32/322_2.png) [@fokko](https://forums.balena.io/u/fokko)\
**Post date:** [July 28, 2017, 10:30am UTC](https://forums.balena.io/t/beta-testers-resinos-1-x-to-2-x-updates/1518/2 "2017-07-28T10:30:21Z")

</div>

Hi Gergely,

Let me setup a Beaglebone again with our application on it. PM me 🙂

Gr.  
Fokko

---

<div class="post-metadata">

**Author:** ![imrehg](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/imrehg/32/36_2.png) [@imrehg](https://forums.balena.io/u/imrehg)\
**Post date:** [July 28, 2017, 6:41pm UTC](https://forums.balena.io/t/beta-testers-resinos-1-x-to-2-x-updates/1518/3 "2017-07-28T18:41:38Z")

</div>

Message sent, cheers!

---

<div class="post-metadata">

**Author:** ![kipe](https://avatars.discourse-cdn.com/v4/letter/k/df705f/32.png) [@kipe](https://forums.balena.io/u/kipe)\
**Post date:** [July 31, 2017, 5:43pm UTC](https://forums.balena.io/t/beta-testers-resinos-1-x-to-2-x-updates/1518/4 "2017-07-31T17:43:24Z")

</div>

@imrehg just updated three devices for me, running two different applications.

First two were running a fairly simple software which reads data via USB-adapter either from RS422 or RS485. It then relays the messages to our server via MQTT.  
The first device was connected via ethernet and everything went just as expected. The update didn’t take long and the device was working fine after the update.

The second device proved to be a bit more problematic, as it was connected via wifi. Furthermore the connection credentials weren’t inserted when downloading the OS image through [resin.io](http://resin.io). If they were, the update should have worked fine and the credentials would have been copied also.  
Instead the device used the same method for configuring the wifi as `resin-wifi-connect` uses. This involves storing the credentials to `/data/network.config` and copying them to Connman -path during the start of the application.  
This lead to the situation that I needed to plug the device in with ethernet and reconfigure the wifi, as the credentials were lost. This was something I was prepared though.

The third device was running a different application, my personal home automation. This was very old (resinOS 1.2.1), and required running the update in two parts. The first was bumping to 1.26 and from there to 2.0.8.  
The update once again went fine, and everything including UART and bluetooth are working fine.

All-in-all, after the updates were run, everything is working fine 🙂 Big thanks to @imrehg for running the updates!

---

<div class="post-metadata">

**Author:** ![sheng](https://avatars.discourse-cdn.com/v4/letter/s/839c29/32.png) [@sheng](https://forums.balena.io/u/sheng)\
**Post date:** [August 9, 2017, 6:17pm UTC](https://forums.balena.io/t/beta-testers-resinos-1-x-to-2-x-updates/1518/5 "2017-08-09T18:17:31Z")

</div>

Hi imrehg -

We’re interested in remotely upgrading 7 of our devices from 2.0.0 to 2.2.0, to test a possibly much larger remote upgrade. My colleague Daniel already tried this with one device and we’d like to run it on a slightly bigger test set!

Thanks,  
Sheng

---

<div class="post-metadata">

**Author:** ![imrehg](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/imrehg/32/36_2.png) [@imrehg](https://forums.balena.io/u/imrehg)\
**Post date:** [August 9, 2017, 8:25pm UTC](https://forums.balena.io/t/beta-testers-resinos-1-x-to-2-x-updates/1518/6 "2017-08-09T20:25:52Z")

</div>

Hi @sheng, sounds good! Can you send me the list of devices you’d like to update in a private message? Thanks! 🙂

---

<div class="post-metadata">

**Author:** ![sheng](https://avatars.discourse-cdn.com/v4/letter/s/839c29/32.png) [@sheng](https://forums.balena.io/u/sheng)\
**Post date:** [August 9, 2017, 11:27pm UTC](https://forums.balena.io/t/beta-testers-resinos-1-x-to-2-x-updates/1518/7 "2017-08-09T23:27:56Z")

</div>

Awesome. I emailed you at your [imreh.net](http://imreh.net) address since it doesn’t look I’m allowed to private message people on these forums yet.

---

<div class="post-metadata">

**Author:** ![imrehg](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/imrehg/32/36_2.png) [@imrehg](https://forums.balena.io/u/imrehg)\
**Post date:** [August 10, 2017, 9:05pm UTC](https://forums.balena.io/t/beta-testers-resinos-1-x-to-2-x-updates/1518/8 "2017-08-10T21:05:20Z")

</div>

Hi @sheng, thanks, got it! Those devices were actually on resinOS 2.x already and needed updates to the latest 2.x version, so I guess the relevant thread for the conversation is [Beta testers: resinOS 2.x updates!](https://forums.balena.io/t/beta-testers-resinos-2-x-updates/1551) 🙂 Wrote back to you, and thanks a lot for volunteering, really appreciate it! 🎈

---

<div class="post-metadata">

**Author:** ![FransvanHoogstraten](https://avatars.discourse-cdn.com/v4/letter/f/85e7bf/32.png) [@FransvanHoogstraten](https://forums.balena.io/u/FransvanHoogstraten)\
**Post date:** [September 30, 2017, 9:10pm UTC](https://forums.balena.io/t/beta-testers-resinos-1-x-to-2-x-updates/1518/9 "2017-09-30T21:10:33Z")

</div>

Hi @imrehg, I have a few device we could update!

All of them are 1.26 devices, which I would like to get to 2.x

Let me know if you still need beta testers.

---

<div class="post-metadata">

**Author:** ![imrehg](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/imrehg/32/36_2.png) [@imrehg](https://forums.balena.io/u/imrehg)\
**Post date:** [October 1, 2017, 6:42pm UTC](https://forums.balena.io/t/beta-testers-resinos-1-x-to-2-x-updates/1518/10 "2017-10-01T18:42:43Z")

</div>

Hey, yes, would be cool to do that! Can you send me a PM here with the details of your devices, and we can take it from there. How’s that? 🙂

---

<div class="post-metadata">

**Author:** ![steptimeeditor](https://avatars.discourse-cdn.com/v4/letter/s/d2c977/32.png) [@steptimeeditor](https://forums.balena.io/u/steptimeeditor)\
**Post date:** [October 5, 2017, 6:39pm UTC](https://forums.balena.io/t/beta-testers-resinos-1-x-to-2-x-updates/1518/11 "2017-10-05T18:39:45Z")

</div>

I’d love to become a beta tester! I’m consistently repurposing my army of Raspberry Pi’s 😄

---

<div class="post-metadata">

**Author:** ![imrehg](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/imrehg/32/36_2.png) [@imrehg](https://forums.balena.io/u/imrehg)\
**Post date:** [October 5, 2017, 7:02pm UTC](https://forums.balena.io/t/beta-testers-resinos-1-x-to-2-x-updates/1518/12 "2017-10-05T19:02:46Z")

</div>

Sounds good, sent you a private message!

---

<div class="post-metadata">

**Author:** ![eblex](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/eblex/32/802_2.png) [@eblex](https://forums.balena.io/u/eblex)\
**Post date:** [October 31, 2017, 12:47pm UTC](https://forums.balena.io/t/beta-testers-resinos-1-x-to-2-x-updates/1518/13 "2017-10-31T12:47:28Z")

</div>

Running updates on 100+ RPi devices now, so far so good, only comment would be that OS version doesn’t update in realtime in Resin Dashboard so it’s a little tricky to keep track of which ones have been updated

Can we maybe use the CLI to run updates?

---

<div class="post-metadata">

**Author:** ![imrehg](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/imrehg/32/36_2.png) [@imrehg](https://forums.balena.io/u/imrehg)\
**Post date:** [October 31, 2017, 12:51pm UTC](https://forums.balena.io/t/beta-testers-resinos-1-x-to-2-x-updates/1518/14 "2017-10-31T12:51:27Z")

</div>

Hi @eblex the dashboard lag should be pretty short, what part does not update for you? Just to see if we’ve overlooked something.

Using the CLI to run the updates is in the works, should be soon! And thanks checking this out! Out of curiosity, what versions are you updating from in general?

---

<div class="post-metadata">

**Author:** ![eblex](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/eblex/32/802_2.png) [@eblex](https://forums.balena.io/u/eblex)\
**Post date:** [October 31, 2017, 12:52pm UTC](https://forums.balena.io/t/beta-testers-resinos-1-x-to-2-x-updates/1518/15 "2017-10-31T12:52:57Z")

</div>

Sounds like I’ve run into an issue then, I’m seeing 30mins+ lag  
The update runs, Dashboard says successful “close”, I go back to summary and I see the device rebooting, it comes back with old OS version in both devices list and device summary

---

<div class="post-metadata">

**Author:** ![eblex](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/eblex/32/802_2.png) [@eblex](https://forums.balena.io/u/eblex)\
**Post date:** [October 31, 2017, 12:53pm UTC](https://forums.balena.io/t/beta-testers-resinos-1-x-to-2-x-updates/1518/16 "2017-10-31T12:53:40Z")

</div>

As for OS versions I’m doing quite a few, I have seen so far and updating 1.22, 1.6, 2.0, 2.2

---

<div class="post-metadata">

**Author:** ![imrehg](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/imrehg/32/36_2.png) [@imrehg](https://forums.balena.io/u/imrehg)\
**Post date:** [October 31, 2017, 12:56pm UTC](https://forums.balena.io/t/beta-testers-resinos-1-x-to-2-x-updates/1518/17 "2017-10-31T12:56:19Z")

</div>

I see, I think the point there is that if you are running 1.x-\>2.x updates, the device will necessarily come online with _no_ docker images (including supervisor). Thus when it first starts, it has to download the supervisor, which will report back the new version when it starts to run (and start to redownload the user container). There it can be a lag depending on how long the supervisor download takes. That’s a limitation of the current system. See more details in the “what happens in a resin host OS update” doc: [https://docs.resin.io/updates/update-process/](https://docs.resin.io/updates/update-process/)

For the 2.x-\>2.x updates there should not be any lag.

I see you mention 1.6 version, that should be outside of the self-service range, is that really the version you are doing? If so would be happy to run an update for you through our support.

---

<div class="post-metadata">

**Author:** ![eblex](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/eblex/32/802_2.png) [@eblex](https://forums.balena.io/u/eblex)\
**Post date:** [October 31, 2017, 12:59pm UTC](https://forums.balena.io/t/beta-testers-resinos-1-x-to-2-x-updates/1518/18 "2017-10-31T12:59:05Z")

</div>

Thank you for the explanation, that makes sense, all devices are on 3G connection so may take some time to download the supervisor, I’ll give them some time.

I indeed have a couple of old devices on 1.6, didn’t get around to update them yet but will ping you when I get to it

---

<div class="post-metadata">

**Author:** ![imrehg](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/imrehg/32/36_2.png) [@imrehg](https://forums.balena.io/u/imrehg)\
**Post date:** [October 31, 2017, 1:01pm UTC](https://forums.balena.io/t/beta-testers-resinos-1-x-to-2-x-updates/1518/19 "2017-10-31T13:01:18Z")

</div>

Sounds perfect!  
For the update, fortunately the supervisor is actually smaller than was before, so the download should be generally faster. And we are working delta updates for both the OS and the supervisor, which will be great for exactly the slow networks like you have. These few updates though will have to happen like the way they happen now, though, but we are always looking at things to improve/speed up/shrink…
