Skip to content
Contents
GuidesOpenWrt

Saving a disabled FRPS instance in LuCI fails with uci/delete code 4

When disabling FRPS returns uci/delete code 4, check whether the optional setting was already absent or the entire configuration section is missing.

Applies to · OpenWrt 24.10.0 · x86/64 QEMU · luci-app-frps

What to check

Remove an optional field in the copy; observe via developer tools whether a save request triggers two deletions.

Connect over Ethernet and run the following commands in an SSH session on the router.

uci changes frps
/etc/init.d/frps status

How to interpret the result

When browsing a request, examine the config, section, and option fields, then check the UCI pending changes. If a section exists but its options are missing, retain the entire section. If the section name does not match, reload the form and verify the instance being edited.

Verify and recover

Save once and reopen the form. Check both the stored switch state and whether the service listens as intended. Restore the test field rather than deleting the entire instance.

Related guide · Identify a new device from OpenWrt lease and access logs

Explore hardware

Comments