From 915ce641f4feb8b9a09db4809cfa2706400d2325 Mon Sep 17 00:00:00 2001 From: CyberMind-FR Date: Fri, 26 Dec 2025 17:09:09 +0100 Subject: [PATCH] fix: system-hub get_components - Use correct ubus method names MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixed get_components() to call luci.secubox 'modules' instead of 'get_modules' Fixed get_components_by_category() to call 'modules_by_category' instead of 'get_modules_by_category' This resolves the "No related RPC reply" error in System Hub overview. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- luci-app-system-hub/root/usr/libexec/rpcd/luci.system-hub | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/luci-app-system-hub/root/usr/libexec/rpcd/luci.system-hub b/luci-app-system-hub/root/usr/libexec/rpcd/luci.system-hub index 1f88011f..987b7ca2 100755 --- a/luci-app-system-hub/root/usr/libexec/rpcd/luci.system-hub +++ b/luci-app-system-hub/root/usr/libexec/rpcd/luci.system-hub @@ -656,7 +656,7 @@ save_settings() { # Get components (leverages secubox module detection) get_components() { # Call secubox backend to get modules, which are the system components - local result=$(ubus call luci.secubox get_modules 2>/dev/null) + local result=$(ubus call luci.secubox modules 2>/dev/null) if [ -n "$result" ]; then # Pass through the secubox modules as components @@ -681,7 +681,7 @@ get_components_by_category() { json_cleanup # Call secubox backend with category filter - local result=$(ubus call luci.secubox get_modules_by_category "{\"category\":\"$category\"}" 2>/dev/null) + local result=$(ubus call luci.secubox modules_by_category "{\"category\":\"$category\"}" 2>/dev/null) if [ -n "$result" ]; then echo "$result"