We have upgraded the community system as part of the upgrade a password reset is required for all users before login in.

Omega2 can't unmount disks during oupgrade

  • The terminal is frozen and I have no idea what to do. This is my first time using the Omega2. Here's my error output:

    root@Omega-A0C9:~# oupgrade
    > Device Firmware Version: 0.1.10 b160
    > Checking latest version online...
    > Repo Firmware Version: 0.3.2 b233
    > Comparing version numbers
    > New firmware version available, need to upgrade device firmware
    > Downloading new firmware ...
    /usr/bin/oupgrade: local: line 377: not in a function
    --2020-05-28 17:11:26--  http://repo.onioniot.com/omega2/images/omega2-v0.3.2-b233.bin
    Resolving repo.onioniot.com...
    Connecting to repo.onioniot.com||:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 9699493 (9.2M) [application/octet-stream]
    Saving to: '/tmp/omega2-v0.3.2-b233.bin'
    /tmp/omega2-v0.3.2-b23 100%[===========================>]   9.25M   589KB/s    in 36s     
    2020-05-28 17:12:03 (260 KB/s) - '/tmp/omega2-v0.3.2-b233.bin' saved [9699493/9699493]
    > Starting firmware upgrade....
    Saving config files...
    killall: watchdog: no process killed
    Sending TERM to remaining processes ... uhttpd device-client onion-helper udhcpc avahi-daemon mountd udhcpc ntpd dnsmasq oupgrade Terminated
    root@Omega-A0C9:~# ubusd askfirst logd rpcd netifd odhcpd 
    Sending KILL to remaining processes ... askfirst 
    Switching to ramdisk...
    mount: mounting /dev/mtdblock6 on /overlay failed: Resource busy
    Performing system upgrade...
    Unlocking firmware ...
    Writing from <stdin> to firmware ...     
    Appending jffs2 data from /tmp/sysupgrade.tgz to firmware..
    Writing from <stdin> to firmware ...     
    Upgrade completed
    Rebooting system...
    umount: can't unmount /dev/pts: Resource busy
    umount: can't unmount /dev: Resource busy

  • @adamc reboot the device, reconnect to the terminal and type oupgrade.

Log in to reply

Looks like your connection to Community was lost, please wait while we try to reconnect.