luci: luci-app-opkg: PermissionError after upgrading from git-24.148.43905-2891ca4 to git-24.299.75545-b93fdef version

Is there an existing issue for this?

  • I have searched the existing issues

screenshots or captures

No response

Actual behaviour

In System > Software menu. Click on the “Update Lists…” button.

I get the message “Unable to execute opkg update command: PermissionError: Access to command denied by ACL”.

Expected behaviour

LuCI should run “opkg update” successfully.

Steps to reproduce

Upgrade luci-app-opkg from git-24.148.43905-2891ca4 to git-24.299.75545-b93fdef version.

Go to System > Software menu. Click on the “Update Lists…” button.

Additional Information

NAME="OpenWrt"
VERSION="23.05.5"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt 23.05.5"
VERSION_ID="23.05.5"
HOME_URL="https://openwrt.org/"
BUG_URL="https://bugs.openwrt.org/"
SUPPORT_URL="https://forum.openwrt.org/"
BUILD_ID="r24106-10cc5fcd00"
OPENWRT_BOARD="ath79/generic"
OPENWRT_ARCH="mips_24kc"
OPENWRT_TAINTS=""
OPENWRT_DEVICE_MANUFACTURER="OpenWrt"
OPENWRT_DEVICE_MANUFACTURER_URL="https://openwrt.org/"
OPENWRT_DEVICE_PRODUCT="Generic"
OPENWRT_DEVICE_REVISION="v0"
OPENWRT_RELEASE="OpenWrt 23.05.5 r24106-10cc5fcd00"

What browsers do you see the problem on?

Firefox

Relevant log output

Unable to execute opkg update command: PermissionError: Access to command denied by ACL

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 31 (20 by maintainers)

Most upvoted comments

I just downloaded and installed the generic older version still available in the repo here via SSH:

wget https://downloads.openwrt.org/releases/packages-23.05/aarch64_generic/luci/luci-app-opkg_git-24.148.43905-2891ca4_all.ipk to download the latest working version of the package, it might be different for your router, check carefully.

opkg remove luci-app-opkg --force-depends to force uninstall the current, broken version of the package.

opkg install luci-app-opkg_git-24.148.43905-2891ca4_all.ipk to install the working version from right before.

Et voila, it works again. If there’s a better way, please do tell.

Clearing the browser cache will fix it.

I got the same issue, clearing the cache or accessing LuCi in the private window helps.

I am getting the same issue: Unable to execute opkg update command: PermissionError: Access to command denied by ACL

I can confirm that the update is faulty. Not running out of cache or anything like that. Rebooting does not fix the issue. I cannot update my list any more via Luci after the update. I am on OpenWrt 23.05.5 r24106-10cc5fcd00 / LuCI openwrt-23.05 branch git-24.264.56413-c7a3562, router is AX3000T.

Okay, yes, that worked. 🙈

Yeah clear the browser cache. Delete all the cache for that router and reload. See whether that helps.