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

oupgrade returns "Failed to parse message data" even after updating via opkg



  • I can confirm my Onion Omega2+ is connected to the internet via Wi-Fi.

    Running opkg update seems to succeed:

    root@Omega-780B:/# opkg update
    Downloading http://repo.onioniot.com/omega2/packages/core/Packages.gz
    Updated list of available packages in /var/opkg-lists/omega2_core
    Downloading http://repo.onioniot.com/omega2/packages/core/Packages.sig
    Signature check passed.
    Downloading http://repo.onioniot.com/omega2/packages/base/Packages.gz
    Updated list of available packages in /var/opkg-lists/omega2_base
    Downloading http://repo.onioniot.com/omega2/packages/base/Packages.sig
    Signature check passed.
    Downloading http://repo.onioniot.com/omega2/packages/packages/Packages.gz
    Updated list of available packages in /var/opkg-lists/omega2_packages
    Downloading http://repo.onioniot.com/omega2/packages/packages/Packages.sig
    Signature check passed.
    Downloading http://repo.onioniot.com/omega2/packages/routing/Packages.gz
    Updated list of available packages in /var/opkg-lists/omega2_routing
    Downloading http://repo.onioniot.com/omega2/packages/routing/Packages.sig
    Signature check passed.
    Downloading http://repo.onioniot.com/omega2/packages/onion/Packages.gz
    Updated list of available packages in /var/opkg-lists/omega2_onion
    Downloading http://repo.onioniot.com/omega2/packages/onion/Packages.sig
    Signature check passed.
    

    However, even after running opkg upgrade oupgrade, oupgrade still fails:

    root@Omega-780B:/# oupgrade -c
    Failed to parse message data
    
    root@Omega-780B:/# oupgrade
    Failed to parse message data
    Failed to parse message data
    WARNING: Variable 'image' does not exist or is not an array/object
    WARNING: Variable 'repo' does not exist or is not an array/object
    > Downloading new firmware ...
    Downloading ''
    Failed to allocate uclient context
    Downloading ''
    Failed to allocate uclient context
    Downloading ''
    Failed to allocate uclient context
    Downloading ''
    Failed to allocate uclient context
    Downloading ''
    Failed to allocate uclient context
    Downloading ''
    Failed to allocate uclient context
    Downloading ''
    Failed to allocate uclient context
    Downloading ''
    Failed to allocate uclient context
    Downloading ''
    Failed to allocate uclient context
    Downloading ''
    Failed to allocate uclient context
    Downloading ''
    Failed to allocate uclient context
    Downloading ''
    Failed to allocate uclient context
    > ERROR: Downloading firmware has failed! Try again!
    

    Any advice as to how to proceed?



  • @bzhu95 please post the output of the commands:

    uci show | grep opkg



  • I am having a similar issue. I rebuild devices fairly regularly and have never had issues, but it's been a while since I've rebuilt one. As of today, I am seeing the following when trying to oupgrade which is something I haven't seen before:

    root@Omega-69A1:/# oupgrade -c
    Failed to parse message data
    

    When I try to go to latest:

    root@Omega-69A1:/# oupgrade --latest
    Failed to parse message data
    Failed to parse message data
    WARNING: Variable 'image' does not exist or is not an array/object
    WARNING: Variable 'repo' does not exist or is not an array/object
    > Downloading new firmware ...
    /tmp/: Is a directory
    /tmp/: Is a directory
    /tmp/: Is a directory
    /tmp/: Is a directory
    /tmp/: Is a directory
    /tmp/: Is a directory
    /tmp/: Is a directory
    /tmp/: Is a directory
    /tmp/: Is a directory
    /tmp/: Is a directory
    /tmp/: Is a directory
    /tmp/: Is a directory
    > ERROR: Downloading firmware has failed! Try again!
    

    Not sure if this is related?


  • administrators

    @carfarmer seems to be a similar issue, but I'm not able to reproduce it.

    We'll need some more info to troubleshoot this, can you post the output of:

    • uci show onion
    • ubus call system board
    • opkg list-installed | grep oupgrade


  • Of course now it is working fine today and I can't reproduce the issue. I rebuild fairly often, so if I encounter the error again I will post the info you requested. Thanks!


Log in to reply
 

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