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

Error trying to update Omega2 to latest software! [Resolved]

  • We're just attempting to install the latest (-l) software package.
    The update went fine, but deleted all of the additional files from the Onion.
    Now we're trying to re-install PHP 7, but getting errors from the install:

    *root@Omega-DDE9:~# opkg install php7
    Package php7 (7.2.16-1) installed in root is up to date.
    root@Omega-DDE9:~# opkg install php7-cli
    Unknown package 'php7-cli'.
    Collected errors:
    *opkg_install_cmd: Cannot install package php7-cli.

    Not sure how to proceed, or where to find the php7-cli package!

    Any ideas?


  • @Orrin-Charm
    Check which repo's you have enabled: How to Switch Back to the Official LEDE Package Repos

    The update may have switched you back to using the Onion repo's only. Remember to reboot and opkg update if you change your distfeeds.conf file.

  • @Orrin-Charm Presumably you have just installed the v0.3.2 b222 firmware.
    Please enable / uncomment the fifth (5th) line in the '/etc/opkg/distfeeds.conf' file.

    # Omega2+ FW v0.3.2 b222
    root@Omega-5BE1:/# cat /etc/opkg/distfeeds.conf
    #src/gz openwrt_core http://downloads.openwrt.org/releases/18.06-SNAPSHOT/targets/ramips/mt76x8/packages
    #src/gz openwrt_base http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/base
    #src/gz openwrt_luci http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/luci
    #src/gz openwrt_onion http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/onion
    src/gz openwrt_packages http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/packages
    #src/gz openwrt_routing http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/routing
    #src/gz openwrt_telephony http://downloads.openwrt.org/releases/18.06-SNAPSHOT/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-5BE1:/# opkg update
    root@Omega-5BE1:/# opkg list | grep -i php7-cli
    php7-cli - 7.2.16-1 - PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. This package contains the CLI version of the PHP7 interpreter.

    Good luck!

  • @György-Farkas Thanks! That fixed it!!

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