I tried again to install the packages one by one. This time the configuration error is reported for ddny-scripts (not like in my last post for Configuring ddns-scripts_no-ip_com.):
root@LEDE:~# opkg install ddns-scripts
Installing ddns-scripts (2.7.6-13) to root...
Downloading http://downloads.lede-project.org/releases/17.01.4/packages/mips_24kc/packages/ddns-scripts_2.7.6-13_all.ipk
Configuring ddns-scripts.
uci: Parse error (invalid command) at line 37, byte 0
131435 WARN : Service section disabled! - TERMINATE
131435 WARN : Service section disabled! - TERMINATE
Anyone?
Edit: noticed, that luci-app-ddns seems to have some problem as well:
Installing luci-app-ddns (2.4.8-3) to root...
153547 WARN : Service section disabled! - TERMINATE
153547 WARN : Service section disabled! - TERMINATE
Downloading http://downloads.lede-project.org/releases/17.01.4/packages/mips_24kc/luci/luci-app-ddns_2.4.8-3_all.ipk
Installing ddns-scripts (2.7.6-13) to root...
Downloading http://downloads.lede-project.org/releases/17.01.4/packages/mips_24kc/packages/ddns-scripts_2.7.6-13_all.ipk
Configuring ddns-scripts.
Configuring luci-app-ddns.
I don't think this is really a 'problem' per se. The parse error provides the detail that the service section is disabled and that it is terminating the process. This is probably because the scripts install along with a default (disabled) configuration. You need to go in and edit the config file to have a valid and enabled account. You can do this via text editors or UCI, or via LuCI with luci-app-ddns (services > dynamic dns).
Thx @psherman but when I want to provide the settings for a no-ip.com account LuCI says:
/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute cbi dispatcher target for entry '/admin/services/ddns/detail/myddns_ipv4'.
The called action terminated with an exception:
/usr/lib/lua/luci/model/cbi/ddns/detail.lua:108: attempt to concatenate local '_arg' (a nil value)
stack traceback:
[C]: in function 'assert'
/usr/lib/lua/luci/dispatcher.lua:460: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:141: in function </usr/lib/lua/luci/dispatcher.lua:140>
Okay, I've tried again and provided/selected the following settings for a no-ip.com account copy-pasting from a plaintext editor:
Lookup Hostname: MySubdomain.ddns.net
IP address version: IPv4-Address
DDNS Service provider [IPv4]: no-ip.com
Domain: MySubdomain.ddns.net
Username: MyNoIPAccount
Password: MyNoIPAccountPassword (something like bc9d0faad5a84989a896aj72da2f4763)
...and still get the error (my current ISP router uses the credentials without problems).
But honestly I don't understand the "Lookup Hostname" field. I don't get what https://wiki.openwrt.org/doc/howto/ddns.client wants me to provide here. Chapter "Configuration" -> "Basics" says:
Host/Domain: your FQDN you want to update (used by ddns-scripts using nslookup to check if update has happen)
and
Lookup Host: ONE of your defined FQDN you want to update (used by ddns-scripts using nslookup to check if update has happen)
The example text in LuCI (myhost.example.com) suggests (in my perspective) to provide the dynamic DNS domain here, so MySubdomain.ddns.net. Is this right? Doesn't make sense somehow.
Now LuCI lists a working setup (means the listed IP is correct).
If I may ask: According to...
ddns-scripts are designed to update one host per configuration/section. To update multiple hosts or providers or IPv4 and IPv6 for the same host you need to define separate configurations/sections.
...I have to provide a whole configuration block if I want to update a second subdomain of the same NoIP account? Like this?
Glad it is working. And yes, it is another config service block in the file to add a second domain name, including, if desired, additional services (say no-ip.com, changeip.com, etc.).
LuCI doesn't like characters like a regular dash (-), but is okay with underscores (_)... that is one possible reason you were having issues before. But now that it is working, you should be good.
hmmm... not sure what would have cause the problem. But both the no-ip.com based ddns is working and the luci-app-ddns front end is functioning properly, right?
Maybe I did some mistake I didn't recognize after some hours configuring OpenWRT... let's see if someone else stumbles about this problem. If it was just me it was my mistake.
Do you know what your file looked like before you did the command line adjustments?
I was to curious to reproduce the problem. I've reset the settings of /etc/config/ddns to default and provided the settings as mentioned. Same error (/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute cbi dispatcher target for entry ...).
It's odd... On a spare router, I tried installing the same stuff and I have no such issues. I get the same warning on installation (which makes sense), but I am not getting the LuCI based errors that you're seeing after installation, despite using default config file (which was identical except for one line relative to your last post), and even copy/pasting the config you posted. I can't explain why you are seeing those errors. Maybe someone else can figure it out.