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

Official OpenWRT Package Repos are no longer valid



  • Hello everyone,
    As per the documentation, https://docs.onion.io/omega2-docs/using-opkg.html#using-opkg-switch-to-lede-repos

    Uncommenting official openwrt 18.06 packages repos doesn't seem to work anymore , if anyone can check whether same thing is happening with their Omega too.

    When i look for valid packages in browser for http://downloads.openwrt.org/releases/18.06-SNAPSHOT/targets/ramips/mt76x8/packages/Packages.g , following response is observed

    404 Not Found
    nginx/1.14.2
    

    On running opkg update i get following output.

     opkg update
    Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/targets/ramips/                                                                          mt76x8/packages/Packages.gz
    *** Failed to download the package list from http://downloads.openwrt.org/releas                                                                          es/18.06-SNAPSHOT/targets/ramips/mt76x8/packages/Packages.gz
    
    Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel                                                                          _24kc/base/Packages.gz
    *** Failed to download the package list from http://downloads.openwrt.org/releas                                                                          es/18.06-SNAPSHOT/packages/mipsel_24kc/base/Packages.gz
    
    Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel                                                                          _24kc/luci/Packages.gz
    *** Failed to download the package list from http://downloads.openwrt.org/releas                                                                          es/18.06-SNAPSHOT/packages/mipsel_24kc/luci/Packages.gz
    
    Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel                                                                          _24kc/onion/Packages.gz
    *** Failed to download the package list from http://downloads.openwrt.org/releas                                                                          es/18.06-SNAPSHOT/packages/mipsel_24kc/onion/Packages.gz
    
    Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel                                                                          _24kc/packages/Packages.gz
    *** Failed to download the package list from http://downloads.openwrt.org/releas                                                                          es/18.06-SNAPSHOT/packages/mipsel_24kc/packages/Packages.gz
    
    Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel                                                                          _24kc/routing/Packages.gz
    *** Failed to download the package list from http://downloads.openwrt.org/releas                                                                          es/18.06-SNAPSHOT/packages/mipsel_24kc/routing/Packages.gz
    
    Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel                                                                          _24kc/telephony/Packages.gz
    *** Failed to download the package list from http://downloads.openwrt.org/releas                                                                          es/18.06-SNAPSHOT/packages/mipsel_24kc/telephony/Packages.gz
    
    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.
    Collected errors:
     * opkg_download: Failed to download http://downloads.openwrt.org/releases/18.06-SNAPSHOT/targets/ramips/mt76x8/packages/Packages.gz, wget returned 8.
     * opkg_download: Failed to download http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/base/Packages.gz, wget returned 8.
     * opkg_download: Failed to download http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/luci/Packages.gz, wget returned 8.
     * opkg_download: Failed to download http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/onion/Packages.gz, wget returned 8.
     * opkg_download: Failed to download http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/packages/Packages.gz, wget returned 8.
     * opkg_download: Failed to download http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/routing/Packages.gz, wget returned 8.
     * opkg_download: Failed to download http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/telephony/Packages.gz, wget returned 8.
    
    

    Here's a workaround solution that worked for me, I changed the url from

     http://downloads.openwrt.org/releases/18.06-SNAPSHOT/targets/ramips/mt76x8/packages/Packages.gz                                                                                                                                                    
    

    to

    http://downloads.openwrt.org/releases/18.06.1/targets/ramips/mt76x8/packages/Packages.gz
    

    and got following output on running opkg update, not sure whether to stick on this version or another. @Lazar-Demin do suggest a suitable version.

     opkg update
    Downloading http://downloads.openwrt.org/releases/18.06.1/targets/ramips/mt76x8/packages/Packages.gz
    Updated list of available packages in /var/opkg-lists/openwrt_core
    Downloading http://downloads.openwrt.org/releases/18.06.1/targets/ramips/mt76x8/packages/Packages.sig
    Signature check passed.
    Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/base/Packages.gz
    Updated list of available packages in /var/opkg-lists/openwrt_base
    Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/base/Packages.sig
    Signature check passed.
    Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/luci/Packages.gz
    Updated list of available packages in /var/opkg-lists/openwrt_luci
    Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/luci/Packages.sig
    Signature check passed.
    Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/onion/Packages.gz
    *** Failed to download the package list from http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/onion/Packages.gz
    
    Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/packages/Packages.gz
    Updated list of available packages in /var/opkg-lists/openwrt_packages
    Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/packages/Packages.sig
    Signature check passed.
    Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/routing/Packages.gz
    Updated list of available packages in /var/opkg-lists/openwrt_routing
    Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/routing/Packages.sig
    Signature check passed.
    Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/telephony/Packages.gz
    Updated list of available packages in /var/opkg-lists/openwrt_telephony
    Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/telephony/Packages.sig
    Signature check passed.
    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.
    Collected errors:
     * opkg_download: Failed to download http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/onion/Packages.gz, wget returned 8.
    
    

  • administrators

    @akhileshthorat Thanks for bringing this to our attention.
    Not sure why OpenWRT would remove the 18.06-snapshot release from the downloads repo. Will look into this and post an update here.



  • @Lazar-Demin

    In continuation to above , I have observed one more change.

    As per the documentation https://docs.onion.io/omega2-docs/node-red-article.html#installing-node-packages-that-require-compilation

    Since the installation of additional packages requires un-commenting official openwrt repos/url. In our case the official repo url are no longer available

    the use of following command is gives unsupported npm url error

    root@Omega-99A0:~# node --max_old_space_size=512 $(which npm) install -g node-gy
    p
    npm ERR! code EUNSUPPORTEDPROTOCOL
    npm ERR! Unsupported URL Type "npm:": npm:string-width@^4.2.0
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /root/.npm/_logs/2023-06-15T13_06_53_622Z-debug.log
    root@Omega-99A0:~# ^C
    root@Omega-99A0:~# node --max_old_space_size=512 $(which npm) install -g node-gyp
    npm ERR! code EUNSUPPORTEDPROTOCOL
    npm ERR! Unsupported URL Type "npm:": npm:string-width@^4.2.0
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /root/.npm/_logs/2023-06-15T13_09_32_380Z-debug.log
    
    

    Not able to install node-gyp.

    I guess we will have to revisit all the documentation and check what processes are affected due to change of openwrt.



  • Hello @Lazar-Demin, is 18.06.01 suitable?


  • administrators

    @deicke Yes, 18.06.01 is the best one to use.
    The 18.06.01 release was made by OpenWRT on Aug 16, 2018. Onion forked the openwrt source in Nov 2018.

    We'll update the stable firmware this week to resolve this issue.

    EDIT June 28, 2023: We've pushed a fix for this, will post an update when the firmware has been built and deployed


  • administrators

    Firmware v0.3.4 b257 has a fix for the OpenWRT package repo URL and is now available!
    The opkg feeds now point to the OpenWRT 18.06.1 package repos. Keep in mind that you'll still need to follow the procedure from our documentation to enable the OpenWRT feeds

    @akhileshthorat please try it out and let me know how it goes. I believe it will fix both of the issues you identified.


    After uncommenting the OpenWRT package repos in /etc/opkg/distfeeds.conf, opkg update works as expected

    root@Omega-F195:/# cat /etc/opkg/distfeeds.conf
    src/gz openwrt_core http://downloads.openwrt.org/releases/18.06.1/targets/ramips/mt76x8/packages
    src/gz openwrt_base http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/base
    src/gz openwrt_luci http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/luci
    #src/gz openwrt_onion http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/onion
    src/gz openwrt_packages http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/packages
    src/gz openwrt_routing http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/routing
    src/gz openwrt_telephony http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/telephony
    src/gz omega2_core http://repo.onioniot.com/omega2/packages/core
    src/gz omega2_base http://repo.onioniot.com/omega2/packages/base
    src/gz omega2_packages http://repo.onioniot.com/omega2/packages/packages
    src/gz omega2_routing http://repo.onioniot.com/omega2/packages/routing
    src/gz omega2_onion http://repo.onioniot.com/omega2/packages/onion
    
    root@Omega-F195:/# opkg update
    Downloading http://downloads.openwrt.org/releases/18.06.1/targets/ramips/mt76x8/packages/Packages.gz
    Updated list of available packages in /var/opkg-lists/openwrt_core
    Downloading http://downloads.openwrt.org/releases/18.06.1/targets/ramips/mt76x8/packages/Packages.sig
    Signature check passed.
    Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/base/Packages.gz
    Updated list of available packages in /var/opkg-lists/openwrt_base
    Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/base/Packages.sig
    Signature check passed.
    Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/luci/Packages.gz
    Updated list of available packages in /var/opkg-lists/openwrt_luci
    Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/luci/Packages.sig
    Signature check passed.
    Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/packages/Packages.gz
    Updated list of available packages in /var/opkg-lists/openwrt_packages
    Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/packages/Packages.sig
    Signature check passed.
    Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/routing/Packages.gz
    Updated list of available packages in /var/opkg-lists/openwrt_routing
    Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/routing/Packages.sig
    Signature check passed.
    Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/telephony/Packages.gz
    Updated list of available packages in /var/opkg-lists/openwrt_telephony
    Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/telephony/Packages.sig
    Signature check passed.
    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.
    

    And installing packages from the OpenWRT repos works as well (the adblock package is not the the Onion package repo)

    root@Omega-F195:/# opkg install adblock
    Installing adblock (3.5.5-4) to root...
    Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/packages/adblock_3.5.5-4_all.ipk
    Configuring adblock.
    


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