#8882·luci

luci-app-adblock-fast: "Automatic List Update" schedule cannot be saved correctly in LuCI

Author: Ser9eiCreated Jul 27, 2026Updated Sep 28, 2026

Is there an existing issue for this?

  • I have searched among all existing issues (including closed issues)

screenshots or captures

Changing the "Automatic List Update" value in LuCI (luci-app-adblock-fast) does not work as expected. After pressing "Save & Apply", LuCI reports:

Failed to update cron schedule.

I verified that the backend syncCron() implementation works when called manually:

ubus call luci.adblock-fast syncCron '{"name":"adblock-fast","action":"enable","auto_update_enabled":"1","auto_update_mode":"daily","auto_update_hour":"4","auto_update_minute":"0"}'

It correctly creates:

0 4 * * * /etc/init.d/adblock-fast dl # adblock-fast-auto

The problem seems to be in the LuCI frontend handling of virtual form fields ("auto_update_*"). They are populated from cron via "cfgvalue", but their values are not preserved/available during "handleSaveApply" "collectSchedule" after form submission.

Actual behaviour

After pressing "Save & Apply", LuCI reports:

Failed to update cron schedule.

Expected behaviour

record in the '/etc/crontabs/root' 0 4 * * * /etc/init.d/adblock-fast dl # adblock-fast-auto

Steps to reproduce

  • changing the "Automatic List Update" value in LuCI (luci-app-adblock-fast).
  • press the "Save & Apply".

Additional Information

bash
{
        "kernel": "6.12.94",
        "hostname": "OpenWrt",
        "system": "ARMv8 Processor rev 4",
        "model": "Xiaomi Mi Router AX3000T",
        "board_name": "xiaomi,mi-router-ax3000t",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "25.12.5",
                "firmware_url": "https://downloads.openwrt.org/",
                "revision": "r33051-f5dae5ece4",
                "target": "mediatek/filogic",
                "description": "OpenWrt 25.12.5 r33051-f5dae5ece4",
                "builddate": "1782737960"
        }
}

What browsers do you see the problem on?

No response

Relevant log output

bash

@stangri Could you please take a look at this issue?